Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Remove bashism from t3210-pack-refs.sh
author
Dennis Stosberg
<dennis@stosberg.net>
Fri, 6 Oct 2006 09:10:54 +0000
(11:10 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 6 Oct 2006 09:52:37 +0000
(
02:52
-0700)
This bashism makes the test fail if /bin/sh is not bash.
Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t3210-pack-refs.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
422b4a0
)
diff --git
a/t/t3210-pack-refs.sh
b/t/t3210-pack-refs.sh
index f31e79c561fd1adee699850d0e78755314c4c2ee..ca5bd49ba6cc86f15d7633ecebaee1c569229256 100755
(executable)
--- a/
t/t3210-pack-refs.sh
+++ b/
t/t3210-pack-refs.sh
@@
-23,7
+23,7
@@
SHA1=
test_expect_success \
'see if git show-ref works as expected' \
'git-branch a &&
- SHA1=
$(< .git/refs/heads/a)
&&
+ SHA1=
`cat .git/refs/heads/a`
&&
echo "$SHA1 refs/heads/a" >expect &&
git-show-ref a >result &&
diff expect result'