diff --git a/git-commit.sh b/git-commit.sh
index cb14f0621651d2006b08d1eddf67ab3269df84d0..fcb8443bdfa2a87a436ae79471d91c89e944fffd 100755 (executable)
--- a/git-commit.sh
+++ b/git-commit.sh
exit 1
}
+TMP_INDEX=
THIS_INDEX="$GIT_DIR/index"
NEXT_INDEX="$GIT_DIR/next-index$$"
rm -f "$NEXT_INDEX"
if test "$ret" = 0
then
+ git gc --auto
if test -x "$GIT_DIR"/hooks/post-commit
then
"$GIT_DIR"/hooks/post-commit