Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-10-22 00:47:22 +0400
committerJunio C Hamano <gitster@pobox.com>2008-10-22 00:47:22 +0400
commit20341dd970b331fd721225ca630548ec1e90d8a5 (patch)
tree3f91b069a9dbea638dd751599eed75b1bec926b1 /t
parent208f689610e524ce9858f9d28635f7fea51b8d96 (diff)
parent031e6c898f61db1ae0c0be641eac6532c1000d56 (diff)
Merge branch 'maint'
* maint: GIT 1.6.0.3 rehabilitate 'git index-pack' inside the object store
Diffstat (limited to 't')
-rwxr-xr-xt/t5302-pack-index.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/t5302-pack-index.sh b/t/t5302-pack-index.sh
index 6424db1f28..344ab25b8b 100755
--- a/t/t5302-pack-index.sh
+++ b/t/t5302-pack-index.sh
@@ -177,4 +177,14 @@ test_expect_success \
".git/objects/pack/pack-${pack1}.pack" 2>&1) &&
echo "$err" | grep "CRC mismatch"'
+test_expect_success 'running index-pack in the object store' '
+ rm -f .git/objects/pack/* &&
+ cp test-1-${pack1}.pack .git/objects/pack/pack-${pack1}.pack &&
+ (
+ cd .git/objects/pack
+ git index-pack pack-${pack1}.pack
+ ) &&
+ test -f .git/objects/pack/pack-${pack1}.idx
+'
+
test_done