repack: don't repack local objects in packs with .keep file
commitdd718365cccfddd7d5992a40296de50e7cabdfc8
authorBrandon Casey <casey@nrlssc.navy.mil>
Wed, 12 Nov 2008 17:59:05 +0000 (12 11:59 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Nov 2008 18:28:12 +0000 (12 10:28 -0800)
treedabec4bec194116aa37509b81351ac6deec52c35
parente96fb9b8f90f907d720ea6b71c92e30c2b071f4a
repack: don't repack local objects in packs with .keep file

If the user created a .keep file for a local pack, then it can be inferred
that the user does not want those objects repacked.

This fixes the repack bug tested by t7700.

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