t / lib-prereq-FILEMODE.shon commit ls-files -k: a directory only can be killed if the index has a non-directory (2eac2a4)
   1#!/bin/sh
   2#
   3# Copyright (c) 2010 Ævar Arnfjörð Bjarmason
   4#
   5
   6if test "$(git config --bool core.filemode)" = false
   7then
   8        say 'filemode disabled on the filesystem'
   9else
  10        test_set_prereq FILEMODE
  11fi