Thread (1 message) 1 message, 1 author, 2016-08-08

Re: [PATCH 1/2] pack-objects: Teach --use-bitmap-index codepath to respect --local, --honor-pack-keep and --incremental

From: Junio C Hamano <hidden>
Date: 2016-08-08 16:12:02

Kirill Smelkov [off-list ref] writes:
quoted
quoted
...
Suggested-by: Junio C Hamano <redacted>
Discussed-with: Jeff King [off-list ref]
---
I do not think I suggested much of this to deserve credit like this,
though, as I certainly haven't thought about the pros-and-cons
between adding the same "some object in pack may not want to be in
the output" logic to the bitmap side, or punting the bitmap codepath
when local/keep are involved.
I understand. Still for me it was you who convinced me to add proper
support for e.g. --local vs bitmap instead of special-casing it.
OK, in such a case, it probably is more sensible to do it like:

    ...
    with all differences strangely showing we are a bit faster now, but
    probably all being within noise.

    Credit for inspiring this solution and discussing the design of
    the change goes to Junio and Jeff King.

    Signed-off-by: Kirill Smelkov [off-list ref]
    ---
     builtin/pack-objects.c  |  36 ++++++++++++-----
     t/t5310-pack-bitmaps.sh | 103 ++++++++++++++++++++++++++++++++++++++++++++++++
     2 files changed, 130 insertions(+), 9 deletions(-)

Don't forget your own sign-off ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help