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

Re: Getting rid of symlinks in .git?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 11, 2005, 15:40 UTC
Message-ID
<Pine.LNX.4.63.0511111636400.16210@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<20051111150530.GT30496@pasky.or.cz>
Hi,
On Fri, 11 Nov 2005, Petr Baudis wrote:
Show 6 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> said that...
> > 
> > Please note that symlinks are much more performant than symrefs. Working a 
> > lot with switching branches, this matters.
> 
> What operations get slowed down noticeably in particular?
Well, if you have to read two files instead of one, it is 100% slower ;-)
> Do you have any timing testcases and data at hand?
No and no.

Note that the only symlink/symref you usually have is .git/HEAD. But it feels wrong to take the worse approach in *all* cases, just because *one* brain-fscked file system/operating system does not support the superior approach.

Conclusion: I can live with the symref support in git "AS IS".

Ciao, Dscho

Previous: Petr BaudisNext: Petr Baudis
Message 9 of 13 in “Getting rid of symlinks in .git?”
  1. Petr BaudisNov 10, 2005
  2. Simon RichterNov 11, 2005
  3. Alex RiesenNov 11, 2005
  4. Petr BaudisNov 11, 2005
  5. Junio C HamanoNov 15, 2005
  6. Alex RiesenNov 15, 2005
  7. Johannes SchindelinNov 11, 2005
  8. Petr BaudisNov 11, 2005
  9. Johannes SchindelinNov 11, 2005
  10. Petr BaudisNov 11, 2005
  11. Johannes SchindelinNov 11, 2005
  12. Nick HengeveldNov 11, 2005
  13. Alex RiesenNov 11, 2005

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.