Skip to content

Commit

Permalink
Fix t5516 to create test repo without hooks
Browse files Browse the repository at this point in the history
Otherwise the hooks will be executed on cygwin and the test will fail
because of the contributed hooks.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Alex Riesen authored and Junio C Hamano committed Jul 4, 2007
1 parent c57a349 commit 586e4ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/t5516-fetch-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ mk_empty () {
mkdir testrepo &&
(
cd testrepo &&
git init
git init &&
mv .git/hooks .git/hooks-disabled
)
}

Expand Down

0 comments on commit 586e4ce

Please sign in to comment.