summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit-gc5
1 files changed, 3 insertions, 2 deletions
diff --git a/git-gc b/git-gc
index e96207c..8d5de89 100755
--- a/git-gc
+++ b/git-gc
@@ -1,6 +1,7 @@
#! /bin/sh
-echo "* prune" && git prune && \
+
+echo "* repack" && git repack -adf && \
+ echo "* prune" && git prune && \
echo "* prune-packed" && git prune-packed && \
echo "* gc" && git gc --aggressive && \
- echo "* repack" && git repack -a && \
echo "* done"