summaryrefslogtreecommitdiff
path: root/git-repack.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-11 06:05:47 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-03-11 06:07:23 (GMT)
commit2d0048e681dafa8f48593088fb6c2630c3186c96 (patch)
treeb9883cc41beb922200fe9ff07d82795e5e4318a6 /git-repack.sh
parentf3219fbbba32b5100430c17468524b776eb869d6 (diff)
downloadgit-2d0048e681dafa8f48593088fb6c2630c3186c96.zip
git-2d0048e681dafa8f48593088fb6c2630c3186c96.tar.gz
git-2d0048e681dafa8f48593088fb6c2630c3186c96.tar.bz2
repack: prune loose objects when -d is given
[jc: the request originally came from Martin Atukunda, which was improved further by Alex Riesen] Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-repack.sh')
-rwxr-xr-xgit-repack.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-repack.sh b/git-repack.sh
index 3d6fec1..bc90112 100755
--- a/git-repack.sh
+++ b/git-repack.sh
@@ -75,6 +75,7 @@ then
done
)
fi
+ git-prune-packed
fi
case "$no_update_info" in