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
commit: restore --edit when combined with --fixup #1014
Conversation
Welcome to GitGitGadgetHi @thejk, and welcome to GitGitGadget, the GitHub App to send patch series to the Git mailing list from GitHub Pull Requests. Please make sure that your Pull Request has a good description, as it will be used as cover letter. Also, it is a good idea to review the commit messages one last time, as the Git project expects them in a quite specific form:
It is in general a good idea to await the automated test ("Checks") in this Pull Request before contributing the patches, e.g. to avoid trivial issues such as unportable code. Contributing the patchesBefore you can contribute the patches, your GitHub username needs to be added to the list of permitted users. Any already-permitted user can do that, by adding a comment to your PR of the form Both the person who commented An alternative is the channel
Once on the list of permitted usernames, you can contribute the patches to the Git mailing list by adding a PR comment If you want to see what email(s) would be sent for a After you submit, GitGitGadget will respond with another comment that contains the link to the cover letter mail in the Git mailing list archive. Please make sure to monitor the discussion in that thread and to address comments and suggestions (while the comments and suggestions will be mirrored into the PR by GitGitGadget, you will still want to reply via mail). If you do not want to subscribe to the Git mailing list just to be able to respond to a mail, you can download the mbox from the Git mailing list archive (click the curl -g --user "<EMailAddress>:<Password>" \
--url "imaps://imap.gmail.com/INBOX" -T /path/to/raw.txt To iterate on your change, i.e. send a revised patch or patch series, you will first want to (force-)push to the same branch. You probably also want to modify your Pull Request description (or title). It is a good idea to summarize the revision by adding something like this to the cover letter (read: by editing the first comment on the PR, i.e. the PR description):
To send a new iteration, just add another PR comment with the contents: Need help?New contributors who want advice are encouraged to join git-mentoring@googlegroups.com, where volunteers who regularly contribute to Git are willing to answer newbie questions, give advice, or otherwise provide mentoring to interested contributors. You must join in order to post or view messages, but anyone can join. You may also be able to find help in real time in the developer IRC channel, |
There is an issue in commit 6ad4b46: |
/allow |
User thejk is now allowed to use GitGitGadget. WARNING: thejk has no public email address set on GitHub |
/submit |
Submitted as pull.1014.git.1628689758413.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
On the Git mailing list, Jeff King wrote (reply to this):
|
User |
On the Git mailing list, "Joel Klinghed" wrote (reply to this):
|
On the Git mailing list, Jeff King wrote (reply to this):
|
On the Git mailing list, "brian m. carlson" wrote (reply to this):
|
User |
/submit |
Submitted as pull.1014.v2.git.1628725421868.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
On the Git mailing list, "Joel Klinghed" wrote (reply to this):
|
/submit |
Submitted as pull.1014.v3.git.1628755346354.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
On the Git mailing list, Phillip Wood wrote (reply to this):
|
User |
On the Git mailing list, "Joel Klinghed" wrote (reply to this):
|
/submit |
Submitted as pull.1014.v4.git.1628769334197.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
Recent changes to --fixup, adding amend suboption, caused the --edit flag to be ignored as use_editor was always set to zero. Restore edit_flag having higher priority than fixup_message when deciding the value of use_editor by moving the edit flag condition later in the method. Signed-off-by: Joel Klinghed <the_jk@spawned.biz>
On the Git mailing list, "Joel Klinghed" wrote (reply to this):
|
/submit |
Submitted as pull.1014.v5.git.1628977230247.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
This patch series was integrated into seen via git@0b2c664. |
This patch series was integrated into seen via git@40d8f88. |
This patch series was integrated into seen via git@3c28555. |
There was a status update in the "Cooking" section about the branch "git commit --fixup" now works with "--edit" again, after it was broken in v2.32. Will merge to 'next'? |
On the Git mailing list, Phillip Wood wrote (reply to this):
|
This patch series was integrated into seen via git@662d0f9. |
This patch series was integrated into seen via git@c07d7b3. |
There was a status update in the "Cooking" section about the branch "git commit --fixup" now works with "--edit" again, after it was broken in v2.32. Will merge to 'next'. |
This patch series was integrated into seen via git@3b799c3. |
There was a status update in the "Cooking" section about the branch "git commit --fixup" now works with "--edit" again, after it was broken in v2.32. Will merge to 'next'. |
This patch series was integrated into seen via git@15e1f0e. |
This patch series was integrated into next via git@0c62543. |
This patch series was integrated into seen via git@cc52b2b. |
There was a status update in the "Cooking" section about the branch "git commit --fixup" now works with "--edit" again, after it was broken in v2.32. Will merge to 'master'. |
This patch series was integrated into seen via git@9561a07. |
There was a status update in the "Cooking" section about the branch "git commit --fixup" now works with "--edit" again, after it was broken in v2.32. Will merge to 'master'. |
This patch series was integrated into seen via git@f68c532. |
There was a status update in the "Cooking" section about the branch "git commit --fixup" now works with "--edit" again, after it was broken in v2.32. Will merge to 'master'. |
This patch series was integrated into seen via git@6e21f71. |
This patch series was integrated into next via git@6e21f71. |
This patch series was integrated into master via git@6e21f71. |
Closed via 6e21f71. |
Recent changes to --fixup, adding amend suboption, caused the
--edit flag to be ignored as use_editor was always set to zero.
Restore edit_flag having higher priority than fixup_message when
deciding the value of use_editor by only changing the default
if edit_flag is not set.
Changes since v1:
Added test verifying that --fixup --edit brings up editor.
Changes since v2:
Clarify if condition and use write_script helper in test.
Changes since v3:
Simplify test.
Changes since v4:
Using cleaner fix by Phillip Wood instead and added
an explicit verification to a test for --fixup without --edit.
Signed-off-by: Joel Klinghed the_jk@spawned.biz
cc: Jeff King peff@peff.net
cc: "brian m. carlson" sandals@crustytoothpaste.net
cc: Phillip Wood phillip.wood123@gmail.com