Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

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

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:44:10

Hi,

On Tue, 5 Feb 2008, Junio C Hamano wrote:
Nicolas Pitre [off-list ref] writes:
quoted
On Tue, 5 Feb 2008, Johannes Schindelin wrote:
quoted
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 <redacted>
Acked-by: Nicolas Pitre <redacted>

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?
Yep.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help