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

Re: [PATCH 1/2] prepare_packed_git(): refactor garbage reporting in pack directory

From: Jeff King <hidden>
Date: 2016-06-15 23:07:11

Possibly related (same subject, not in this thread)

On Wed, Nov 04, 2015 at 02:08:21PM -0600, Doug Kelly wrote:
Currently there's no mtime-guarding logic (I dug up that conversation
earlier, though, but after I'd done the respin on this series)... OK,
in that case, I'll create a separate patch that tests/cleans up
.bitmap, but doesn't touch .keep.  This might be a small series since
I think the logic for finding pack garbage doesn't know anything about
.bitmap per-se, so it's looking like I'll extend that relevant code,
before adding the handling in gc and appropriate tests.
I'd hoped you could reuse the list of extensions found in
builtin/repack.c (e.g., see remove_redundant_pack). But I guess that is
not connected with the garbage-reporting code. And anyway, the simple
list probably does not carry sufficient information (it does not know
that ".keep" is potentially more precious than ".idx", for example).

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