]> source.dussan.org Git - jgit.git/commit
PackExt: Add a reverse index extension. 88/196888/2
authorAnna Papitto <annapapitto@google.com>
Thu, 10 Nov 2022 22:45:46 +0000 (14:45 -0800)
committerAnna Papitto <annapapitto@google.com>
Tue, 15 Nov 2022 23:30:50 +0000 (15:30 -0800)
commited99797970684fa2be422ddd4d1d068f4e6c7602
tree288a5c0a7deae7aa37196e5d6510b3465588b1c2
parentad9c217f4954dc50f629b3eb6ae387b6940a5023
PackExt: Add a reverse index extension.

There is no reverse index PackExt because the reverse index is not currently
written to a file. This prevents fine-grained performance reporting for reverse
indexes, which will be useful when introducing a reverse index file and
observing performance changes.

Add a reverse index extension that matches the one in cgit
(https://github.com/git/git/blob/9bf691b78cf906751e65d65ba0c6ffdcd9a5a12c/Documentation/gitformat-pack.txt#L302)
in preparation for adding a reverse index file while observing
performance before and after.

Change-Id: Iee53f1e01cf645a3c468892fcf97c8444f9a784a
Signed-off-by: Anna Papitto <annapapitto@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackExt.java