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

Re: What is in git.git

From
Petr Baudis <pasky@suse.cz>
Date
Jan 22, 2006, 03:12 UTC
Message-ID
<20060122031237.GU28365@pasky.or.cz>
In-Reply-To
<200601220033.26321.Josef.Weidendorfer@gmx.de>
Just-in-case panic response...

Dear diary, on Sun, Jan 22, 2006 at 12:33:25AM CET, I got a letter where Josef Weidendorfer <Josef.Weidendorfer@gmx.de> said that...

Show 15 quoted lines
> > You need to keep a file that describes how your repository is
> > tracking the development histories of each subproject in
> > $GIT_DIR/bind, that would look like:
> > 
> > 	master main=/ subpro=sub/
> 
> What about putting $GITDIR/bind information directly into reference files?
> 
>  $HOME/gitproj> cat .git/refs/heads/master
>  92347432598...
>  bind main=/
>  bind subpro=sub/
> 
> This way, you can rename/copy heads, and the binding info will stay with
> the commit.

Please don't. I can see no real advantage to separate files (except for the very rare case of rename/copy/removal of heads) except for massive porcelain breakage and significant clutter-up of all the code dealing with refs.

Please leave our poor refs alone. :) They are fine as they are - simple one-value thing.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Of the 3 great composers Mozart tells us what it's like to be human,
Beethoven tells us what it's like to be Beethoven and Bach tells us
what it's like to be the universe.  -- Douglas Adams
Previous: Josef WeidendorferNext: Daniel Barkalow
Message 8 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.