Skip to content

(Mostly whitespace) cleanups in preparation for renaming the default main branch #784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

dscho
Copy link
Member

@dscho dscho commented Nov 8, 2020

This topic branch mostly brings whitespace fixes, so that the use-main-as-default-branch-name patch series will avoid being flagged by Git's new check-whitespace GitHub workflow.

dscho added 6 commits November 9, 2020 00:26
The message in question reads awkward with the name "master", but will
be even more confusing once that is renamed to "main". Let's adjust it
in advance of said rename.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In b6211b8 (tests: avoid variations of the `master` branch name,
2020-09-26), the `master[123]` branch names were renamed to
`topic_[123]`. A non-literal mention of the corresponding files was
missed in that commit.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This patch actually prepares for the upcoming patches to replace
`master` with `main` in these tests: we do not want those changes to be
flagged by the new `check-whitespace` GitHub workflow (even if those
changes do not introduce the whitespace issues, they touch lines
affected by those issues without fixing them).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Two blocks in t5570 want to align the closing double quotes, padding
with spaces if needed. Since the maximum length of those lines is
defined by the branch name `master`, the upcoming rename to `main` would
unalign the quotes.

But then, it is unclear how those aligned closing quotes should help
readability anyway, so let's just remove that padding altogether.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This patch will let the new `check-whitespace` GitHub workflow be happy
with the upcoming patch series that wants to search-and-replace `master`
with `main` in t9603 and some other test scripts.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho mentioned this pull request Nov 8, 2020
19 tasks
@dscho
Copy link
Member Author

dscho commented Nov 9, 2020

/submit

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 9, 2020

Submitted as pull.784.git.1604880565.gitgitgadget@gmail.com

To fetch this version into FETCH_HEAD:

git fetch https://github.com/gitgitgadget/git pr-784/dscho/main-branch-preliminary-cleanups-v1

To fetch this version to local tag pr-784/dscho/main-branch-preliminary-cleanups-v1:

git fetch --no-tags https://github.com/gitgitgadget/git tag pr-784/dscho/main-branch-preliminary-cleanups-v1

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 9, 2020

This branch is now known as js/test-whitespace-fixes.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 9, 2020

This patch series was integrated into seen via git@6af4d89.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 9, 2020

This patch series was integrated into next via git@3833889.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 11, 2020

This patch series was integrated into seen via git@af80fbc.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 11, 2020

This patch series was integrated into seen via git@1e8ed50.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 11, 2020

This patch series was integrated into next via git@1e8ed50.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 11, 2020

This patch series was integrated into master via git@1e8ed50.

@gitgitgadget gitgitgadget bot added the master label Nov 11, 2020
@gitgitgadget gitgitgadget bot closed this Nov 11, 2020
@gitgitgadget
Copy link

gitgitgadget bot commented Nov 11, 2020

Closed via 1e8ed50.

@dscho dscho deleted the main-branch-preliminary-cleanups branch November 12, 2020 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant