diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-10-21 13:47:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-10-21 13:47:22 -0700 |
commit | 20341dd970b331fd721225ca630548ec1e90d8a5 (patch) | |
tree | 3f91b069a9dbea638dd751599eed75b1bec926b1 /t | |
parent | 208f689610e524ce9858f9d28635f7fea51b8d96 (diff) | |
parent | 031e6c898f61db1ae0c0be641eac6532c1000d56 (diff) | |
download | git-20341dd970b331fd721225ca630548ec1e90d8a5.tar.gz |
Merge branch 'maint'
* maint:
GIT 1.6.0.3
rehabilitate 'git index-pack' inside the object store
Diffstat (limited to 't')
-rwxr-xr-x | t/t5302-pack-index.sh | 10 |
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 |