Re: [PATCH] prune: heed --expire for stale packs, add a test

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

 



Nicolas Pitre <nico@xxxxxxx> writes:

> On Tue, 5 Feb 2008, Johannes Schindelin wrote:
>
>> Follow the same logic as for loose objects when removing stale packs: they
>> might be in use (for example when fetching, or repacking in a cron job),
>> so give the user a chance to say (via --expire) what is considered too
>> young an age to die for stale packs.
>> 
>> Also add a simple test to verify that the stale packs are actually
>> expired.
>> 
>> Signed-off-by: Johannes Schindelin <johannes.schindelin@xxxxxx>
>
> Acked-by: Nicolas Pitre <nico@xxxxxxx>
>
> Nicolas

They are not "stale packs", but temporary files that wanted to
become pack but did not succeed.  Perhaps "stale temporary
packs"?

Shouldn't we do something similar to objects/pack/pack-*.temp
files and objects/??/*.temp that http walker leaves?

-
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