Merge branch 'mg/maint-pull-suggest-upstream-to'
authorJunio C Hamano <gitster@pobox.com>
Thu, 15 Nov 2012 18:24:59 +0000 (10:24 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Nov 2012 18:24:59 +0000 (10:24 -0800)
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

git-parse-remote.sh
index 484b2e61ccd6df166a8d6447556ccca4236840ad..0e87e0915ee16e36385aa4182b3a4271d1308641 100644 (file)
@@ -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