summaryrefslogtreecommitdiffstats
path: root/t/t7700-repack.sh
diff options
context:
space:
mode:
authorBrandon Casey <casey@nrlssc.navy.mil>2008-11-12 18:59:05 +0100
committerJunio C Hamano <gitster@pobox.com>2008-11-12 19:28:12 +0100
commitdd718365cccfddd7d5992a40296de50e7cabdfc8 (patch)
treedabec4bec194116aa37509b81351ac6deec52c35 /t/t7700-repack.sh
parentpack-objects: new option --honor-pack-keep (diff)
downloadgit-dd718365cccfddd7d5992a40296de50e7cabdfc8.tar.xz
git-dd718365cccfddd7d5992a40296de50e7cabdfc8.zip
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>
Diffstat (limited to '')
-rwxr-xr-xt/t7700-repack.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7700-repack.sh b/t/t7700-repack.sh
index 7aaff0bbe0..356afe371b 100755
--- a/t/t7700-repack.sh
+++ b/t/t7700-repack.sh
@@ -4,7 +4,7 @@ test_description='git repack works correctly'
. ./test-lib.sh
-test_expect_failure 'objects in packs marked .keep are not repacked' '
+test_expect_success 'objects in packs marked .keep are not repacked' '
echo content1 > file1 &&
echo content2 > file2 &&
git add . &&