Re: [PATCH v3 01/17] commit: use config-based hooks
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 1, 2021, 22:08 UTC
- Message-ID
- <xmqqlfc7jv9p.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20201222000435.1529768-2-emilyshaffer@google.com>
Emily Shaffer <emilyshaffer@google.com> writes:
> Because all but 'post-commit' hooks are expected to make some state > change, force all but 'post-commit' hook to run in series.
OK. And a sequence of hooks that run in series are expected to use the output from the previous one as its input?
> 'post-commit' > "is meant primarily for notification, and cannot affect the outcome of > `git commit`," so it is fine to run in parallel.
Makes sense.