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

2018-02-13 Thread Jonathan Tan
On Thu, 8 Feb 2018 15:37:32 -0500 Derrick Stolee wrote: > 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

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

2018-02-08 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