Merge branch 'jc/autogc' into js/rebase-i
[gitweb.git] / git-commit.sh
index cb14f0621651d2006b08d1eddf67ab3269df84d0..44ccc4418e9891dc2027c1f6bbd0c692a08f5e4c 100755 (executable)
@@ -611,6 +611,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