t6600-test-reach: generalize *_three_modes
authorAbhishek Kumar <redacted>
Sat, 16 Jan 2021 18:11:11 +0000 (18:11 +0000)
committerJunio C Hamano <redacted>
Tue, 19 Jan 2021 00:21:18 +0000 (16:21 -0800)
commitc0ef139843a27f67a1e02c41944a16a736493351
tree39881adb0c627d0a3629fcb2796b29b7e838f9cd
parentf90fca638e99a031dce8e3aca72427b2f9b4bb38
t6600-test-reach: generalize *_three_modes

In a preparatory step to implement generation number v2, we add tests to
ensure Git can read and parse commit-graph files without Generation Data
chunk. These files represent commit-graph files written by Old Git and
are neccesary for backward compatability.

We extend run_three_modes() and test_three_modes() to *_all_modes() with
the fourth mode being "commit-graph without generation data chunk".

Signed-off-by: Abhishek Kumar <redacted>
Reviewed-by: Taylor Blau <redacted>
Reviewed-by: Derrick Stolee <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t6600-test-reach.sh
git clone https://git.99rst.org/PROJECT