]> asedeno.scripts.mit.edu Git - git.git/blobdiff - git-repack.sh
Merge branch 'cj/doc-format'
[git.git] / git-repack.sh
index 0144c2d7b95d5393b7993c95e6aff46f18f01e8b..1782a23b26106545dde94a63a42340b3427cb04b 100755 (executable)
@@ -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"