From b8bdaa97a6447a1a1f9e635e6e2212858fdfe572 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 29 May 2014 13:28:21 -0700 Subject: 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 is the same as :, i.e. fetch it and do not store anywhere. Signed-off-by: Junio C Hamano --- Documentation/pull-fetch-param.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'Documentation/pull-fetch-param.txt') diff --git a/Documentation/pull-fetch-param.txt b/Documentation/pull-fetch-param.txt index 9cb78d4f75..b5a356b8f6 100644 --- a/Documentation/pull-fetch-param.txt +++ b/Documentation/pull-fetch-param.txt @@ -15,6 +15,7 @@ endif::git-pull[] The format of a parameter is an optional plus `+`, followed by the source ref , followed by a colon `:`, followed by the destination ref . + The colon can be omitted when is empty. + The remote ref that matches is fetched, and if is not empty string, the local -- cgit v1.2.3