diff --git a/git-commit.sh b/git-commit.sh
index c3b881bfadd7ca20d9e14ab6f1c53a9c365fca72..fcb8443bdfa2a87a436ae79471d91c89e944fffd 100755 (executable)
--- a/git-commit.sh
+++ b/git-commit.sh
if test "$ret" = 0
then
+ git gc --auto
if test -x "$GIT_DIR"/hooks/post-commit
then
"$GIT_DIR"/hooks/post-commit