X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-repack.sh;h=683960b04d6b743e687b2eb640d2b0e00ccfd313;hb=0bb3a0ba9e3cbb283a747e4736bcf7484d076a73;hp=10f735cff561c6606f5c2bd3f9feec1d6f6ae52e;hpb=488ee2fe21ca69b90aa2b43dc9e30279a12cca63;p=git.git diff --git a/git-repack.sh b/git-repack.sh index 10f735cff..683960b04 100755 --- a/git-repack.sh +++ b/git-repack.sh @@ -5,7 +5,7 @@ OPTIONS_KEEPDASHDASH= OPTIONS_SPEC="\ -git-repack [options] +git repack [options] -- a pack everything in a single pack A same as -a, and turn unreachable objects loose @@ -44,11 +44,7 @@ do shift done -# Later we will default repack.UseDeltaBaseOffset to true -default_dbo=false - -case "`git config --bool repack.usedeltabaseoffset || - echo $default_dbo`" in +case "`git config --bool repack.usedeltabaseoffset || echo true`" in true) extra="$extra --delta-base-offset" ;; esac @@ -125,7 +121,6 @@ then # We know $existing are all redundant. if [ -n "$existing" ] then - sync ( cd "$PACKDIR" && for e in $existing do