Skip to content

Commit a42e1b4

Browse files
bmwillgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9942921 commit a42e1b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sequencer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ static int pick_commits(struct todo_list *todo_list, struct replay_opts *opts)
19981998
struct commit *commit = item->commit;
19991999
if (!res)
20002000
fprintf(stderr,
2001-
_("Stopped at %s... %.*s"),
2001+
_("Stopped at %s... %.*s\n"),
20022002
short_commit_name(commit),
20032003
item->arg_len, item->arg);
20042004
return error_with_patch(commit,

0 commit comments

Comments
 (0)