<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Makefile, branch v2.51.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.51.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.51.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2025-10-14T20:40:54Z</updated>
<entry>
<title>Merge branch 'da/cargo-serialize' into maint-2.51</title>
<updated>2025-10-14T20:40:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-10-14T20:40:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=21c234873d07bdb32599e8aabaa408f797795492'/>
<id>urn:sha1:21c234873d07bdb32599e8aabaa408f797795492</id>
<content type='text'>
Makefile tried to run multiple "cargo build" which would not work
very well; serialize their execution to work it around.

* da/cargo-serialize:
  Makefile: build libgit-rs and libgit-sys serially
</content>
</entry>
<entry>
<title>Makefile: don’t add whatchanged after it has been removed</title>
<updated>2025-09-17T20:47:22Z</updated>
<author>
<name>Kristoffer Haugsbakk</name>
<email>code@khaugsbakk.name</email>
</author>
<published>2025-09-17T20:24:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=29fe658ffbd40e6f0343728a978c215fc1e1d11a'/>
<id>urn:sha1:29fe658ffbd40e6f0343728a978c215fc1e1d11a</id>
<content type='text'>
07572f220a8 (whatchanged: remove when built with WITH_BREAKING_CHANGES,
2025-05-12) set up the removal of git-whatchanged(1) when
`WITH_BREAKING_CHANGES` is active.  Part of that work was removing it
from `commands` in `git.c`.  But the Makefile still lists it as a
builtin.  That leaves it in the limbo of being linked but not being
callable; you get the generic error about not being able to call it as
a *builtin*:

    $ git whatchanged
    fatal: cannot handle whatchanged as a builtin

instead of the expected:

    $ git whatchanged
    git: 'whatchanged' is not a git command. See 'git --help'.

Based-on-patch-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Kristoffer Haugsbakk &lt;code@khaugsbakk.name&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Makefile: build libgit-rs and libgit-sys serially</title>
<updated>2025-08-27T00:02:12Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2025-08-26T23:35:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0eeacde50e71cc320016f0bcf9f8b17d5168cbfd'/>
<id>urn:sha1:0eeacde50e71cc320016f0bcf9f8b17d5168cbfd</id>
<content type='text'>
"make -JN" with INCLUDE_LIBGIT_RS enabled causes cargo lock warnings
and can trigger ld errors during the build.

The build errors are caused by two inner "make" invocations getting
triggered concurrently: once inside of libgit-sys and another inside of
libgit-rs.

Make libgit-rs depend on libgit-sys so that "make" prevents them
from running concurrently. Apply the same logic to the test invocations.
Use cargo's "--manifest-path" option instead of "cd" in the recipes.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Acked-by: Kyle Lippincott &lt;spectral@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sk/reftable-clarify-tests'</title>
<updated>2025-08-01T18:27:14Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-08-01T18:27:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=80b80162fd43fcf94c272604faca107e4f20ecab'/>
<id>urn:sha1:80b80162fd43fcf94c272604faca107e4f20ecab</id>
<content type='text'>
The reftable unit tests are now ported to the "clar" unit testing
framework.

* sk/reftable-clarify-tests:
  t/unit-tests: finalize migration of reftable-related tests
  t/unit-tests: convert reftable stack test to use clar
  t/unit-tests: convert reftable record test to use clar
  t/unit-tests: convert reftable readwrite test to use clar
  t/unit-tests: convert reftable table test to use clar
  t/unit-tests: convert reftable pq test to use clar
  t/unit-tests: convert reftable merged test to use clar
  t/unit-tests: convert reftable block test to use clar
  t/unit-tests: convert reftable basics test to use clar test framework
  t/unit-tests: implement clar specific reftable test helper functions
</content>
</entry>
<entry>
<title>t/unit-tests: finalize migration of reftable-related tests</title>
<updated>2025-07-24T18:46:04Z</updated>
<author>
<name>Seyi Kuforiji</name>
<email>kuforiji98@gmail.com</email>
</author>
<published>2025-07-24T14:28:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9bbc981c6f27e00d050d4f70b0293f56e39b019a'/>
<id>urn:sha1:9bbc981c6f27e00d050d4f70b0293f56e39b019a</id>
<content type='text'>
The old `lib-reftable.{c,h}` implemented helper functions for our
homegrown unit-testing framework. As part of migrating reftable-related
tests to the Clar framework, Clar-specific versions of these functions
in `lib-reftable-clar.{c,h}` were introduced.

