Re: cherry-pick / pre-commit hook?
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Dec 27, 2010, 09:37 UTC
- Message-ID
- <20101227093729.GB1201@burratino>
- In-Reply-To
- <m2d3oo9cwr.wl%dave@boostpro.com>
Dave Abrahams wrote:
> if you're going to have a "pre-commit hook" concept, > but not run that hook for some kinds of commits, then that fact needs > to be documented.
True, and thanks for a reminder. Suggested wording?
The current githooks(5) says
pre-commit This hook is invoked by git commit, and can be bypassed with --no-verify option.
and leaves the question of whether it is invoked by git cherry-pick unanswered.