aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-12-27 14:58:19 -0800
committerJunio C Hamano <gitster@pobox.com>2013-12-27 14:58:19 -0800
commit53b2a5ff30cde96c5d62f60600996a0a95847842 (patch)
treee7b1e93f7654832e50bf052e69329a93a8d8bcd6 /t
parent73b063130befa7475316a142343de87da61f31e3 (diff)
parent40a4f5a7bf0ffee4fa1fb954b1ebf5daba5bae75 (diff)
downloadgit-53b2a5ff30cde96c5d62f60600996a0a95847842.tar.gz
git-53b2a5ff30cde96c5d62f60600996a0a95847842.tar.xz
Merge branch 'jk/name-pack-after-byte-representation'
Two packfiles that contain the same set of objects have traditionally been named identically, but that made repacking a repository that is already fully packed without any cruft with a different packing parameter cumbersome. Update the convention to name the packfile after the bytestream representation of the data, not after the set of objects in it. * jk/name-pack-after-byte-representation: pack-objects doc: treat output filename as opaque pack-objects: name pack files after trailer hash sha1write: make buffer const-correct
Diffstat (limited to 't')
-rwxr-xr-xt/t5302-pack-index.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5302-pack-index.sh b/t/t5302-pack-index.sh
index fe82025d4..4bbb71875 100755
--- a/t/t5302-pack-index.sh
+++ b/t/t5302-pack-index.sh
@@ -174,11 +174,11 @@ test_expect_success \
test_expect_success \
'[index v1] 5) pack-objects happily reuses corrupted data' \
'pack4=$(git pack-objects test-4 <obj-list) &&
- test -f "test-4-${pack1}.pack"'
+ test -f "test-4-${pack4}.pack"'
test_expect_success \
'[index v1] 6) newly created pack is BAD !' \
- 'test_must_fail git verify-pack -v "test-4-${pack1}.pack"'
+ 'test_must_fail git verify-pack -v "test-4-${pack4}.pack"'
test_expect_success \
'[index v2] 1) stream pack to repository' \