[PATCH v3 38/38] sequencer (rebase -i): write out the final message
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 2, 2017, 15:36 UTC
- Message-ID
- <a033bf2ea3ab4d0b77d720d73564a052ed0f2b8b.1483370556.git.johannes.schindelin@gmx.de>
- In-Reply-To
- <cover.1483370556.git.johannes.schindelin@gmx.de>
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> --- sequencer.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/sequencer.c b/sequencer.c index b39cd21e03..0e7d2ca5c8 100644 --- a/sequencer.c +++ b/sequencer.c @@ -2127,6 +2127,9 @@ static int pick_commits(struct todo_list *todo_list, struct replay_opts *opts) } apply_autostash(opts); + fprintf(stderr, "Successfully rebased and updated %s.\n", + head_ref.buf); + strbuf_release(&buf); strbuf_release(&head_ref); }
-- 2.11.0.rc3.windows.1