git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Re* [RFH] adding test coverage for contrib/ in CI jobs

From
CSColin Stagner <ask+git@howdoi.land>
Date
Feb 5, 2026, 06:05 UTC
Message-ID
<ef128e1d-dd3e-4573-bfcd-6a98a0a1f394@howdoi.land>
In-Reply-To
<xmqqjywtu58j.fsf_-_@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 8 quoted lines
> Unfortunately, this seems to reveal existing other problems with
> subtree tests (t7900), in addition to diff-highlight tests (t9400)
> in various configurations.
> 
> https://github.com/git/git/actions/runs/21617099884
> 
> This Ci run is near the tip of 'seen', so there may be breakages
> attributable to new topics in flight
At least some of the subtree failures on linux-reftable, such as
<https://github.com/git/git/actions/runs/21617099884/job/62298228602#step:10:421>

are actually due to a bug in ubuntu:rolling's "dirname" implementation. This was fixed upstream in late January [1].

bug behavior demo:
     podman run --rm -it -q docker.io/library/ubuntu:questing-20251217 \
       dirname whatever/.
outputs "whatever"
     podman run --rm -it -q docker.io/library/ubuntu:25.10 \
       dirname whatever/.
outputs "."
subtree has an up-front call to
     dir="$(dirname "$arg_prefix/.")"
which encounters the defect. It then attempts to do things like
     git read-tree --prefix=. $someref
that error out with messages like "error: invalid path './sub1'"
[1]: https://github.com/uutils/coreutils/issues/10508
Previous: Junio C HamanoNext: Junio C Hamano
Message 13 of 19 in “subtree: validate --prefix against commit in split”
  1. subtree: validate --prefix against commit in splitPushkar Singh, Jan 15, 2026
  2. subtree: validate --prefix against commit in splitPushkar Singh, Jan 15, 2026
  3. Junio C HamanoJan 15, 2026
  4. subtree: validate --prefix against commit in splitPushkar Singh, Jan 15, 2026
  5. Josh SteadmonFeb 2, 2026
  6. Junio C HamanoFeb 2, 2026
  7. Junio C HamanoFeb 2, 2026
  8. [RFH] adding test coverage for contrib/ in CI jobsJunio C Hamano, Feb 3, 2026
  9. Re* [RFH] adding test coverage for contrib/ in CI jobsJunio C Hamano, Feb 3, 2026
  10. Junio C HamanoFeb 3, 2026
  11. Re* [RFH] adding test coverage for contrib/ in CI jobsColin Stagner, Feb 4, 2026
  12. Junio C HamanoFeb 4, 2026
  13. Colin StagnerFeb 5, 2026
  14. Junio C HamanoFeb 5, 2026
  15. Junio C HamanoFeb 5, 2026
  16. Junio C HamanoFeb 3, 2026
  17. Jeff KingFeb 3, 2026
  18. subtree: validate --prefix against commit in splitPushkar Singh, Feb 3, 2026
  19. Junio C HamanoFeb 3, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.