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

Re: The msysGit Herald, issue 2

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Sep 24, 2007, 15:44 UTC
Message-ID
<alpine.LFD.0.999.0709240840310.3579@woody.linux-foundation.org>
In-Reply-To
<Pine.LNX.4.64.0709232153230.28395@racer.site>
On Sun, 23 Sep 2007, Johannes Schindelin wrote:
Show 8 quoted lines
>
> > 6) What was the most frustrating moment when working with Git?
> 
> Just the other day, I wanted to fetch a set of changes from a public
> repo into my test repo in order to cherry-pick from them - and it
> automatically fetched all the tags. But, the heck, I don't want them tags
> here, just the commits. I just can't figure out how to avoid the automatic
> fetching of tags.

The way this was *supposed* to work is that if you are not fetching a "tracking branch", it should not fetch any tags.

Maybe this got broken lately?
Or maybe you did fetch a tracking branch?

Anyway, I fetch stuff all the time, and if git were to fetch the tags too, I'd be *really* unhappy. So either the people I work with are just good people, or more likely it still works the way it's supposed to work: if you just fetch into FETCH_HEAD (by explicitly giving the remote repository name, and not using tracking branches), it should not fetch tags for you.

			Linus
Previous: Shawn O. PearceNext: Johannes Sixt
Message 3 of 6 in “The msysGit Herald, issue 2”
  1. Johannes SchindelinSep 23, 2007
  2. Shawn O. PearceSep 24, 2007
  3. Linus TorvaldsSep 24, 2007
  4. Johannes SixtSep 24, 2007
  5. Johannes SchindelinSep 24, 2007
  6. Junio C HamanoSep 24, 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.