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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <gitster@xxxxxxxxx> writes:

> Brandon Casey <casey@xxxxxxxxxxxxxxx> writes:
> ...
>> 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?

Having said that, I do not particularly think the new behaviour
is bad per-se.  If you are storing what you fetched locally in
tracking branches, you are interested in their work enough to
want to auto-follow their tags.

It's just that the expectation you and I shared is the
documented behaviour everywhere, and we would need to document
the new behaviour.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux