From: Derrick Stolee Date: Tue, 18 Jun 2019 18:14:32 +0000 (-0700) Subject: commit-graph: verify chains with --shallow mode X-Git-Tag: v2.23.0-rc0~38^2~5 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3da4b609bb14b13672f64af908706462617f53cb?ds=inline;hp=3da4b609bb14b13672f64af908706462617f53cb commit-graph: verify chains with --shallow mode If we wrote a commit-graph chain, we only modified the tip file in the chain. It is valuable to verify what we wrote, but not waste time checking files we did not write. Add a '--shallow' option to the 'git commit-graph verify' subcommand and check that it does not read the base graph in a two-file chain. Making the verify subcommand read from a chain of commit-graphs takes some rearranging of the builtin code. Signed-off-by: Derrick Stolee Signed-off-by: Junio C Hamano ---