sequencer: fix missing newline
When using rebase --interactive where one of the lines is marked as 'edit' this is the resulting output: Stopped at ec3b9c4... stuffYou can amend the commit now, with git commit --amend Once you are satisfied with your changes, run git rebase --continue A newline character is missing at the end of the "Stopped at ..." line and before the "You can amend ..." line. This patch fixes the malformed output by adding the missing newline character to the end of the "Stopped at ..." line. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Brandon Williams committed
Mar 23, 2017 at 10:02 UTC
a42e1b4194b02638ea4f590ac1e7d231274886d1
1 file changed
+1
-1
sequencer.c
+1
-1
@@ -1998,7 +1998,7 @@ static int pick_commits(struct todo_list *todo_list, struct replay_opts *opts)
1998
struct commit *commit = item->commit;
1999
if (!res)
2000
fprintf(stderr,
2001
- _("Stopped at %s... %.*s"),
2001
+ _("Stopped at %s... %.*s\n"),
2002
short_commit_name(commit),
2003
item->arg_len, item->arg);
2004
return error_with_patch(commit,