mirror of
https://github.com/git/git.git
synced 2024-11-16 22:14:53 +01:00
535d974285
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>
11 lines
198 B
Bash
11 lines
198 B
Bash
#!/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
|