summaryrefslogtreecommitdiff
path: root/git-repack.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-10 22:05:47 -0800
committerJunio C Hamano <junkio@cox.net>2006-03-10 22:07:23 -0800
commit2d0048e681dafa8f48593088fb6c2630c3186c96 (patch)
treeb9883cc41beb922200fe9ff07d82795e5e4318a6 /git-repack.sh
parentf3219fbbba32b5100430c17468524b776eb869d6 (diff)
downloadgit-2d0048e681dafa8f48593088fb6c2630c3186c96.tar.gz
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 3d6fec1c9a..bc901126bf 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