From: Junio C Hamano Date: Fri, 28 Dec 2007 07:19:00 GMT Subject: Re: [PATCH] git-pull: warn if only fetching tags with the -t switch Message-ID: <7vodcbe17f.fsf@gitster.siamese.dyndns.org> In-Reply-To: <7vve6je349.fsf@gitster.siamese.dyndns.org> Junio C Hamano writes: > It appears that the explicit case also needs documentation. But with two "oops-correction"s. > The refs fetched are: > > + Having --tags on the command line is the same as replacing > remote.$remote.fetch with refs/tags/*:refs/tags/* in the > configuration. > > + If refspecs are explicitly given from the command line, they > will be the ones that are fetched, and remotes.$remote.fetch > is consulted unless they come from the above --tags. s/is consulted/is ignored/; > * Otherwise, remotes.$remote.fetch (and its equivalent in > .git/remotes/$remote) are the ones that are fetched. > > * In addition, if branch.$current_branch.merge is specified but > is not covered by the above, it also is fetched. s/if /if no explicit refspecs are given and /;