Export matches_pack_name() and fix its return value
[gitweb.git] / git-commit.sh
index 1d04f1ff31cf99a6dec1d52866668007ab2dae72..d22d35eadc7c2c3dcc4825ddbf034e81d376c2ec 100755 (executable)
@@ -652,6 +652,7 @@ git rerere
 
 if test "$ret" = 0
 then
+       git gc --auto
        if test -x "$GIT_DIR"/hooks/post-commit
        then
                "$GIT_DIR"/hooks/post-commit