From 670a7297c2afe4de387cb208fddc90f0f59df6aa Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 13 May 2014 11:46:57 -0700 Subject: 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 diff --git a/Documentation/revisions.txt b/Documentation/revisions.txt index 5a286d0..0796118 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 -- cgit v0.10.2-6-g49f6