Skip to content

Commit dfd11c4

Browse files
committed
sequencer (rebase -i): write out the final message
The shell script version of the interactive rebase has a very specific final message. Teach the sequencer to print the same. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 21bc276 commit dfd11c4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sequencer.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1902,6 +1902,9 @@ static int pick_commits(struct todo_list *todo_list, struct replay_opts *opts)
19021902
}
19031903
apply_autostash(opts);
19041904

1905+
fprintf(stderr, "Successfully rebased and updated %s.\n",
1906+
head_ref.buf);
1907+
19051908
strbuf_release(&buf);
19061909
strbuf_release(&head_ref);
19071910
}

0 commit comments

Comments
 (0)