On Sun, Mar 30, 2008 at 04:46:51PM -0700, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html