Skip to content
Snippets Groups Projects
Forked from VTK / VTK
20725 commits behind the upstream repository.
  • Brad King's avatar
    31dd722a
    Add VTK-specific local commit hooks · 31dd722a
    Brad King authored
    Add ".hooks-config.bash" to tell the main hooks to chain to our hooks.
    Add a pre-commit hook that cooperates with SetupForDevelopment.sh to
    ensure the user has run the most recent hook setup script.  Add a
    prepare-commit-msg hook to mention the "WIP:" prefix in the standard
    commented commit message instructions.
    
    Change-Id: I034afb64aa4fbbcaafd70d8a57493495d8736181
    31dd722a
    History
    Add VTK-specific local commit hooks
    Brad King authored
    Add ".hooks-config.bash" to tell the main hooks to chain to our hooks.
    Add a pre-commit hook that cooperates with SetupForDevelopment.sh to
    ensure the user has run the most recent hook setup script.  Add a
    prepare-commit-msg hook to mention the "WIP:" prefix in the standard
    commented commit message instructions.
    
    Change-Id: I034afb64aa4fbbcaafd70d8a57493495d8736181
.hooks-config.bash 304 B
# Loaded by .git/hooks/(pre-commit|commit-msg|prepare-commit-msg)
# during git commit after local hooks have been installed.

hooks_chain_pre_commit="Utilities/Scripts/pre-commit"
hooks_chain_commit_msg="Utilities/Scripts/commit-msg"
hooks_chain_prepare_commit_msg="Utilities/Scripts/prepare-commit-msg"