Commit [3bde0f]  Maximize  Restore  History

hooks-chain: Look for chains in project hooks config

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.

Brad King Brad King 2011-10-06

changed hooks-chain.bash
hooks-chain.bash Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks