Skip to content

Commit 14b772a

Browse files
peffgitster
authored andcommitted
push: re-flow non-fast-forward message
The extreme raggedness of the right edge make this jarring to read. Let's re-flow the text to fill the lines in a more even way. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e1f8f0c commit 14b772a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

builtin-push.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ static int do_push(const char *repo, int flags)
158158

159159
error("failed to push some refs to '%s'", url[i]);
160160
if (nonfastforward) {
161-
printf("To prevent you from losing history, non-fast-forward updates were rejected.\n"
162-
"Merge the remote changes before pushing again.\n"
163-
"See the 'non-fast forward' section of 'git push --help' for details.\n");
161+
printf("To prevent you from losing history, non-fast-forward updates were rejected\n"
162+
"Merge the remote changes before pushing again. See the 'non-fast forward'\n"
163+
"section of 'git push --help' for details.\n");
164164
}
165165
errs++;
166166
}

0 commit comments

Comments
 (0)