summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-11-12 23:29:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-11-12 23:29:24 (GMT)
commit8996d68ac7052bf96a38a2b36546c4239280279e (patch)
treee80af241f744029434b6c368ea5bd675d34ef497 /t
parent4d53e91c6b2c3f5b5c7375e579a453fc5053c08b (diff)
parenta7df4f52affe49f6b06246b9398e99e1937f9efc (diff)
downloadgit-8996d68ac7052bf96a38a2b36546c4239280279e.zip
git-8996d68ac7052bf96a38a2b36546c4239280279e.tar.gz
git-8996d68ac7052bf96a38a2b36546c4239280279e.tar.bz2
Merge branch 'ps/connectivity-optim'
Regression fix. * ps/connectivity-optim: Revert "connected: do not sort input revisions"
Diffstat (limited to 't')
-rwxr-xr-xt/t6000-rev-list-misc.sh31
1 files changed, 0 insertions, 31 deletions
diff --git a/t/t6000-rev-list-misc.sh b/t/t6000-rev-list-misc.sh
index ef849e5..12def7b 100755
--- a/t/t6000-rev-list-misc.sh
+++ b/t/t6000-rev-list-misc.sh
@@ -169,35 +169,4 @@ test_expect_success 'rev-list --count --objects' '
test_line_count = $count actual
'
-test_expect_success 'rev-list --unsorted-input results in different sorting' '
- git rev-list --unsorted-input HEAD HEAD~ >first &&
- git rev-list --unsorted-input HEAD~ HEAD >second &&
- ! test_cmp first second &&
- sort first >first.sorted &&
- sort second >second.sorted &&
- test_cmp first.sorted second.sorted
-'
-
-test_expect_success 'rev-list --unsorted-input incompatible with --no-walk' '
- cat >expect <<-EOF &&
- fatal: --no-walk is incompatible with --unsorted-input
- EOF
- test_must_fail git rev-list --unsorted-input --no-walk HEAD 2>error &&
- test_cmp expect error &&
- test_must_fail git rev-list --unsorted-input --no-walk=sorted HEAD 2>error &&
- test_cmp expect error &&
- test_must_fail git rev-list --unsorted-input --no-walk=unsorted HEAD 2>error &&
- test_cmp expect error &&
-
- cat >expect <<-EOF &&
- fatal: --unsorted-input is incompatible with --no-walk
- EOF
- test_must_fail git rev-list --no-walk --unsorted-input HEAD 2>error &&
- test_cmp expect error &&
- test_must_fail git rev-list --no-walk=sorted --unsorted-input HEAD 2>error &&
- test_cmp expect error &&
- test_must_fail git rev-list --no-walk=unsorted --unsorted-input HEAD 2>error &&
- test_cmp expect error
-'
-
test_done