Merge branch 'ib/rev-parse-parseopt-argh'
[gitweb.git] / builtin / gc.c
index 63d400bcb2092b1751427994b35057f72b04de17..11cf295515a25b1df19af7a14c2cd03911d957b5 100644 (file)
@@ -184,7 +184,7 @@ static int need_to_gc(void)
        else if (!too_many_loose_objects())
                return 0;
 
-       if (run_hook(NULL, "pre-auto-gc", NULL))
+       if (run_hook_le(NULL, "pre-auto-gc", NULL))
                return 0;
        return 1;
 }