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

Re: fetch <repo> <branch>:<branch> fetches tags?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:08

Brandon Casey [off-list ref] writes:
I expect these to fetch tags automatically (and they do):

   git fetch
   git pull
   git fetch <repo>
   git pull <repo>

I expect these to _not_ fetch tags (and they don't):

   git fetch <repo> <branch>
   git pull <repo> <branch>

But, I did not expect these to fetch tags:

   git fetch <repo> <branch>:<branch>
   git pull <repo> <branch>:<branch>
Sigh... that matches my expectation.

Did we break it when we overhauled "git fetch", or was this an
independent "improvement" that happened long before that?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help