Re: fetch <repo> <branch>:<branch> fetches tags?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 29, 2008, 08:54 UTC
- Message-ID
- <7vabmpovu5.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <loom.20080129T055937-532@post.gmane.org>
Brandon Casey <drafnel@gmail.com> writes:
Show 8 quoted lines
>> 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. > > How is "tracking" defined? Is this a term that implies some configuration > to link a local branch to a remote branch? Or is any local branch created > from a remote branch considered "tracking"?
I probably should have said "Instead of just letting fetch temporarily store the result in FETCH_HEAD and using it from there, you saved it away; that's a good indication of you care about it deeply enough".
It's really about what's convenient. I was somewhat upset that the behaviour change was not I was very aware of (perhaps I said it was a good idea and I then forgot), I didn't think the earlier behaviour was broken, but if I have to choose, I think the new behaviour is probably slightly nicer than the old one.