fetch doc: update refspec format description
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>
Junio C Hamano committed
May 29, 2014 at 13:28 UTC
b8bdaa97a6447a1a1f9e635e6e2212858fdfe572
1 file changed
+1
Documentation/pull-fetch-param.txt
+1
@@ -15,6 +15,7 @@ endif::git-pull[]
15
The format of a <refspec> parameter is an optional plus
16
`+`, followed by the source ref <src>, followed
17
by a colon `:`, followed by the destination ref <dst>.
18
+ The colon can be omitted when <dst> is empty.
19
+
20
The remote ref that matches <src>
21
is fetched, and if <dst> is not empty string, the local