提交 c09a69a8 编写于 作者: J Junio C Hamano

Disable hooks during tests.

Individual tests for hooks would want to have their own tests when
written.  Also we should not pick up from random templates the user
happens to have.
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 f5dce806
......@@ -164,4 +164,8 @@ test=trash
rm -fr "$test"
mkdir "$test"
cd "$test"
git-init-db 2>/dev/null || error "cannot run git-init-db"
git-init-db --template=../../templates/blt/ 2>/dev/null ||
error "cannot run git-init-db"
mv .git/hooks .git/hooks-disabled
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册