diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-06-18 11:14:32 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-19 20:46:26 -0700 |
commit | 3da4b609bb14b13672f64af908706462617f53cb (patch) | |
tree | 4930d74aff3855555c647f3b3c28ccde2331606c /name-hash.c | |
parent | commit-graph: create options for split files (diff) | |
download | tgif-3da4b609bb14b13672f64af908706462617f53cb.tar.xz |
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 <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'name-hash.c')
0 files changed, 0 insertions, 0 deletions