Re: [RFC PATCH] Fix gitdir detection when in subdir of gitdir
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 16, 2009, 16:29 UTC
- Message-ID
- <alpine.DEB.1.00.0901161729070.3586@pacific.mpi-cbg.de>
- In-Reply-To
- <1232120253-1551-1-git-send-email-szeder@ira.uka.de>
Hi,
On Fri, 16 Jan 2009, SZEDER Gábor wrote:
Show 5 quoted lines
> I'm not sure about setting an absolut path instead of a relative one
> (hence the RFC), although I think it should not make any difference.
> Of course I could have count the number of chdir("..") calls and then
> construct a "../../..", but that would have been more intrusive than
> this two-liner.IIRC the absolute paths were shot down already... for performance reasons.
So we try very hard to keep relative paths instead of absolute ones.
Ciao, Dscho