Skip to content

Commit 835ee43

Browse files
committed
sequencer: strip out comments after committing interactively
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 36529f9 commit 835ee43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sequencer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ int sequencer_commit(const char *defmsg, struct replay_opts *opts,
579579
if (!edit || IS_REBASE_I()) {
580580
argv_array_push(&array, "-F");
581581
argv_array_push(&array, defmsg);
582-
if (!opts->signoff &&
582+
if (!edit && !opts->signoff &&
583583
!opts->record_origin &&
584584
git_config_get_value("commit.cleanup", &value))
585585
argv_array_push(&array, "--cleanup=verbatim");

0 commit comments

Comments
 (0)