Skip to content

Commit 04fa3c8

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 cf84c41 commit 04fa3c8

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
@@ -2126,6 +2126,9 @@ static int pick_commits(struct todo_list *todo_list, struct replay_opts *opts)
21262126
}
21272127
apply_autostash(opts);
21282128

2129+
fprintf(stderr, "Successfully rebased and updated %s.\n",
2130+
head_ref.buf);
2131+
21292132
strbuf_release(&buf);
21302133
strbuf_release(&head_ref);
21312134
}

0 commit comments

Comments
 (0)