Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check Git core.fileMode rather than infer from OS. #730

Merged
merged 1 commit into from
May 26, 2022
Merged

Check Git core.fileMode rather than infer from OS. #730

merged 1 commit into from
May 26, 2022

Commits on Apr 28, 2022

  1. Check Git core.fileMode rather than infer from OS.

    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.
    Kurt-von-Laven committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    2cbabf9 View commit details
    Browse the repository at this point in the history