repack: prune loose objects when -d is given
authorJunio C Hamano <junkio@cox.net>
Sat, 11 Mar 2006 06:05:47 +0000 (22:05 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 11 Mar 2006 06:07:23 +0000 (22:07 -0800)
[jc: the request originally came from Martin Atukunda, which was
 improved further by Alex Riesen]

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-repack.sh

index 3d6fec1c9a480887f68d2bde3c184ca1d85d1933..bc901126bf7065e87ae194aaaec3518b90eea290 100755 (executable)
@@ -75,6 +75,7 @@ then
                  done
                )
        fi
+       git-prune-packed
 fi
 
 case "$no_update_info" in