enable bitmap hash-cache by default
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | t5310: correctly remove bitmaps for jgit testt/ | +1 | 2 replies | |
| 2/2 | pack-objects: default to writing bitmap hash-cacheDocumentation/ builtin/ t/ +2 more | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] enable bitmap hash-cache by default
Quoted 7 lines · Jeff King
Quoted 4 lines · Eric Wong
Quoted 1 line
The reason it defaults to off is for on-disk compatibility with JGit.
Right. Our documentation seems to indicate JGit just warns (but doesn't fall over), so maybe that can be considered separately.
Quoted 6 lines
I think it was a hard error in the beginning, but they changed it pretty soon after we added more flags. So it might be reasonable to just enable it by default (but it wouldn't hurt to double check the behavior).
I tried running t5310 (which does a back-and-forth with jgit) using this patch:
I dug up the actual JGit change, and it was indeed from 2014. So here's a more complete series to handle that. There's a minor performance mystery in the second patch, but I think it might be OK to proceed even without solving it.
Conceptually these go on top of your patch, but they could be applied separately.
[1/2]: t5310: correctly remove bitmaps for jgit test [2/2]: pack-objects: default to writing bitmap hash-cache
Documentation/config/pack.txt | 4 +--- builtin/pack-objects.c | 2 +- t/perf/p5310-pack-bitmaps.sh | 3 +-- t/perf/p5311-pack-bitmaps-fetch.sh | 1 - t/t5310-pack-bitmaps.sh | 5 ++--- 5 files changed, 5 insertions(+), 10 deletions(-)
-Peff