<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/lib-bitmap.sh, branch v2.35.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.35.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.35.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2021-09-01T20:56:43Z</updated>
<entry>
<title>t/helper/test-read-midx.c: add --checksum mode</title>
<updated>2021-09-01T20:56:43Z</updated>
<author>
<name>Taylor Blau</name>
<email>me@ttaylorr.com</email>
</author>
<published>2021-08-31T20:52:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b1b82d1c3006ff9e25873d4ff01f976a13b526bb'/>
<id>urn:sha1:b1b82d1c3006ff9e25873d4ff01f976a13b526bb</id>
<content type='text'>
Subsequent tests will want to check for the existence of a multi-pack
bitmap which matches the multi-pack-index stored in the pack directory.

The multi-pack bitmap includes the hex checksum of the MIDX it
corresponds to in its filename (for example,
'$packdir/multi-pack-index-&lt;checksum&gt;.bitmap'). As a result, some tests
want a way to learn what '&lt;checksum&gt;' is.

This helper addresses that need by printing the checksum of the
repository's multi-pack-index.

Signed-off-by: Taylor Blau &lt;me@ttaylorr.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t5310: move some tests to lib-bitmap.sh</title>
<updated>2021-09-01T20:56:43Z</updated>
<author>
<name>Taylor Blau</name>
<email>me@ttaylorr.com</email>
</author>
<published>2021-08-31T20:52:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aeb4657242a4f7d9e507f88b24652f30f748cb56'/>
<id>urn:sha1:aeb4657242a4f7d9e507f88b24652f30f748cb56</id>
<content type='text'>
We'll soon be adding a test script that will cover many of the same
bitmap concepts as t5310, but for MIDX bitmaps. Let's pull out as many
of the applicable tests as we can so we don't have to rewrite them.

There should be no functional change to t5310; we still run the same
operations in the same order.

Signed-off-by: Taylor Blau &lt;me@ttaylorr.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>test-lib-functions: move function to lib-bitmap.sh</title>
<updated>2021-02-10T21:54:34Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2021-02-09T21:41:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ddfe900612119e4e8c21c812a0ced4a72e5d66b7'/>
<id>urn:sha1:ddfe900612119e4e8c21c812a0ced4a72e5d66b7</id>
<content type='text'>
Move a function added to test-lib-functions.sh in ea047a8eb4f (t5310:
factor out bitmap traversal comparison, 2020-02-14) into a new
lib-bitmap.sh.

The test-lib-functions.sh file should be for functions that are widely
used across the test suite, if something's only used by a few tests it
makes more sense to have it in a lib-*.sh file.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
