Community
Participate
Working Groups
When creating a bitmap using JGit, two packfiles are created: 1. All heads, excluding tags and non-heads 2. Everything else The 1. is accompanied with a bitmap for all the commits included in it, excluding all non-heads and tags. What I see is that *IF* a repository contains annotated tags, they are included in the bitmap. If the number of annotated tags is significant, the bitmap is so bloated to become unusable. To reproduce the issue: - Create a repository with 1 branch and 100 commits - Set pack.bitmapContiguousCommitCount=1 - Create 100 annotated tags, one per commit Expected behaviour: - JGit GC create 1 bitmap for the single branch Observed behaviour: - JGit GC creates 101 bitmaps, one for the single branch + one per every annotated tag
Gerrit change https://git.eclipse.org/r/c/jgit/jgit/+/197851 was merged to [stable-5.13]. Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=e4529cd39c42872e9b4f80d38659f9de37956634