Skip to content

Commit 648d8d9

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 9f8edcd commit 648d8d9

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
@@ -2093,6 +2093,9 @@ static int pick_commits(struct todo_list *todo_list, struct replay_opts *opts)
20932093
}
20942094
apply_autostash(opts);
20952095

2096+
fprintf(stderr, "Successfully rebased and updated %s.\n",
2097+
head_ref.buf);
2098+
20962099
strbuf_release(&buf);
20972100
strbuf_release(&head_ref);
20982101
}

0 commit comments

Comments
 (0)