push: error out when the "upstream" semantics does not make sense
[git] / t / lib-prereq-FILEMODE.sh
1 #!/bin/sh
2 #
3 # Copyright (c) 2010 Ævar Arnfjörð Bjarmason
4 #
5
6 if test "$(git config --bool core.filemode)" = false
7 then
8         say 'filemode disabled on the filesystem'
9 else
10         test_set_prereq FILEMODE
11 fi