X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-repack.sh;h=0868734723b3c96144bfa9360a9e19ebae1995f7;hb=9affecbc89538b6fd63f772b6f14047bced9345e;hp=0144c2d7b95d5393b7993c95e6aff46f18f01e8b;hpb=988d9fd8a42b388c30625378dcb521a3b2021b72;p=git.git diff --git a/git-repack.sh b/git-repack.sh index 0144c2d7b..086873472 100755 --- a/git-repack.sh +++ b/git-repack.sh @@ -71,11 +71,7 @@ case ",$all_into_one," in existing="$existing $e" fi done - if test -n "$existing" - then - args="--kept-pack-only" - fi - if test -n "$args" -a -n "$unpack_unreachable" -a \ + if test -n "$existing" -a -n "$unpack_unreachable" -a \ -n "$remove_redundant" then args="$args $unpack_unreachable" @@ -185,5 +181,5 @@ fi case "$no_update_info" in t) : ;; -*) git-update-server-info ;; +*) git update-server-info ;; esac