提交 26e5fc34 编写于 作者: D Dennis Stosberg 提交者: Junio C Hamano

Remove bashism from t3210-pack-refs.sh

This bashism makes the test fail if /bin/sh is not bash.
Signed-off-by: NDennis Stosberg <dennis@stosberg.net>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 422b4a0e
......@@ -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'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册