Code

repack: do not fall back to incremental repacking with [-a|-A]
authorBrandon Casey <casey@nrlssc.navy.mil>
Wed, 12 Nov 2008 17:59:06 +0000 (11:59 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Nov 2008 18:28:13 +0000 (10:28 -0800)
commitf7991d1ed37502c0e98dfa95866dfc1a8b08d834
treec169a65c188d922c52e963bc2a3b0f235ff0aea0
parentdd718365cccfddd7d5992a40296de50e7cabdfc8
repack: do not fall back to incremental repacking with [-a|-A]

When repack is called with either the -a or -A option, the user has
requested to repack all objects including those referenced by the
alternates mechanism. Currently, if there are no local packs without
.keep files, then repack will call pack-objects with the
'--unpacked --incremental' options which causes it to exclude alternate
packed objects. So, remove this fallback.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-repack.sh