• Kurt von Laven's avatar
    Check Git core.fileMode rather than infer from OS. · 2cbabf90
    Kurt von Laven 创作于
    There was already a guard preventing the check-executables-have-shebangs
    hook from raising false positives on win32 by looking up the Git file
    mode rather than relying on the file mode in the file system. Git already
    automatically probes the file system for executable bit support. Leverage
    Git's core.fileMode config variable to prevent false positives on all
    file systems that don't track executable bits.
    2cbabf90