mirror of
https://github.com/git/git.git
synced 2024-12-12 03:14:11 +08: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>
12 lines
198 B
Bash
12 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
|