[PATCH 0/4] add pre-auto-gc hook for git-gc --auto
On Sun, Mar 30, 2008 at 04:46:51PM -0700, Linus Torvalds <torvalds@linux-foundation.org> wrote:
> 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