summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-01-02 16:36:25 +0100
committerJunio C Hamano <gitster@pobox.com>2017-01-09 14:57:31 -0800
commitc2f25dae0bbc407e112b098ac017f08241d33e7a (patch)
tree48819318330b29370c90d7caea044580d859da42
parent43a068458a1df911d8f55b5dd42bbe1060dc9c6c (diff)
downloadgit-js/prepare-sequencer-more.tar.gz
sequencer (rebase -i): write out the final messagejs/prepare-sequencer-more
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>
-rw-r--r--sequencer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sequencer.c b/sequencer.c
index b39cd21e03..0e7d2ca5c8 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);
}