Browse Source

Merge branch 'maint'

* maint:
  push: re-flow non-fast-forward message
  push: fix english in non-fast-forward message
maint
Junio C Hamano 16 years ago
parent
commit
6ea71fe7d3
  1. 6
      builtin-push.c

6
builtin-push.c

@ -158,9 +158,9 @@ static int do_push(const char *repo, int flags) @@ -158,9 +158,9 @@ static int do_push(const char *repo, int flags)

error("failed to push some refs to '%s'", url[i]);
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");
printf("To prevent you from losing history, non-fast-forward updates were rejected\n"
"Merge the remote changes before pushing again. See the 'non-fast forward'\n"
"section of 'git push --help' for details.\n");
}
errs++;
}

Loading…
Cancel
Save