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

Re: Odd problem in repository

From
JFJ. Bruce Fields <bfields@fieldses.org>
Date
Apr 24, 2007, 17:35 UTC
Message-ID
<20070424173546.GG18538@fieldses.org>
In-Reply-To
<20070424173048.GA5942@spearce.org>
On Tue, Apr 24, 2007 at 01:30:48PM -0400, Shawn O. Pearce wrote:
Show 8 quoted lines
> This is a change in Git versions.  Pre Git-1.5.0 we used to put all
> of the branches from the remote system into refs/heads, but now in
> 1.5.0 and later we put them in refs/remotes/origin.
> 
> Nothing screwed up on the central repository, its just the
> new layout.  refs/heads is reserved for *this* local repository,
> while refs/remotes/$name is reserved for the heads of $name remote
> repository.
See also
	http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.5.0.txt
(grep for "repository layout") for more details on the change.

The new system is surprising if you don't expect it, but it's really much simpler to work with.

--b.
Previous: Shawn O. PearceNext: Clark Williams
Message 3 of 7 in “Odd problem in repository”
  1. Clark WilliamsApr 24, 2007
  2. Shawn O. PearceApr 24, 2007
  3. J. Bruce FieldsApr 24, 2007
  4. Clark WilliamsApr 24, 2007
  5. Shawn O. PearceApr 24, 2007
  6. Clark WilliamsApr 24, 2007
  7. Jeffrey C. OllieApr 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.