summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-01-02 15:36:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-01-17 22:06:01 (GMT)
commit5da4966f2808371ba94de467d06b4e7e7ab125d8 (patch)
tree265e51b3b6f7e41ae181851356960e638a7a1cc2 /sequencer.c
parentef80069a037e5c5180a67eadedc375e184a28dbb (diff)
downloadgit-5da4966f2808371ba94de467d06b4e7e7ab125d8.zip
git-5da4966f2808371ba94de467d06b4e7e7ab125d8.tar.gz
git-5da4966f2808371ba94de467d06b4e7e7ab125d8.tar.bz2
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.c')
-rw-r--r--sequencer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sequencer.c b/sequencer.c
index 5f22919..1f729b0 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -2127,6 +2127,9 @@ cleanup_head_ref:
}
apply_autostash(opts);
+ fprintf(stderr, "Successfully rebased and updated %s.\n",
+ head_ref.buf);
+
strbuf_release(&buf);
strbuf_release(&head_ref);
}