-
Notifications
You must be signed in to change notification settings - Fork 140
Document that Unspecified options should initialize to -1 #238
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
base: master
Are you sure you want to change the base?
Conversation
@PhilipOakley I see you branched off of Git for Windows' git rebase -i --onto aa25c82427ae70aebf3b8f970f2afd54e9a2a8c6 da5a923050c541b9761dfbe32e5748e1af0ae02d |
Also, keep in mind that the PR description is used as cover letter; You might want to rephrase it a little, to motivate the readers of the Git mailing list to review your patch 😸 |
Or even better: git rebase -i --onto v2.21.0 HEAD~1 |
3ce7eb3
to
8d80b51
Compare
This documents previous folk wisdom as discussed in https://public-inbox.org/git/[email protected]/. Raised recently in gitgitgadget#201 and git-for-windows#237. Signed-off-by: Philip Oakley <[email protected]>
8d80b51
to
a360e02
Compare
various done-done things done. Hopefully complete. Not sure if/how the PR message is displayed/shown/edited (relative to the commit message) |
I updated the initial comment, should that be the PR message! |
Yes, indeed. I see that you never got the welcome message of GitGitGadget because you were allowed to use it before GitGitGadget was taught to greet new users. Here is an example: #229 (comment) Reading your initial comment, I wonder whether you would want to "de-GitHub-ify" it a bit more:
This cover letter talks about a PR (instead of a "patch series", but it would reach the mailing list as the latter rather than the former), it does not link to the "recent mail thread", and it does not really introduce the patch series. As a reader, I would be more compelled to review the patches if it read a bit more like: "Many of Git's command-line options with optional arguments are handled internally as |
updated the PR message and title (GitHub had lost the The commit message itself is quite short. |
Looks good to me! |
Many of Git's command-line options with optional arguments are handled internally as enum values, and most of them are initialized with the value -1.
This patch documents the -1 default for unspecified cli options as highlighted by Junio in a recent mail thread https://public-inbox.org/git/[email protected]/.
This resolves #237, suggested by #201 .