summaryrefslogtreecommitdiff
path: root/Documentation/technical/racy-git.txt
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2018-11-02 06:14:47 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-03 00:12:06 +0900
commit4c7bb45269ccd1fdb15347a675ff16e8a8534f68 (patch)
treeecdca23b0ab6899d88ab6c11e391becfc8092491 /Documentation/technical/racy-git.txt
parentcommit-reach: implement get_reachable_subset (diff)
downloadtgif-4c7bb45269ccd1fdb15347a675ff16e8a8534f68.tar.xz
test-reach: test get_reachable_subset
The get_reachable_subset() method returns the list of commits in the 'to' array that are reachable from at least one commit in the 'from' array. Add tests that check this method works in a few cases: 1. All commits in the 'to' list are reachable. This exercises the early-termination condition. 2. Some commits in the 'to' list are reachable. This exercises the loop-termination condition. 3. No commits in the 'to' list are reachable. This exercises the NULL return condition. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/racy-git.txt')
0 files changed, 0 insertions, 0 deletions