aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/gitremote-helpers.txt
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-04-06 19:13:41 +0100
committerJunio C Hamano <gitster@pobox.com>2013-04-07 00:40:48 -0700
commit9e7673ed7ff656738fdc02d1c529d363aaa98002 (patch)
tree3c5f86378290a5da37628982aa2b7ab44ee34d0c /Documentation/gitremote-helpers.txt
parentc4458ecdc565fb63cc3247bd1e2d7525d9d6d2fa (diff)
downloadgit-9e7673ed7ff656738fdc02d1c529d363aaa98002.tar.gz
gitremote-helpers(1): clarify refspec behaviour
The documentation says that "If no 'refspec' capability is advertised, there is an implied `refspec *:*`" but this is only the case for the "import" command. Since there is a comment in transport-helper.c indicating that this default is for historical reasons, change the documentation to clarify that a refspec should always be specified. Signed-off-by: John Keeping <john@keeping.me.uk> Acked-by: Sverre Rabbelier <srabbelier@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitremote-helpers.txt')
-rw-r--r--Documentation/gitremote-helpers.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/gitremote-helpers.txt b/Documentation/gitremote-helpers.txt
index 0c91aba861..f506031ae4 100644
--- a/Documentation/gitremote-helpers.txt
+++ b/Documentation/gitremote-helpers.txt
@@ -174,8 +174,8 @@ ref.
This capability can be advertised multiple times. The first
applicable refspec takes precedence. The left-hand of refspecs
advertised with this capability must cover all refs reported by
-the list command. If no 'refspec' capability is advertised,
-there is an implied `refspec *:*`.
+the list command. If a helper does not need a specific 'refspec'
+capability then it should advertise `refspec *:*`.
'bidi-import'::
This modifies the 'import' capability.