Now that all test files using these helpers have been converted to Clar,
we can safely remove the original `lib-reftable.{c,h}` and rename the
Clar- specific versions back to `lib-reftable.{c,h}`. This restores a
clean and consistent naming scheme for shared test utilities.

Finally, update our build system to reflect the changes made and remove
redundant code related to the reftable tests and our old homegrown
unit-testing setup. `test-lib.{c,h}` remains unchanged in our build
system as some files particularly `t/helper/test-example-tap.c` depends
on it in order to run, and removing that would be beyond the scope of
this patch.

Signed-off-by: Seyi Kuforiji &lt;kuforiji98@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/unit-tests: convert reftable stack test to use clar</title>
<updated>2025-07-24T18:46:04Z</updated>
<author>
<name>Seyi Kuforiji</name>
<email>kuforiji98@gmail.com</email>
</author>
<published>2025-07-24T14:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1cfd187fc12b1c82e4e0d0c86c580ee1e2d7e0ba'/>
<id>urn:sha1:1cfd187fc12b1c82e4e0d0c86c580ee1e2d7e0ba</id>
<content type='text'>
Adapt reftable stack test file to use clar by using clar assertions
where necessary.

This marks the end of all unit tests migrated away from the
`unit-tests/t-*.c` pattern, there are no longer any files matching that
glob. Remove the sanity check for `t-*.c` files to prevent Meson
configuration errors during CI and local builds.

Signed-off-by: Seyi Kuforiji &lt;kuforiji98@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/unit-tests: convert reftable record test to use clar</title>
<updated>2025-07-24T18:46:03Z</updated>
<author>
<name>Seyi Kuforiji</name>
<email>kuforiji98@gmail.com</email>
</author>
<published>2025-07-24T14:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2596bef5841ffa6a1454e3e5e6249de2fb695072'/>
<id>urn:sha1:2596bef5841ffa6a1454e3e5e6249de2fb695072</id>
<content type='text'>
Adapt reftable record test file to use clar by using clar assertions
where necessary.

Signed-off-by: Seyi Kuforiji &lt;kuforiji98@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/unit-tests: convert reftable readwrite test to use clar</title>
<updated>2025-07-24T18:46:03Z</updated>
<author>
<name>Seyi Kuforiji</name>
<email>kuforiji98@gmail.com</email>
</author>
<published>2025-07-24T14:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ee0a88dadb08320d88fab0e3ad2dd17ecfee8496'/>
<id>urn:sha1:ee0a88dadb08320d88fab0e3ad2dd17ecfee8496</id>
<content type='text'>
Adapt reftable readwrite test file to use clar by using clar assertions
where necessary.

Signed-off-by: Seyi Kuforiji &lt;kuforiji98@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/unit-tests: convert reftable table test to use clar</title>
<updated>2025-07-24T18:46:03Z</updated>
<author>
<name>Seyi Kuforiji</name>
<email>kuforiji98@gmail.com</email>
</author>
<published>2025-07-24T14:28:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=18a992b7b7f213deeede5aa923f13f6aee4e206e'/>
<id>urn:sha1:18a992b7b7f213deeede5aa923f13f6aee4e206e</id>
<content type='text'>
Adapt reftable table test file to use clar by using clar assertions
where necessary.

Signed-off-by: Seyi Kuforiji &lt;kuforiji98@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/unit-tests: convert reftable pq test to use clar</title>
<updated>2025-07-24T18:46:03Z</updated>
<author>
<name>Seyi Kuforiji</name>
<email>kuforiji98@gmail.com</email>
</author>
<published>2025-07-24T14:28:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a0aaa85c0c70a0ace450351c525dcf3dcb2b0f20'/>
<id>urn:sha1:a0aaa85c0c70a0ace450351c525dcf3dcb2b0f20</id>
<content type='text'>
Adapt reftable priority queue test file to use clar by using clar
assertions where necessary.

Signed-off-by: Seyi Kuforiji &lt;kuforiji98@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
