pre-push hook support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 7 repliesIn review
- v14 patches 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | hooks: Add function to check if a hook existsbuiltin/ builtin/ run-command.c +1 more | +27 | 0 replies | |
| 2/3 | push: Add support for pre-push hooksDocumentation/ builtin/ t/ +2 more | +220 | 3 replies | |
| 3/3 | Add sample pre-push hook scripttemplates/ | +53 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] pre-push hook support
Main changes since the initial version:
* The first patch converts the existing hook callers to use the new find_hook() function.
* Information about what is to be pushed is now sent over a pipe rather than passed as command-line parameters.
Aaron Schrab (3):
hooks: Add function to check if a hook exists
push: Add support for pre-push hooks
Add sample pre-push hook script
Documentation/githooks.txt | 29 +++++++++ builtin/commit.c | 6 +- builtin/push.c | 1 + builtin/receive-pack.c | 25 ++++---- run-command.c | 15 ++++- run-command.h | 1 + t/t5571-pre-push-hook.sh | 129 +++++++++++++++++++++++++++++++++++++++ templates/hooks--pre-push.sample | 53 ++++++++++++++++ transport.c | 60 ++++++++++++++++++ transport.h | 1 + 10 files changed, 300 insertions(+), 20 deletions(-) create mode 100755 t/t5571-pre-push-hook.sh create mode 100644 templates/hooks--pre-push.sample
Signature · 1 line
1.8.1.340.g425b78d