git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Updated Kernel Hacker's guide to git

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 31, 2007, 17:31 UTC
Message-ID
<7v4pdy7oub.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<4778D1CD.4020001@s5r6.in-berlin.de>
Stefan Richter <stefanr@s5r6.in-berlin.de> writes:
Show 25 quoted lines
> 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.

Previous: Stefan RichterNext: Jeff Garzik
Message 15 of 19 in “Re: Updated Kernel Hacker's guide to git”
  1. Horst H. von BrandDec 24, 2006
  2. Updated Kernel Hacker's guide to gitJeff Garzik, Dec 23, 2007
  3. Robert P. J. DayDec 23, 2007
  4. Jeff GarzikDec 23, 2007
  5. Robert P. J. DayDec 23, 2007
  6. Dieter RiesDec 23, 2007
  7. Robert P. J. DayDec 23, 2007
  8. Stefan RichterDec 23, 2007
  9. Robert P. J. DayDec 24, 2007
  10. WANG CongDec 23, 2007
  11. Miklos VajnaDec 24, 2007
  12. Salikh ZakirovDec 25, 2007
  13. Jan EngelhardtDec 31, 2007
  14. Stefan RichterDec 31, 2007
  15. Junio C HamanoDec 31, 2007
  16. Jeff GarzikJun 30, 2008
  17. Stefan RichterJun 30, 2008
  18. Jeff GarzikJun 30, 2008
  19. Christian CouderJul 3, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.