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

Re: What is in git.git

From
Junio C Hamano <junkio@cox.net>
Date
Jan 22, 2006, 20:41 UTC
Message-ID
<7vbqy4c7vy.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200601220033.26321.Josef.Weidendorfer@gmx.de>
Josef Weidendorfer <Josef.Weidendorfer@gmx.de> writes:
> I understand that "moving binding point of X from X/ to lib/X/" is not
> representable within the index as a simple change. Is this the main issue
> for your "against the whole git philosophy"?

No. I meant an exposure of local branch names by recording them in the commit object, and nothing else, by that comment.

Instead of using an extra $GIT_DIR/bind file extending what we record in the index file is OK. $GIT_INDEX_FILE, $GIT_DIR/HEAD, and $GIT_DIR/bind pretty much go hand-in-hand anyway and they _are_ local to the repository, just like branch names are, so I do not have any problem with using local branch names in these places, but not in a commit object (or gitlink object for that matter).

Previous: Junio C HamanoNext: Alexander Litvinov
Message 13 of 14 in “What is in git.git”
  1. Junio C HamanoJan 21, 2006
  2. Alexander LitvinovJan 21, 2006
  3. Junio C HamanoJan 21, 2006
  4. Junio C HamanoJan 21, 2006
  5. Josef WeidendorferJan 21, 2006
  6. Junio C HamanoJan 22, 2006
  7. Josef WeidendorferJan 24, 2006
  8. Petr BaudisJan 22, 2006
  9. Daniel BarkalowJan 22, 2006
  10. Junio C HamanoJan 22, 2006
  11. Daniel BarkalowJan 22, 2006
  12. Junio C HamanoJan 22, 2006
  13. Junio C HamanoJan 22, 2006
  14. Alexander LitvinovJan 21, 2006

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.