Skip to content

Commit

Permalink
push: fix english in non-fast-forward message
Browse files Browse the repository at this point in the history
We must use an article when referring to the section
because it is a non-proper noun, and it must be the definite
article because we are referring to a specific section.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jeff King authored and Junio C Hamano committed Sep 6, 2009
1 parent bc29df6 commit e1f8f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-push.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ static int do_push(const char *repo, int flags)
if (nonfastforward) {
printf("To prevent you from losing history, non-fast-forward updates were rejected.\n"
"Merge the remote changes before pushing again.\n"
"See 'non-fast forward' section of 'git push --help' for details.\n");
"See the 'non-fast forward' section of 'git push --help' for details.\n");
}
errs++;
}
Expand Down

0 comments on commit e1f8f0c

Please sign in to comment.