Skip to content
Snippets Groups Projects
Forked from ParaView / ParaView
Source project has a limited visibility.
  • Marcus D. Hanwell's avatar
    702d8fd7
    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
    History
    ENH: Delay Git hooks setup until the first commit.
    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.