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

Re: The msysGit Herald, issue 2

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 24, 2007, 16:49 UTC
Message-ID
<7v1wcoau0w.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<46F7E2A5.6030202@eudaptics.com>
Johannes Sixt <j.sixt@eudaptics.com> writes:
Show 12 quoted lines
> Linus Torvalds schrieb:
>
>> ...
>> Or maybe you did fetch a tracking branch?
>
> I don't think I fetched a tracking branch. If I do:
>
>    $ mkdir foo && cd foo && git init
>    $ git fetch ../git master:refs/heads/master
>
> (where ../git is a clone of git.git with a few local changes), I get
> all the tags. Good or bad?

That's exactly Linus meant "fetching a tracking branch". Your refspec has non-empty string on the RHS of the colon.

	$ git fetch ../git master

is the form without tracking. IOW, not storing into your refs namespace.

Previous: Johannes Schindelin
Message 6 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.