commit-graph: read only from specific pack-indexes
authorDerrick Stolee <stolee@gmail.com>
Mon, 19 Feb 2018 18:53:25 +0000 (13:53 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Feb 2018 20:30:06 +0000 (12:30 -0800)
commit758c86cbbb82d2a04a3e4e611cd67ef284241518
tree8abea2fc867f4c56f3b3f8dea6bfeca97d5465f1
parentc61641292e0886e0d8516efebc352f8c61f7c8c3
commit-graph: read only from specific pack-indexes

Teach git-commit-graph to inspect the objects only in a certain list
of pack-indexes within the given pack directory. This allows updating
the commit graph iteratively, since we add all commits stored in a
previous commit graph.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-commit-graph.txt
builtin/commit-graph.c
commit-graph.c
commit-graph.h
packfile.c
packfile.h
t/t5318-commit-graph.sh