jgit/org.eclipse.jgit/resources/org/eclipse/jgit
kylezhao 7b0f633b67 CommitGraph: implement commit-graph read
Git introduced a new file storing the topology and some metadata of
the commits in the repo (commitGraph). With this data, git can browse
commit history without parsing the pack, speeding up e.g.
reachability checks.

This change teaches JGit to read commit-graph-format file, following
the upstream format([1]).

JGit can read a commit-graph file from a buffered stream, which means
that we can provide this feature for both FileRepository and
DfsRepository.

[1] https://git-scm.com/docs/commit-graph-format/2.21.0

Bug: 574368
Change-Id: Ib5c0d6678cb242870a0f5841bd413ad3885e95f6
Signed-off-by: kylezhao <kylezhao@tencent.com>
2022-12-16 06:57:06 -05:00
..
gitrepo/internal RepoText: Remove unused externalized string 2019-09-07 01:19:06 +02:00
internal CommitGraph: implement commit-graph read 2022-12-16 06:57:06 -05:00
util/sha1 Move SHA1 compress/recompress files to resource folder 2017-03-18 16:46:58 +01:00