Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: fetch --no-tags with and w/o --all

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:19

Cristian Tibirna [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help