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:
11b6961
)
t6101: make hash size independent
author
brian m. carlson
<redacted>
Wed, 29 Jul 2020 23:13:55 +0000
(23:13 +0000)
committer
Junio C Hamano
<redacted>
Thu, 30 Jul 2020 16:16:46 +0000
(09:16 -0700)
Use $OID_REGEX instead of a hard-coded regular expression.
Signed-off-by: brian m. carlson <redacted>
Reviewed-by: Eric Sunshine <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t6101-rev-parse-parents.sh
patch
|
blob
|
history
diff --git
a/t/t6101-rev-parse-parents.sh
b/t/t6101-rev-parse-parents.sh
index 7683e4a1142a6ee31a1f1fd51b774b19fc2c7401..7531262a5e33d8a650879bf3316251a1062d1dc3 100755
(executable)
--- a/
t/t6101-rev-parse-parents.sh
+++ b/
t/t6101-rev-parse-parents.sh
@@
-34,7
+34,7
@@
test_expect_success 'setup' '
'
test_expect_success 'start is valid' '
- git rev-parse start | grep "^
[0-9a-f]\{40\}
$"
+ git rev-parse start | grep "^
$OID_REGEX
$"
'
test_expect_success 'start^0' '
git clone https://git.99rst.org/PROJECT