<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Makefile, branch v2.46.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.46.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.46.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2024-07-15T17:11:44Z</updated>
<entry>
<title>Merge branch 'cp/unit-test-reftable-record'</title>
<updated>2024-07-15T17:11:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-07-15T17:11:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9118e46e8175c25b505b1fd5b384c8931f027e17'/>
<id>urn:sha1:9118e46e8175c25b505b1fd5b384c8931f027e17</id>
<content type='text'>
A test in reftable library has been rewritten using the unit test
framework.

* cp/unit-test-reftable-record:
  t-reftable-record: add tests for reftable_log_record_compare_key()
  t-reftable-record: add tests for reftable_ref_record_compare_name()
  t-reftable-record: add index tests for reftable_record_is_deletion()
  t-reftable-record: add obj tests for reftable_record_is_deletion()
  t-reftable-record: add log tests for reftable_record_is_deletion()
  t-reftable-record: add ref tests for reftable_record_is_deletion()
  t-reftable-record: add comparison tests for obj records
  t-reftable-record: add comparison tests for index records
  t-reftable-record: add comparison tests for ref records
  t-reftable-record: add reftable_record_cmp() tests for log records
  t: move reftable/record_test.c to the unit testing framework
</content>
</entry>
<entry>
<title>t: migrate helper/test-oidmap.c to unit-tests/t-oidmap.c</title>
<updated>2024-07-03T16:12:14Z</updated>
<author>
<name>Ghanshyam Thakkar</name>
<email>shyamthakkar001@gmail.com</email>
</author>
<published>2024-07-03T06:29:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=28c1c077001d5cf715eb6264d75bc2537aa8cfd2'/>
<id>urn:sha1:28c1c077001d5cf715eb6264d75bc2537aa8cfd2</id>
<content type='text'>
helper/test-oidmap.c along with t0016-oidmap.sh test the oidmap.h
library which is built on top of hashmap.h.

Migrate them to the unit testing framework for better performance,
concise code and better debugging. Along with the migration also plug
memory leaks and make the test logic independent for all the tests.
The migration removes 'put' tests from t0016, because it is used as
setup to all the other tests, so testing it separately does not yield
any benefit.

Mentored-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Mentored-by: Kaartic Sivaraam &lt;kaartic.sivaraam@gmail.com&gt;
Reviewed-by: Josh Steadmon &lt;steadmon@google.com&gt;
Helped-by: Phillip Wood &lt;phillip.wood123@gmail.com&gt;
Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Ghanshyam Thakkar &lt;shyamthakkar001@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t: move reftable/record_test.c to the unit testing framework</title>
<updated>2024-07-02T15:12:24Z</updated>
<author>
<name>Chandra Pratap</name>
<email>chandrapratap3519@gmail.com</email>
</author>
<published>2024-07-02T07:22:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ba9661b457effa34b6f6188e10546d00e4a49d54'/>
<id>urn:sha1:ba9661b457effa34b6f6188e10546d00e4a49d54</id>
<content type='text'>
reftable/record_test.c exercises the functions defined in
reftable/record.{c, h}. Migrate reftable/record_test.c to the
unit testing framework. Migration involves refactoring the tests
to use the unit testing framework instead of reftable's test
framework, and renaming the tests to fit unit-tests' naming scheme.

While at it, change the type of index variable 'i' to 'size_t'
from 'int'. This is because 'i' is used in comparison against
'ARRAY_SIZE(x)' which is of type 'size_t'.

Also, use set_hash() which is defined locally in the test file
instead of set_test_hash() which is defined by
reftable/test_framework.{c, h}. This is fine to do as both these
functions are similarly implemented, and
reftable/test_framework.{c, h} is not #included in the ported test.

Get rid of reftable_record_print() from the tests as well, because
it clutters the test framework's output and we have no way of
verifying the output.

Mentored-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Mentored-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Chandra Pratap &lt;chandrapratap3519@gmail.com&gt;
Acked-by: Karthik Nayak &lt;karthik.188@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tb/pseudo-merge-reachability-bitmap'</title>
<updated>2024-06-24T23:39:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-06-24T23:39:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ffa47b75cf9032c1655985f8ba934d2ba5c60e81'/>
<id>urn:sha1:ffa47b75cf9032c1655985f8ba934d2ba5c60e81</id>
<content type='text'>
The pseudo-merge reachability bitmap to help more efficient storage
of the reachability bitmap in a repository with too many refs has
been added.

