Re: [PATCH v5 11/13] commit-graph: read only from specific pack-indexes

2018-02-27 Thread Stefan Beller
> @@ -76,10 +77,18 @@ static int graph_read(int argc, const char **argv) > > static int graph_write(int argc, const char **argv) > { > + const char **pack_indexes = NULL; > + int packs_nr = 0; > + const char **lines = NULL; > + int lines_nr = 0; > + int lines_alloc

[PATCH v5 11/13] commit-graph: read only from specific pack-indexes

2018-02-26 Thread Derrick Stolee
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. Signed-off-by: Derrick Stolee --- Documentation/git-commit-graph.txt | 11 ++-