summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-11-15 10:24:59 -0800
committerJunio C Hamano <gitster@pobox.com>2012-11-15 10:24:59 -0800
commit159a5a2fa2b5da57a5b69dafc816d30c3716604f (patch)
treeef4fd585e9d73bbb9b77b949de2ad48730812b48
parent6050b5bca0f6d94d1d171d60b64ace87651383a1 (diff)
parenta3a4391abfeb664d8239b232bbee32b2163c10bd (diff)
downloadgit-159a5a2fa2b5da57a5b69dafc816d30c3716604f.tar.gz
Merge branch 'mg/maint-pull-suggest-upstream-to'
Follow-on to the new "--set-upstream-to" topic from v1.8.0 to avoid suggesting the deprecated "--set-upstream". * mg/maint-pull-suggest-upstream-to: push/pull: adjust missing upstream help text to changed interface
-rw-r--r--git-parse-remote.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-parse-remote.sh b/git-parse-remote.sh
index 484b2e61cc..0e87e0915e 100644
--- a/git-parse-remote.sh
+++ b/git-parse-remote.sh
@@ -80,7 +80,7 @@ See git-${cmd}(1) for details
If you wish to set tracking information for this branch you can do so with:
- git branch --set-upstream ${branch_name#refs/heads/} $remote/<branch>
+ git branch --set-upstream-to=$remote/<branch> ${branch_name#refs/heads/}
"
fi
exit 1