diff options
-rwxr-xr-x | git-repack.sh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/git-repack.sh b/git-repack.sh index 8bb22014b..4d313d136 100755 --- a/git-repack.sh +++ b/git-repack.sh @@ -71,13 +71,10 @@ case ",$all_into_one," in existing="$existing $e" fi done - fi - if test -z "$args" - then - args='--unpacked --incremental' - elif test -n "$unpack_unreachable" - then - args="$args $unpack_unreachable" + if test -n "$args" -a -n "$unpack_unreachable" + then + args="$args $unpack_unreachable" + fi fi ;; esac |