Re: fetch --no-tags with and w/o --all
- From
Jeff King <peff@peff.net>
- Date
- Mar 7, 2013, 00:20 UTC
- Message-ID
- <20130307002038.GA31571@sigill.intra.peff.net>
- In-Reply-To
- <7vboawp4zy.fsf@alter.siamese.dyndns.org>
On Wed, Mar 06, 2013 at 01:56:01PM -0800, Junio C Hamano wrote:
Show 19 quoted lines
> Cristian Tibirna <ctibirna@giref.ulaval.ca> writes: > > > Hello > > > > $ git --version > > git version 1.7.10.4 > > > > $ git fetch origin --no-tags > > does what it says > > > > $ git fetch --all --no-tags > > still gets all the tags from the remote. > > > > Is this known? > > Because --all (or --multiple) to iterate through all remotes > does not pass accept any command line refspecs, using these options > with --no-tags and/or --tags should be diagnosed as an error, but it > appears that the error checking is not done.
Or we could just pass them through. Looks like this was already fixed by 8556646 (fetch --all: pass --tags/--no-tags through to each remote, 2012-09-05), which is in v1.7.12.2 and higher.
-Peff