fetch doc: update refspec format description
authorJunio C Hamano <gitster@pobox.com>
Thu, 29 May 2014 20:28:21 +0000 (13:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Jun 2014 22:29:38 +0000 (15:29 -0700)
The text made it sound as if the leading plus is the only thing that
is optional, and forgot that <lhs> is the same as <lhs>:, i.e. fetch
it and do not store anywhere.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pull-fetch-param.txt
index 9cb78d4f75d2d729b4547fa0c088ec6083d6821c..b5a356b8f63cde4ea3966f4058d4a9fdf76c3990 100644 (file)
@@ -15,6 +15,7 @@ endif::git-pull[]
        The format of a <refspec> parameter is an optional plus
        `+`, followed by the source ref <src>, followed
        by a colon `:`, followed by the destination ref <dst>.
+       The colon can be omitted when <dst> is empty.
 +
 The remote ref that matches <src>
 is fetched, and if <dst> is not empty string, the local