Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-gc --auto: run "repack -A -d -l" as necessary.
[gitweb.git]
/
git-commit.sh
diff --git
a/git-commit.sh
b/git-commit.sh
index 1d04f1ff31cf99a6dec1d52866668007ab2dae72..d22d35eadc7c2c3dcc4825ddbf034e81d376c2ec 100755
(executable)
--- a/
git-commit.sh
+++ b/
git-commit.sh
@@
-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