commit-graph: test verify across alternates
commit5b15eb397d176c557a82e872d6b4043aa7589874
authorDerrick Stolee <dstolee@microsoft.com>
Tue, 18 Jun 2019 18:14:36 +0000 (18 11:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2019 03:46:27 +0000 (19 20:46 -0700)
tree5d1d20dac20bd054a53ed9c3a74e3a1f363e59c6
parent16110c9348fc2022e78f2581968cf428c056dc5b
commit-graph: test verify across alternates

The 'git commit-graph verify' subcommand loads a commit-graph from
a given object directory instead of using the standard method
prepare_commit_graph(). During development of load_commit_graph_chain(),
a version did not include prepare_alt_odb() as it was previously
run by prepare_commit_graph() in most cases.

Add a test that prevents that mistake from happening again.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5324-split-commit-graph.sh