add pre-auto-gc hook for git-gc --auto
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | git-gc --auto: add pre-auto-gc hookbuiltin-gc.c | +22 | 0 replies | |
| 2/4 | git-gc: add a --no-verify option to bypass the pre-auto-gc hookDocumentation/ builtin-gc.c | +7 | 0 replies | |
| 3/4 | Documentation/hooks: add pre-auto-gc hookDocumentation/ | +10 | 0 replies | |
| 4/4 | templates: add an example pre-auto-gc hooktemplates/ | +29 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] add pre-auto-gc hook for git-gc --auto
Quoted 2 lines · Linus Torvalds
How about making it more akin to a pre-auto-gc "hook" - run a script instead of hardcoding something like this!
Something like this?
Miklos Vajna (4):
git-gc --auto: add pre-auto-gc hook
git-gc: add a --no-verify option to bypass the pre-auto-gc hook Documentation/hooks: add pre-auto-gc hook
templates: add an example pre-auto-gc hook
Documentation/git-gc.txt | 4 ++++ Documentation/hooks.txt | 10 ++++++++++ builtin-gc.c | 24 ++++++++++++++++++++++++ templates/hooks--pre-auto-gc | 29 +++++++++++++++++++++++++++++ 4 files changed, 67 insertions(+), 0 deletions(-) create mode 100644 templates/hooks--pre-auto-gc