Otherwise the hooks will be executed on cygwin and the test will fail because of the contributed hooks. Signed-off-by: Alex Riesen --- t/t5516-fetch-push.sh | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Before someone tries to say something about Cygwin supporting permissions on NTFS and not on FAT: it is NTFS. The relevant output was: * expecting success: mk_test heads/frotz tags/frotz && if git push testrepo master:frotz then echo "Oops, should have failed" false else check_push_result $the_first_commit heads/frotz tags/frotz fi Initialized empty Git repository in .git/ updating 'refs/heads/frotz' using 'b9c09d6cc74d3857142fb7c082dca65b88254c6d' from 0000000000000000000000000000000000000000 to b9c09d6cc74d3857142fb7c082dca65b88254c6d Generating pack... Done counting 3 objects. Deltifying 3 objects... 100% (3/3) done Writing 3 objects... 100% (3/3) done Total 3 (delta 0), reused 0 (delta 0) Unpacking 3 objects... 100% (3/3) done refs/heads/frotz: 0000000000000000000000000000000000000000 -> b9c09d6cc74d3857142fb7c082dca65b88254c6d updating 'refs/tags/frotz' using 'b9c09d6cc74d3857142fb7c082dca65b88254c6d' from 0000000000000000000000000000000000000000 to b9c09d6cc74d3857142fb7c082dca65b88254c6d Generating pack... Done counting 0 objects. Writing 0 objects... Total 0 (delta 0), reused 0 (delta 0) Unpacking 0 objects... *** The un-annotated tag, frotz, is not allowed in this repository *** Use 'git tag [ -a | -s ]' for tags you want to propagate. error: hooks/update exited with error code 1 error: hook declined to update refs/tags/frotz ng refs/tags/frotz hook declined error: failed to push to 'testrepo' Oops, push refs/tags/frotz failure * FAIL 12: push with ambiguity (2) mk_test heads/frotz tags/frotz && if git push testrepo master:frotz then echo "Oops, should have failed" false else check_push_result $the_first_commit heads/frotz tags/frotz