From: W. Trevor King Date: Tue, 13 May 2014 18:46:57 +0000 (-0700) Subject: Documentation: mention config sources for @{upstream} X-Git-Tag: v2.1.0-rc0~157^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/670a7297c2afe4de387cb208fddc90f0f59df6aa?hp=--cc Documentation: mention config sources for @{upstream} The earlier documentation made vague references to "is set to build on". Flesh that out with references to the config settings, so folks can use git-config(1) to get more detail on what @{upstream} means. For example, @{upstream} does not care about remote.pushdefault or branch..pushremote. Signed-off-by: W. Trevor King Signed-off-by: Junio C Hamano --- 670a7297c2afe4de387cb208fddc90f0f59df6aa diff --git a/Documentation/revisions.txt b/Documentation/revisions.txt index 5a286d0d61..07961185fe 100644 --- a/Documentation/revisions.txt +++ b/Documentation/revisions.txt @@ -94,7 +94,9 @@ some output processing may assume ref names in UTF-8. '@\{upstream\}', e.g. 'master@\{upstream\}', '@\{u\}':: The suffix '@\{upstream\}' to a branchname (short form '@\{u\}') refers to the branch that the branch specified by branchname is set to build on - top of. A missing branchname defaults to the current one. + top of (configured with `branch..remote` and + `branch..merge`). A missing branchname defaults to the + current one. '{caret}', e.g. 'HEAD{caret}, v1.5.1{caret}0':: A suffix '{caret}' to a revision parameter means the first parent of