sequencer (rebase -i): write out the final message
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 2 Jan 2017 15:36:25 +0000 (16:36 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jan 2017 22:06:01 +0000 (14:06 -0800)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c
index 5f229197727b6455335d0cd93ec593c5e7e02ab8..1f729b053bbc6f544fe0b3e8736113082894b24d 100644 (file)
@@ -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);
        }