Re: [RFC PATCH] Fix gitdir detection when in subdir of gitdir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, 16 Jan 2009, Junio C Hamano wrote:

> Dscho, what performance issues do you have in mind, by the way?

Back when I tried to fix the worktree issue (still the subject of some of 
my nightmares), I set the GIT_DIR (IIRC) to the absolute path, just to 
make sure that it works in all cases, even when the work tree is far away 
from the GIT_DIR (think DOS drives, blech).

I could be mistaken, but I think it was there that somebody did some 
timing and found that lstats on hundreds of absolute paths were 
substantially slower than on relative paths.

Now, think of git-gc in a large number of bare repositories, such as 
repo.or.cz.  It does matter there.

Ciao,
Dscho

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux