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