Re: People unaware of the importance of "git gc"?
- From
David Kastrup <dak@gnu.org>
- Date
- Sep 5, 2007, 19:09 UTC
- Message-ID
- <85642phqtn.fsf@lola.goethe.zz>
- In-Reply-To
- <Pine.LNX.4.64.0709051339420.30020@torch.nrlssc.navy.mil>
Brandon Casey <casey@nrlssc.navy.mil> writes:
Show 13 quoted lines
> On Wed, 5 Sep 2007, J. Bruce Fields wrote: > >> Well, this may just prove I'm an idiot, but one of the reasons I rarely >> run it is that I have trouble remembering exactly what it does; in >> particular, >> >> - does it prune anything that might be needed by a repo I >> cloned with -s? > > YES! yikes. > > This is about the best argument put forth so far for not > automatically running git-gc.
Well, it could also mean that if git finds a dead symbolic link when looking up an object, it should check the corresponding link target directory for a pack file with the respective object... and if it finds such a pack file, create a link to it and use it.
-- David Kastrup, Kriemhildstr. 15, 44793 Bochum