From: Derrick Stolee Date: Tue, 18 Jun 2019 18:14:33 +0000 (-0700) Subject: commit-graph: clean up chains after flattened write X-Git-Tag: v2.23.0-rc0~38^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ba41112a6331e8b454cac6cfd3ee67ae93957a2c?hp=ba41112a6331e8b454cac6cfd3ee67ae93957a2c commit-graph: clean up chains after flattened write If we write a commit-graph file without the split option, then we write to $OBJDIR/info/commit-graph and start to ignore the chains in $OBJDIR/info/commit-graphs/. Unlink the commit-graph-chain file and expire the graph-{hash}.graph files in $OBJDIR/info/commit-graphs/ during every write. Signed-off-by: Derrick Stolee Signed-off-by: Junio C Hamano ---