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:
48c10cc
)
t5607: make hash size independent
author
brian m. carlson
<redacted>
Fri, 7 Feb 2020 00:52:50 +0000
(
00:52
+0000)
committer
Junio C Hamano
<redacted>
Fri, 7 Feb 2020 19:07:30 +0000
(11:07 -0800)
Use $OID_REGEX instead of a hard-coded regular expression.
Signed-off-by: brian m. carlson <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t5607-clone-bundle.sh
patch
|
blob
|
history
diff --git
a/t/t5607-clone-bundle.sh
b/t/t5607-clone-bundle.sh
index b7a3fdf02dfb4096133d1aca8de412d907ea921b..9108ff6fbd6f52d9df6b9ec52226a71ced8fdc06 100755
(executable)
--- a/
t/t5607-clone-bundle.sh
+++ b/
t/t5607-clone-bundle.sh
@@
-64,7
+64,7
@@
test_expect_success 'ridiculously long subject in boundary' '
test -s heads &&
git fetch long-subject-bundle.bdl &&
sed -n "/^-/{p;q;}" long-subject-bundle.bdl >boundary &&
- grep "^-
[0-9a-f]\\{40\\}
" boundary
+ grep "^-
$OID_REGEX
" boundary
'
test_expect_success 'prerequisites with an empty commit message' '
git clone https://git.99rst.org/PROJECT