Skip to content

Commit

Permalink
Remove bashism from t3210-pack-refs.sh
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dennis Stosberg authored and Junio C Hamano committed Oct 6, 2006
1 parent 422b4a0 commit 26e5fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t3210-pack-refs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 26e5fc3

Please sign in to comment.