git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
0fbdb52
)
t1512: skip test if not using SHA-1
author
brian m. carlson
<redacted>
Sun, 13 May 2018 02:24:18 +0000
(
02:24
+0000)
committer
Junio C Hamano
<redacted>
Mon, 14 May 2018 02:02:01 +0000
(11:02 +0900)
This test relies on objects with colliding short names which are
necessarily dependent on the hash used. Skip the test if we're not
using SHA-1.
Signed-off-by: brian m. carlson <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t1512-rev-parse-disambiguation.sh
patch
|
blob
|
history
diff --git
a/t/t1512-rev-parse-disambiguation.sh
b/t/t1512-rev-parse-disambiguation.sh
index 711704ba5a052b15d94ff1ce958ada3fb86530a9..6537f30c9e7ed0ef8c05fbdea6b48c25f51ed33d 100755
(executable)
--- a/
t/t1512-rev-parse-disambiguation.sh
+++ b/
t/t1512-rev-parse-disambiguation.sh
@@
-22,6
+22,12
@@
one tagged as v1.0.0. They all have one regular file each.
. ./test-lib.sh
+if ! test_have_prereq SHA1
+then
+ skip_all='not using SHA-1 for objects'
+ test_done
+fi
+
test_expect_success 'blob and tree' '
test_tick &&
(
git clone https://git.99rst.org/PROJECT