summaryrefslogtreecommitdiff
path: root/builtin/push.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-08-12 18:07:09 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-08-12 18:07:09 -0700
commit642f7108f68ef622b338d27d94a956e32c8567dd (patch)
tree32972655c14bdbd803e3842cb2220b9045632199 /builtin/push.c
parentMerge branch 'maint' (diff)
parentpush: mention "git pull" in error message for non-fast forwards (diff)
downloadtgif-642f7108f68ef622b338d27d94a956e32c8567dd.tar.xz
Merge branch 'maint'
* maint: push: mention "git pull" in error message for non-fast forwards Standardize do { ... } while (0) style t/t7003: replace \t with literal tab in sed expression index-pack: Don't follow replace refs.
Diffstat (limited to 'builtin/push.c')
-rw-r--r--builtin/push.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/push.c b/builtin/push.c
index a2cc9fdea1..e655eb7695 100644
--- a/builtin/push.c
+++ b/builtin/push.c
@@ -130,8 +130,8 @@ static int push_with_options(struct transport *transport, int flags)
if (nonfastforward && advice_push_nonfastforward) {
fprintf(stderr, "To prevent you from losing history, non-fast-forward updates were rejected\n"
- "Merge the remote changes before pushing again. See the 'Note about\n"
- "fast-forwards' section of 'git push --help' for details.\n");
+ "Merge the remote changes (e.g. 'git pull') before pushing again. See the\n"
+ "'Note about fast-forwards' section of 'git push --help' for details.\n");
}
return 1;