Browse Source
Change the five tests that were all checking "git config --bool core.filemode" to use a new FILEMODE prerequisite in lib-prereq-FILEMODE.sh. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Ævar Arnfjörð Bjarmason
15 years ago
committed by
Junio C Hamano
6 changed files with 16 additions and 31 deletions
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh |
||||
# |
||||
# Copyright (c) 2010 Ævar Arnfjörð Bjarmason |
||||
# |
||||
|
||||
if test "$(git config --bool core.filemode)" = false |
||||
then |
||||
say 'filemode disabled on the filesystem' |
||||
else |
||||
test_set_prereq FILEMODE |
||||
fi |
Loading…
Reference in new issue