From: Brandon Casey Date: Wed, 12 Nov 2008 17:59:05 +0000 (-0600) Subject: repack: don't repack local objects in packs with .keep file X-Git-Tag: v1.6.1-rc1~41^2~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dd718365cccfddd7d5992a40296de50e7cabdfc8;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/git-repack.sh b/git-repack.sh index d39eb6cea..8bb22014b 100755 --- a/git-repack.sh +++ b/git-repack.sh @@ -83,7 +83,7 @@ case ",$all_into_one," in esac args="$args $local $quiet $no_reuse$extra" -names=$(git pack-objects --non-empty --all --reflog $args file1 && echo content2 > file2 && git add . &&