diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-02-14 15:36:05 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-02-14 15:36:05 -0800 |
commit | c036a145c380e79db5fab5aafb87c4981e11cc9e (patch) | |
tree | a96c28427f19085e4bed0477020057cc3bd64175 /sequencer.c | |
parent | 09e0aa64b3fbdc6df541cd2beefe70170f038252 (diff) | |
parent | e4301f73fffacf2ba9fb2042b95de32880381e72 (diff) | |
download | git-c036a145c380e79db5fab5aafb87c4981e11cc9e.tar.gz |
Merge branch 'vn/rebase-with-cherry-pick-authorship'
"git cherry-pick" invoked during "git rebase -i" session lost
the authorship information, which has been corrected.
* vn/rebase-with-cherry-pick-authorship:
sequencer: unset GIT_CHERRY_PICK_HELP for 'exec' commands
Diffstat (limited to 'sequencer.c')
-rw-r--r-- | sequencer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sequencer.c b/sequencer.c index 91de546b32..f49a871ac0 100644 --- a/sequencer.c +++ b/sequencer.c @@ -3641,6 +3641,7 @@ static int do_exec(struct repository *r, const char *command_line) fprintf(stderr, _("Executing: %s\n"), command_line); cmd.use_shell = 1; strvec_push(&cmd.args, command_line); + strvec_push(&cmd.env, "GIT_CHERRY_PICK_HELP"); status = run_command(&cmd); /* force re-reading of the cache */ |