• Marcus D. Hanwell's avatar
    ENH: Delay Git hooks setup until the first commit. · 702d8fd7
    Marcus D. Hanwell authored
    Install a small .git/hooks/pre-commit script in the source tree at CMake
    configuration time, instead of telling the user to do it. When the user
    first attempts to commit this bootstrapping hook will trigger and print
    instructions to install the real hooks. This approach allows us to
    require local hooks for commit, but not affect builds.
    702d8fd7
pre-commit 249 Bytes