• Brad King's avatar
    hooks-chain: Look for chains in project hooks config · 3bde0fa9
    Brad King authored
    If a local hook chain rule is not in the local git configuration
    check for a value defined in .hooks-config.bash:
    
      hooks_chain_pre_commit
      hooks_chain_commit_msg
      hooks_chain_prepare_commit_msg
    
    This allows project to configure chained hooks without adding any
    values to the local git configuration.  Since the project hooks
    config can be versioned with the hook scripts it references this
    ensures a consistent state.
    3bde0fa9
Name
Last commit
Last update
gerrit Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
NOTICE Loading commit data...
commit-msg Loading commit data...
hooks-chain.bash Loading commit data...
hooks-config.bash Loading commit data...
pre-commit Loading commit data...
prepare-commit-msg Loading commit data...