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

Re: git-prune-script eats data

From
JGJeff Garzik <jgarzik@pobox.com>
Date
Jun 23, 2005, 05:25 UTC
Message-ID
<42BA47AD.3000508@pobox.com>
In-Reply-To
<Pine.LNX.4.58.0506221857410.11175@ppc970.osdl.org>
Linus Torvalds wrote:
> And now I realize what the problem is. It's _not_ that "git prune" has 
> removed too much, like the obvious implication would be: it's that "git 
> prune" has not removed _enough_.

Makes a lot of sense. Looking at the repo, I did indeed forget to copy the tags.

Show 7 quoted lines
> So the trivial fix is to just remove the lines from fsck-cache.c that say
> 
> 	/* Don't bother with tag reachability. */
> 	if (obj->type == tag_type)
> 		continue;
> 
> and that will fix it for you.
Sounds good, thanks.
> It's exactly the same thing that Jens had. You have a tag object for the 
> v2.6.11-tree thing, but you don't have the reference to the tag.
Ref email just sent:  Kernel hackers expect tags to come with the pull. 
  Four kernel hackers, and counting.

Just accept that our brains are wired that way ;-) We like having Linus-blessed-and-pushed-to-kernel.org tags from linux-2.6.git public tree follow us around.

	git-pull-script --tags $url
should accomplish that.
	Jeff
Previous: Linus Torvalds
Message 3 of 3 in “git-prune-script eats data”
  1. Jeff GarzikJun 22, 2005
  2. Linus TorvaldsJun 23, 2005
  3. Jeff GarzikJun 23, 2005

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.