Re: [PATCH v2 08/14] commit-graph: implement git-commit-graph --clear

2018-02-01 Thread SZEDER Gábor
> Teach Git to delete the current 'graph_head' file and the commit graph > it references. And will it leave other, non-important graph files behind? Looking at the code it indeed does. What is the use case for keeping the non-important graph files? > This is a good safety valve if somehow the

[PATCH v2 08/14] commit-graph: implement git-commit-graph --clear

2018-01-30 Thread Derrick Stolee
Teach Git to delete the current 'graph_head' file and the commit graph it references. This is a good safety valve if somehow the file is corrupted and needs to be recalculated. Since the commit graph is a summary of contents already in the ODB, it can be regenerated. Signed-off-by: Derrick Stolee