Re: [PATCH] Create 'git gc' to perform common maintenance operations.
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Dec 27, 2006, 07:12 UTC
- Message-ID
- <Pine.LNX.4.64.0612262312170.4473@woody.osdl.org>
- In-Reply-To
- <20061227070541.GA22982@spearce.org>
On Wed, 27 Dec 2006, Shawn O. Pearce wrote:
Show 6 quoted lines
> > Junio asked for a 'git gc' utility which users can execute on a > regular basis to perform basic repository actions such as: > > * prune > * repack -a -d
You should do "repack -a -d" _before_ pruning, because then pruning will be much more efficient (thanks to a more efficient repo format).
Linus