[Rev 01] RFR: git-jcheck: add support for multiple pre-push hooks
rwestberg at openjdk.java.net
Wed Feb 26 08:11:41 UTC 2020
On Wed, 26 Feb 2020 08:09:53 GMT, Erik Helin <ehelin at openjdk.org> wrote:
>> Hi all,
>> please review this patch that adds support for multiple kinds of pre-push hooks
>> to `git-jcheck`. A user can now set up either the "branches" pre-push hook
>> and/or the "commits" pre-push hook via `git jcheck
>> --setup-pre-push-hooks=commits,branches`. The "commits" pre-push hook will run
>> all commits about to pushed throught `git-jcheck`. The "branches"
>> pre-push hook will check that you are not pushing to a branch in your personal
>> fork that is also present in the upstream repository (rarely a good idea).
>> - Manual testing of pre-push hooks and `git-jcheck` on Linux x64
> The pull request has been updated with 1 additional commit.
Looks good, perhaps would be cleaner to pass the state with an environment variable (to avoid leaving marker files in case the process is killed), but should hopefully not be an issue.
Marked as reviewed by rwestberg (Reviewer).
More information about the skara-dev