Skip to content

Commit 02db26b

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 <[email protected]>
1 parent 479efdc commit 02db26b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sequencer.c

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

2093+
fprintf(stderr, "Successfully rebased and updated %s.\n",
2094+
head_ref.buf);
2095+
20932096
strbuf_release(&buf);
20942097
strbuf_release(&head_ref);
20952098
}

0 commit comments

Comments
 (0)