From: Jonathan Nieder Date: Tue, 17 Oct 2017 19:35:11 GMT Subject: Re: [PATCH] fetch doc: src side of refspec could be full SHA-1 Message-ID: <20171017193511.szbmrclju22a6p5l@aiede.mtv.corp.google.com> In-Reply-To: Hi Junio, Junio C Hamano wrote: > Since a9d34933 ("Merge branch 'fm/fetch-raw-sha1'", 2015-06-01) we > allow to fetch by an object name when the other side accepts such a > request, but we never updated the documentation to match. > > Signed-off-by: Junio C Hamano > --- > Documentation/pull-fetch-param.txt | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Good catch. > --- a/Documentation/pull-fetch-param.txt > +++ b/Documentation/pull-fetch-param.txt > @@ -23,9 +23,11 @@ ifdef::git-pull[] > endif::git-pull[] > + > The format of a parameter is an optional plus > -`+`, followed by the source ref , followed > +`+`, followed by the source , followed > by a colon `:`, followed by the destination ref . > -The colon can be omitted when is empty. > +The colon can be omitted when is empty. is most > +typically a ref, but it can also be an fully spelled hex object > +name. nits: s/most typically/typically/ s/an fully/a fully/ With those tweaks, Reviewed-by: Jonathan Nieder Thanks.