On Mon, Jun 28, 2010 at 11:58, Eric Raible <raible@xxxxxxxxx> wrote: > Chris Packham <judge.packham <at> gmail.com> writes: > >> So a hook like >> >> #! /bin/sh >> echo "repository needs git gc" >> exit 1 >> >> Should cause the auto gc to be skipped. > > Except wouldn't you also need a mechanism > to allow an explicit gc to actually proceed? > Only if you're explicitly calling "git gc --auto" instead of "git gc". That hook should only run for "git gc --auto". -- 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