Re: Git benchmarks at OpenOffice.org wiki
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- May 7, 2007, 15:22 UTC
- Message-ID
- <alpine.LFD.0.98.0705070821260.3802@woody.linux-foundation.org>
- In-Reply-To
- <7vk5vl6oum.fsf@assigned-by-dhcp.cox.net>
On Mon, 7 May 2007, Junio C Hamano wrote:
Show 6 quoted lines
> > Keeping fetched and updated refs in core and write a packed refs > out in one go in git-fetch--tool (and later, git-fetch all in C) > would be much simpler if we do not have to worry about existing > refs (aka "git clone" special case); I am not sure if packing > refs is desirable in general for incremental "git-fetch".
Fair enough. It's true that for the general case of "git fetch", it's much less obvious how to keep things packed.
So maybe the right thing really *is* to just add the
git pack-refs --all --prune
to the git-clone wrapper.
Linus