test-reach: add rev-list tests
authorDerrick Stolee <stolee@gmail.com>
Thu, 1 Nov 2018 13:46:19 +0000 (13:46 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Nov 2018 03:14:22 +0000 (12:14 +0900)
commitd6b40712dc1733613ca8e05ac2f456f5ce4ddb41
treeb2c8cb3bb02c1659445f07d0c830092c36404b57
parent4b47a9a85ee43de37986721e5c5cb70f5652544b
test-reach: add rev-list tests

The rev-list command is critical to Git's functionality. Ensure it
works in the three commit-graph environments constructed in
t6600-test-reach.sh. Here are a few important types of rev-list
operations:

* Basic: git rev-list --topo-order HEAD
* Range: git rev-list --topo-order compare..HEAD
* Ancestry: git rev-list --topo-order --ancestry-path compare..HEAD
* Symmetric Difference: git rev-list --topo-order compare...HEAD

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6600-test-reach.sh