Do linear-time/space rename logic for exact renames
[gitweb.git] / git-commit.sh
index c3b881bfadd7ca20d9e14ab6f1c53a9c365fca72..fcb8443bdfa2a87a436ae79471d91c89e944fffd 100755 (executable)
@@ -612,6 +612,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