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

Re: [PATCH 07/11] git-fetch: Limit automated tag following to only fetched objects

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Nov 9, 2007, 11:28 UTC
Message-ID
<4734445C.6000303@viscovery.net>
In-Reply-To
<20071109110631.GG19368@spearce.org>
Shawn O. Pearce schrieb:
Show 7 quoted lines
> Some of the test vectors for t5515 were affected by this as they
> were listing "not-for-merge" tags in .git/FETCH_HEAD that were
> being fetched under the old rule but are now not fetched under the
> new rule.  To be perfectly honest I have no idea why they were even
> fetching under the old rule, and I think that's part of the problem
> with the old rule.  It was very difficult to understand why some
> things would auto-follow a tag and others wouldn't.
The old rule was:
	Fetch a tag if we have the object that the tag refers to.

So, If you have an object lingering in your repo, even if it is not accessible by any of the refs - eg. it's a left-over from a previous fetch - then the tag was fetched again.

-- Hannes
Previous: Shawn O. PearceNext: CJ van den Berg
Message 2 of 6 in “git-fetch: Limit automated tag following to only fetched objects”
  1. 07/11 git-fetch: Limit automated tag following to only fetched objectsShawn O. Pearce, Nov 9, 2007
  2. Johannes SixtNov 9, 2007
  3. CJ van den BergNov 9, 2007
  4. Andreas EricssonNov 10, 2007
  5. Junio C HamanoNov 9, 2007
  6. Shawn O. PearceNov 11, 2007

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.