summaryrefslogtreecommitdiffstats
path: root/git-gc
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-07-31 11:38:30 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-07-31 11:38:30 +0200
commitf3b4c8a937cf98d4b9e4da2c47f902c39d485ef4 (patch)
tree3d8dd7441a9ad13d80a05116b4a76bf0a965c088 /git-gc
parent8fc4fdce522bb67bdf72a1fb1961927eb3c26ddc (diff)
downloadbin-f3b4c8a937cf98d4b9e4da2c47f902c39d485ef4.zip
bin-f3b4c8a937cf98d4b9e4da2c47f902c39d485ef4.tar.gz
git-gc: nothing really
Diffstat (limited to 'git-gc')
-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"