[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7v4pdy7oub.fsf@gitster.siamese.dyndns.org>
Date: Mon, 31 Dec 2007 09:31:40 -0800
From: Junio C Hamano <gitster@...ox.com>
To: Stefan Richter <stefanr@...6.in-berlin.de>
Cc: Jan Engelhardt <jengelh@...putergmbh.de>,
Jeff Garzik <jeff@...zik.org>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Git Mailing List <git@...r.kernel.org>
Subject: Re: Updated Kernel Hacker's guide to git
Stefan Richter <stefanr@...6.in-berlin.de> writes:
> Jan Engelhardt wrote:
>>> http://linux.yyz.us/git-howto.html
>>
>> It says
>>
>> """Don't forget to download tags from time to time.
>>
>> git pull only downloads sha1-indexed object data, and the requested
>> remote head. This misses updates to the .git/refs/tags/ and
>> .git/refs/heads/ directories. For tags, run git fetch --tags $URL."""
>>
>> But when I do git pull on a simple tracking tree (e.g. git-clone
>> torvalds/linux-2.6.git; git pull;) it automatically grabs new tags.
>
> A while ago the default behavior of git pull was changed to fetch all
> tags which point to objects that can be reached from any of the tracked
> heads.
>
> Old behaviour: Option --tags was needed to fetch tags at all. Current
> behavior: Option --tags forces to download all tags and the objects
> they point to. Option --no-tags works like the old default behavior.
>
> Readers of Kernel Hackers' Guide to git will most certainly have a
> recent enough version of git so that the "download_tags" subsection can
> be removed without replacement.
All correct.
That "A while ago" is quite a while ago, though. IIRC it was
added very early in 2006, which is eons ago in git timescale.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists