Re: [RFC PATCH] repack: make repack -a equivalent to repack -A and drop previous -a behavior
- From
Björn Steinbrink <b.steinbrink@gmx.de>
- Date
- Nov 14, 2008, 01:48 UTC
- Message-ID
- <20081114014828.GD5285@atjola.homenet>
- In-Reply-To
- <Dei99j9xFoGAh0A3LCO0zx3LqCb4lViSZpGvv_KGn38@cipher.nrlssc.navy.mil>
On 2008.11.13 19:36:45 -0600, Brandon Casey wrote:
Show 14 quoted lines
> Björn Steinbrink wrote: > > On 2008.11.13 18:53:29 -0600, Brandon Casey wrote: > >> Björn Steinbrink wrote: > >>> We have: > >>> -a Create a new pack, containing all reachable objects > >>> -A Same as -a > >>> -ad Same as -a, and drop all old packs and loose objects > >> by loose objects, I assume you mean packed unreachable objects. > > > > No, actually I just totally ignored the fact that -a of course already > > deletes the loose objects. > > Actually, I had forgotten that repack deletes any loose objects at all. > It does call prune-packed, but only when -d is used.
Ugh, right. -a does not delete loose objects without -d. So, ignoring the .keep stuff, my initial description was even right and I just confused myself afterwards :-/
Thanks, Björn