* tb/pseudo-merge-reachability-bitmap: (26 commits)
  pack-bitmap.c: ensure pseudo-merge offset reads are bounded
  Documentation/technical/bitmap-format.txt: add missing position table
  t/perf: implement performance tests for pseudo-merge bitmaps
  pseudo-merge: implement support for finding existing merges
  ewah: `bitmap_equals_ewah()`
  pack-bitmap: extra trace2 information
  pack-bitmap.c: use pseudo-merges during traversal
  t/test-lib-functions.sh: support `--notick` in `test_commit_bulk()`
  pack-bitmap: implement test helpers for pseudo-merge
  ewah: implement `ewah_bitmap_popcount()`
  pseudo-merge: implement support for reading pseudo-merge commits
  pack-bitmap.c: read pseudo-merge extension
  pseudo-merge: scaffolding for reads
  pack-bitmap: extract `read_bitmap()` function
  pack-bitmap-write.c: write pseudo-merge table
  pseudo-merge: implement support for selecting pseudo-merge commits
  config: introduce `git_config_double()`
  pack-bitmap: make `bitmap_writer_push_bitmapped_commit()` public
  pack-bitmap: implement `bitmap_writer_has_bitmapped_object_id()`
  pack-bitmap-write: support storing pseudo-merge commits
  ...
</content>
</entry>
<entry>
<title>Merge branch 'gt/unit-test-oidtree'</title>
<updated>2024-06-20T22:45:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-06-20T22:45:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c1322ca47457a1e866845cdd69a4f848bf71a5c5'/>
<id>urn:sha1:c1322ca47457a1e866845cdd69a4f848bf71a5c5</id>
<content type='text'>
"oidtree" tests were rewritten to use the unit test framework.

* gt/unit-test-oidtree:
  t/: migrate helper/test-oidtree.c to unit-tests/t-oidtree.c
</content>
</entry>
<entry>
<title>Merge branch 'ps/make-append-to-cflags'</title>
<updated>2024-06-20T22:45:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-06-20T22:45:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f4788a577b4b3e3f070154a926d6067cfdbaf75e'/>
<id>urn:sha1:f4788a577b4b3e3f070154a926d6067cfdbaf75e</id>
<content type='text'>
To help developers, the build procedure now allows builders to use
CFLAGS_APPEND to specify additional CFLAGS.

* ps/make-append-to-cflags:
  Makefile: add ability to append to CFLAGS and LDFLAGS
</content>
</entry>
<entry>
<title>Merge branch 'ps/ref-storage-migration'</title>
<updated>2024-06-17T22:55:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-06-17T22:55:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=40a163f217da87b735f2f6b1916a81c4d21689c8'/>
<id>urn:sha1:40a163f217da87b735f2f6b1916a81c4d21689c8</id>
<content type='text'>
A new command has been added to migrate a repository that uses the
files backend for its ref storage to use the reftable backend, with
limitations.

* ps/ref-storage-migration:
  builtin/refs: new command to migrate ref storage formats
  refs: implement logic to migrate between ref storage formats
  refs: implement removal of ref storages
  worktree: don't store main worktree twice
  reftable: inline `merged_table_release()`
  refs/files: fix NULL pointer deref when releasing ref store
  refs/files: extract function to iterate through root refs
  refs/files: refactor `add_pseudoref_and_head_entries()`
  refs: allow to skip creation of reflog entries
  refs: pass storage format to `ref_store_init()` explicitly
  refs: convert ref storage format to an enum
  setup: unset ref storage when reinitializing repository version
</content>
</entry>
<entry>
<title>Merge branch 'ps/check-docs-fix'</title>
<updated>2024-06-17T22:55:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-06-17T22:55:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dfd668fa844f6ba18e6588a5988438baaa2d3e06'/>
<id>urn:sha1:dfd668fa844f6ba18e6588a5988438baaa2d3e06</id>
<content type='text'>
"make check-docs" noticed problems and reported to its output but
failed to signal its findings with its exit status, which has been
corrected.

* ps/check-docs-fix:
  ci/test-documentation: work around SyntaxWarning in Python 3.12
  gitlab-ci: add job to run `make check-docs`
  Documentation/lint-manpages: bubble up errors
  Makefile: extract script to lint missing/extraneous manpages
</content>
</entry>
<entry>
<title>Merge branch 'gt/decorate-unit-test'</title>
<updated>2024-06-12T20:37:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-06-12T20:37:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2a061a62e28003898cb2c19ee332147b55fe95d3'/>
<id>urn:sha1:2a061a62e28003898cb2c19ee332147b55fe95d3</id>
<content type='text'>
A test helper that essentially is unit tests on the "decorate"
logic has been rewritten using the unit-tests framework.

* gt/decorate-unit-test:
  t/: migrate helper/test-example-decorate to the unit testing framework
</content>
</entry>
<entry>
<title>Merge branch 'gt/t-hash-unit-test'</title>
<updated>2024-06-12T20:37:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-06-12T20:37:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=22cf18fd9ede79bdfe5ac93e09986a64052e5781'/>
<id>urn:sha1:22cf18fd9ede79bdfe5ac93e09986a64052e5781</id>
<content type='text'>
A pair of test helpers that essentially are unit tests on hash
algorithms have been rewritten using the unit-tests framework.

* gt/t-hash-unit-test:
  t/: migrate helper/test-{sha1, sha256} to unit-tests/t-hash
  strbuf: introduce strbuf_addstrings() to repeatedly add a string
</content>
</entry>
</feed>
