@matheusbsbs / matheus-bagliano / commits / 26e5fc3415
Fork 0

Remove bashism from t3210-pack-refs.sh

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>

Dennis Stosberg committed Oct 6, 2006 at 11:10 UTC 26e5fc3415a294546b4009c7280fed4d367d4e62
1 file changed +1 -1
t/t3210-pack-refs.sh
+1 -1
@@ -23,7 +23,7 @@ SHA1=
23 test_expect_success \
24 'see if git show-ref works as expected' \
25 'git-branch a &&
26 - SHA1=$(< .git/refs/heads/a) &&
26 + SHA1=`cat .git/refs/heads/a` &&
27 echo "$SHA1 refs/heads/a" >expect &&
28 git-show-ref a >result &&
29 diff expect result'