From: Alex Riesen Date: Wed, 4 Jul 2007 12:06:04 +0000 (+0200) Subject: Fix t5516 to create test repo without hooks X-Git-Tag: v1.5.3-rc1~87 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/586e4ce2487932b2ae770aad17d343b9021080e0?ds=inline;hp=--cc Fix t5516 to create test repo without hooks Otherwise the hooks will be executed on cygwin and the test will fail because of the contributed hooks. Signed-off-by: Alex Riesen Signed-off-by: Junio C Hamano --- 586e4ce2487932b2ae770aad17d343b9021080e0 diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh index c0fa2ba404..ca46aafe72 100755 --- a/t/t5516-fetch-push.sh +++ b/t/t5516-fetch-push.sh @@ -11,7 +11,8 @@ mk_empty () { mkdir testrepo && ( cd testrepo && - git init + git init && + mv .git/hooks .git/hooks-disabled ) }