rev-parse: clarify documentation of $name@{upstream} syntax
commit47e329ef7c46de8ccdc8c4e40333579264a83c21
authorKacper Kornet <draenog@pld-linux.org>
Sat, 16 Mar 2013 18:51:43 +0000 (16 19:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 Mar 2013 07:10:59 +0000 (17 00:10 -0700)
tree5a61a0e37d7930a21e153aa0fd010308aecf2dc8
parentb2981d06226ab0fdabf9110c3be7104110b307ae
rev-parse: clarify documentation of $name@{upstream} syntax

"git rev-parse" interprets string in string@{upstream} as a name of
a branch not a ref. For example, refs/heads/master@{upstream} looks
for an upstream branch that is merged by git-pull to ref
refs/heads/refs/heads/master not to refs/heads/master.

However the documentation could mislead a user to believe that the
string is interpreted as ref.

Signed-off-by: Kacper Kornet <draenog@pld-linux.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/revisions.txt