diff --git a/git-repack.sh b/git-repack.sh
index 3f28300566bb78e736af12670027279ee18bce51..f34720701b0a666823bcde0da3d5b67cd2b54d9e 100755 (executable)
--- a/git-repack.sh
+++ b/git-repack.sh
if test "$remove_redandant" = t ; then
echo "Removing redundant packs."
sync
- redundant=$(git-pack-intersect -a)
+ redundant=$(git-pack-redundant --all)
if test "$redundant" != "" ; then
echo $redundant | xargs rm
fi
if test "$remove_redandant" = t
then
sync
- redundant=$(git-pack-intersect -a)
+ redundant=$(git-pack-redundant --all)
if test "$redundant" != "" ; then
echo $redundant | xargs rm
fi