diff options
Diffstat (limited to 'git-repack.sh')
-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 8bb22014b9..4d313d136e 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 |