{"thread":{"id":"65411","subject":"What's cooking in git.git (Apr 2026, #01)","startedAt":"2026-04-01T23:42:13Z","lastAt":"2026-04-09T20:09:25Z","messageCount":4,"participants":["Junio C Hamano","Patrick Steinhardt","René Scharfe"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"540680","messageId":"xmqqikaatfhp.fsf@gitster.g","threadId":"65411","inReplyTo":null,"subject":"What's cooking in git.git (Apr 2026, #01)","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-04-01T23:42:10Z","receivedAt":"2026-04-01T23:42:13Z","isPatch":false,"body":"Here are the topics that have been cooking in my tree.  Commits\nprefixed with '+' are in 'next' (being in 'next' is a sign that a\ntopic is stable enough to be used and is a candidate to be in a\nfuture release).  Commits prefixed with '-' are only in 'seen', and\naren't considered \"accepted\" at all and may be annotated with a URL\nto a message that raises issues but they are by no means exhaustive.\nA topic without enough support may be discarded after a long period\nof no activity (of course they can be resubmitted when new interests\narise).\n\nCopies of the source code to Git live in many repositories, and the\nfollowing is a list of the ones I push into or their mirrors.  Some\nrepositories have only a subset of branches.\n\nWith maint, master, next, seen, todo:\n\n\tgit://git.kernel.org/pub/scm/git/git.git/\n\tgit://repo.or.cz/alt-git.git/\n\thttps://kernel.googlesource.com/pub/scm/git/git/\n\thttps://github.com/git/git/\n\thttps://gitlab.com/git-scm/git/\n\nWith all the integration branches and topics broken out:\n\n\thttps://github.com/gitster/git/\n\nEven though the preformatted documentation in HTML and man format\nare not sources, they are published in these repositories for\nconvenience (replace \"htmldocs\" with \"manpages\" for the manual\npages):\n\n\tgit://git.kernel.org/pub/scm/git/git-htmldocs.git/\n\thttps://github.com/gitster/git-htmldocs.git/\n\nRelease tarballs are available at:\n\n\thttps://www.kernel.org/pub/software/scm/git/\n\n--------------------------------------------------\n[Graduated to 'master']\n\n* bk/t5315-test-path-is-helpers (2026-03-19) 1 commit\n  (merged to 'next' on 2026-03-24 at f7374e8e70)\n + t5315: use test_path_is_file for loose-object check\n\n Test clean-up.\n source: <20260319180803.164335-1-elkhatabibilal@gmail.com>\n\n\n* jc/macos-homebrew-wo-reg-enhanced (2026-03-23) 1 commit\n  (merged to 'next' on 2026-03-26 at ce92a76711)\n + regexp: leave a pointer to resurrect workaround for Homebrew\n\n In case homebrew breaks REG_ENHANCED again, leave a in-code comment\n to suggest use of our replacement regex as a workaround.\n source: <xmqq8qbi5vvx.fsf@gitster.g>\n\n\n* jk/diff-highlight-more (2026-03-22) 9 commits\n  (merged to 'next' on 2026-03-24 at e7b555cbc5)\n + diff-highlight: fetch all config with one process\n + diff-highlight: allow module callers to pass in color config\n + diff-highlight: test color config\n + diff-highlight: use test_decode_color in tests\n + t: add matching negative attributes to test_decode_color\n + diff-highlight: check diff-highlight exit status in tests\n + diff-highlight: drop perl version dependency back to 5.8\n + diff-highlight: mention build instructions\n + Merge branch 'jk/diff-highlight-identical-pairs' into jk/diff-highlight-more\n\n Various updates to contrib/diff-highlight, including documentation\n updates, test improvements, and color configuration handling.\n source: <20260323060139.GA10215@coredump.intra.peff.net>\n\n\n* jk/t0061-bat-test-update (2026-03-24) 1 commit\n  (merged to 'next' on 2026-03-26 at ffae180124)\n + t0061: simplify .bat test\n\n A test to run a .bat file with whitespaces in the name with arguments\n with whitespaces in them was flaky in that sometimes it got killed\n before it produced expected side effects, which has been rewritten to\n make it more robust.\n source: <20260325061357.GA3772970@coredump.intra.peff.net>\n\n\n* kj/refspec-parsing-outside-repository (2026-03-23) 2 commits\n  (merged to 'next' on 2026-03-26 at 0a8c60e8ae)\n + refspec: fix typo in comment\n + remote-curl: fall back to default hash outside repo\n\n \"git ls-remote '+refs/tags/*:refs/tags/*' https://...\" run outside a\n repository would dereference a NULL while trying to see if the given\n refspec is a single-object refspec, which has been corrected.\n source: <20260322023557.15907-1-jayatheerthkulkarni2005@gmail.com>\n\n\n* mk/repo-help-strings (2026-03-25) 2 commits\n  (merged to 'next' on 2026-03-26 at a4c755ddde)\n + repo: show subcommand-specific help text\n + repo: factor repo usage strings into shared macros\n\n \"git repo info -h\" and \"git repo structure -h\" limit their help output\n to the part that is specific to the subcommand.\n source: <20260323152937.257406-1-  mahlet.takassa@gmail.com>\n\n\n* rs/use-strvec-pushv (2026-03-24) 2 commits\n  (merged to 'next' on 2026-03-24 at 7c6487dcaf)\n + use strvec_pushv() to add another strvec\n + Merge branch 'ps/build-tweaks' into rs/use-strvec-pushv\n\n Code paths that loop over another array to push each element into a\n strvec have been rewritten to use strvec_pushv() instead.\n source: <084f3b43-91ac-4553-8305-03944e97eaa6@web.de>\n\n\n* vp/http-rate-limit-retries (2026-03-17) 3 commits\n  (merged to 'next' on 2026-03-24 at 9cb4ec5fad)\n + http: add support for HTTP 429 rate limit retries\n + strbuf_attach: fix call sites to pass correct alloc\n + strbuf: pass correct alloc to strbuf_attach() in strbuf_reencode()\n\n The HTTP transport learned to react to \"429 Too Many Requests\".\n cf. <ab4RIZr7b49VKjR9@nand.local>\n source: <pull.2008.v6.git.1773752435.gitgitgadget@gmail.com>\n\n--------------------------------------------------\n[New Topics]\n\n* jt/odb-transaction-write (2026-03-31) 7 commits\n - odb/transaction: make `write_object_stream()` pluggable\n - object-file: generalize packfile writes to use odb_write_stream\n - object-file: avoid fd seekback by checking object size upfront\n - object-file: remove flags from transaction packfile writes\n - odb: update `struct odb_write_stream` read() callback\n - odb/transaction: use pluggable `begin_transaction()`\n - odb: split `struct odb_transaction` into separate header\n\n ODB transaction interface is being reworked to explicitly handle\n object writes.\n\n Expecting a reroll.\n cf. <ac0irp8GJSrSD8GU@denethor>\n source: <20260401030316.1847362-1-jltobler@gmail.com>\n\n\n* jd/cache-tree-trace-wo-the-repository (2026-03-31) 1 commit\n - cache-tree: use index state repository in trace2 calls\n\n Code cleanup.\n\n Will merge to 'next'?\n source: <pull.2259.git.git.1774951373588.gitgitgadget@gmail.com>\n\n\n* ps/reftable-portability (2026-03-31) 6 commits\n - reftable: introduce \"reftable-system.h\" header\n - reftable/system: add abstraction to mmap files\n - reftable/system: add abstraction to retrieve time in milliseconds\n - reftable/fsck: use REFTABLE_UNUSED instead of UNUSED\n - reftable/stack: don't call fsync(3p) unless provided\n - reftable/system: provide `REFTABLE_INLINE()` macro\n\n Update reftable library part with what is used in libgit2 to improve\n portability to different target codebases and platforms.\n\n Will merge to 'next'?\n source: <20260331-pks-reftable-portability-fixes-v1-0-46bfae55c68c@pks.im>\n\n\n* jk/c23-const-preserving-fixes-more (2026-03-31) 12 commits\n - refs/files-backend: drop const to fix strchr() warning\n - http: drop const to fix strstr() warning\n - range-diff: drop const to fix strstr() warnings\n - pkt-line: make packet_reader.line non-const\n - skip_prefix(): check const match between in and out params\n - pseudo-merge: fix disk reads from find_pseudo_merge()\n - find_last_dir_sep(): convert inline function to macro\n - run-command: explicitly cast away constness when assigning to void\n - pager: explicitly cast away strchr() constness\n - transport-helper: drop const to fix strchr() warnings\n - http: add const to fix strchr() warnings\n - convert: add const to fix strchr() warnings\n\n Further work to adjust the codebase for C23 that changes functions\n like strchr() that discarded constness when they return a pointer into\n a const string to preserve constness.\n\n Will merge to 'next'?\n source: <20260331233856.GA2327197@coredump.intra.peff.net>\n\n\n* ps/odb-cleanup (2026-03-31) 7 commits\n - odb: drop unneeded headers and forward decls\n - odb: rename `odb_has_object()` flags\n - odb: use enum for `odb_write_object` flags\n - odb: rename `odb_write_object()` flags\n - treewide: use enum for `odb_for_each_object()` flags\n - CodingGuidelines: document our style for flags\n - Merge branch 'ps/odb-generic-object-name-handling' into ps/odb-cleanup\n (this branch uses ps/odb-generic-object-name-handling.)\n\n Various code clean-up around odb subsystem.\n\n Will merge to 'next'?\n source: <20260401-pks-odb-cleanups-v1-0-89adba9ada68@pks.im>\n\n\n* ss/t7004-unhide-git-failures (2026-03-31) 1 commit\n - t7004: replace wc -l with modern test helpers\n\n Test clean-up.\n\n Will merge to 'next'.\n source: <20260401062029.54757-1-r.siddharth.shrimali@gmail.com>\n\n\n* ng/add-files-to-cache-wo-rename (2026-04-01) 1 commit\n - read-cache: disable renames in add_files_to_cache\n\n add_files_to_cache() used diff_files() to detect only the paths that\n are different between the index and the working tree and add them,\n which does not need rename detection, which interfered with unnecessary\n conflicts.\n\n Will merge to 'next'?\n source: <20260401190033.11325-1-blindmansion@gmail.com>\n\n--------------------------------------------------\n[Cooking]\n\n* sa/cat-file-batch-mailmap-switch (2026-03-31) 1 commit\n - cat-file: add mailmap subcommand to --batch-command\n\n \"git cat-file --batch\" learns an in-line command \"mailmap\"\n that lets the user toggle use of mailmap.\n\n Will merge to 'next'?\n source: <20260331121111.9614-2-siddharthasthana31@gmail.com>\n\n\n* sp/doc-gitignore-oowt (2026-03-28) 1 commit\n  (merged to 'next' on 2026-03-31 at ab3e6e484e)\n + doc: gitignore: clarify pattern base for info/exclude and core.excludesFile\n\n Doc update.\n\n Will merge to 'master'.\n source: <20260328152233.1140327-1-shreyanshpaliwalcmsmn@gmail.com>\n\n\n* tb/incremental-midx-part-3.3 (2026-03-29) 16 commits\n - repack: allow `--write-midx=incremental` without `--geometric`\n - repack: introduce `--write-midx=incremental`\n - repack: implement incremental MIDX repacking\n - packfile: ensure `close_pack_revindex()` frees in-memory revindex\n - builtin/repack.c: convert `--write-midx` to an `OPT_CALLBACK`\n - repack-geometry: prepare for incremental MIDX repacking\n - repack-midx: extract `repack_fill_midx_stdin_packs()`\n - repack-midx: factor out `repack_prepare_midx_command()`\n - midx: expose `midx_layer_contains_pack()`\n - repack: track the ODB source via existing_packs\n - midx: support custom `--base` for incremental MIDX writes\n - midx: introduce `--checksum-only` for incremental MIDX writes\n - midx: use `strvec` for `keep_hashes`\n - strvec: introduce `strvec_init_alloc()`\n - midx: use `string_list` for retained MIDX files\n - midx-write: handle noop writes when converting incremental chains\n\n The repacking code has been refactored and compaction of MIDX layers\n have been implemented, and incremental strategy that does not require\n all-into-one repacking has been introduced.\n\n Expecting a reroll.\n cf. <acxBUkHDolY9VCnR@nand.local>\n source: <cover.1774820449.git.me@ttaylorr.com>\n\n\n* th/t6101-unhide-git-failures (2026-03-28) 1 commit\n  (merged to 'next' on 2026-03-31 at 8867bcf2b4)\n + t6101: avoid suppressing git's exit code\n\n Test cleanup.\n\n Will merge to 'master'.\n source: <20260328135935.180646-1-vikingtc4@gmail.com>\n\n\n* za/t2000-modernise (2026-03-27) 1 commit\n  (merged to 'next' on 2026-03-31 at 279c41a3e0)\n + t2000: modernise overall structure\n\n Test cleanup.\n\n Will merge to 'master'.\n source: <20260327234019.95591-1-zakariyahali100@gmail.com>\n\n\n* jd/read-cache-trace-wo-the-repository (2026-03-30) 1 commit\n  (merged to 'next' on 2026-04-01 at 7047e45a6d)\n + read-cache: use istate->repo for trace2 logging\n\n A handful of inappropriate uses of the_repository have been\n rewritten to use the right repository structure instance in the\n read-cache.c codepath.\n\n Will merge to 'master'.\n source: <pull.2253.v4.git.git.1774895886678.gitgitgadget@gmail.com>\n\n\n* jd/unpack-trees-wo-the-repository (2026-03-31) 2 commits\n - unpack-trees: use repository from index instead of global\n - unpack-trees: use repository from index instead of global\n\n A handful of inappropriate uses of the_repository have been\n rewritten to use the right repository structure instance in the\n unpack-trees.c codepath.\n source: <pull.2258.v2.git.git.1774971267.gitgitgadget@gmail.com>\n\n\n* ps/receive-pack-updateinstead-in-worktree (2026-03-30) 3 commits\n - receive-pack: use worktree HEAD for updateInstead\n - t5516: clean up cloned and new-wt in denyCurrentBranch and worktrees test\n - t5516: test updateInstead with worktree and unborn bare HEAD\n\n The check in \"receive-pack\" to prevent a checked out branch from\n getting updated via updateInstead mechanism has been corrected.\n\n Will merge to 'next'.\n source: <20260330111822.165188-1-pabloosabaterr@gmail.com>\n\n\n* ps/setup-wo-the-repository (2026-03-30) 18 commits\n - setup: stop using `the_repository` in `init_db()`\n - setup: stop using `the_repository` in `create_reference_database()`\n - setup: stop using `the_repository` in `initialize_repository_version()`\n - setup: stop using `the_repository` in `check_repository_format()`\n - setup: stop using `the_repository` in `upgrade_repository_format()`\n - setup: stop using `the_repository` in `setup_git_directory()`\n - setup: stop using `the_repository` in `setup_git_directory_gently()`\n - setup: stop using `the_repository` in `setup_git_env()`\n - setup: stop using `the_repository` in `set_git_work_tree()`\n - setup: stop using `the_repository` in `setup_work_tree()`\n - setup: stop using `the_repository` in `enter_repo()`\n - setup: stop using `the_repository` in `verify_non_filename()`\n - setup: stop using `the_repository` in `verify_filename()`\n - setup: stop using `the_repository` in `path_inside_repo()`\n - setup: stop using `the_repository` in `prefix_path()`\n - setup: stop using `the_repository` in `is_inside_git_dir()`\n - setup: stop using `the_repository` in `is_inside_worktree()`\n - setup: replace use of `the_repository` in static functions\n\n Many uses of the_repository has been updated to use a more\n appropriate struct repository instance in setup.c codepath.\n\n Needs review.\n source: <20260330-pks-setup-wo-the-repository-v1-0-0d2e822837aa@pks.im>\n\n\n* qb/doc-git-stash-push-optionality (2026-03-30) 1 commit\n  (merged to 'next' on 2026-03-31 at 66ece1b5d6)\n + docs: fix \"git stash [push]\" documentation\n\n Doc update.\n\n Will merge to 'master'.\n source: <pull.2255.v2.git.git.1774877075694.gitgitgadget@gmail.com>\n\n\n* kh/doc-trailers (2026-03-30) 2 commits\n - doc: interpret-trailers: explain key format\n - doc: interpret-trailers: stop fixating on RFC 822\n\n Documentation updates.\n\n Expecting a reroll.\n cf. <5ba0bbcb-25a7-4ad0-ac1d-c86508eaffdd@app.fastmail.com>\n source: <CV_doc_int-tr_key_format.533@msgid.xyz>\n\n\n* tc/replay-ref (2026-03-25) 4 commits\n . replay: allow to specify a ref with option --ref\n . replay: use stuck form in documentation and help message\n . builtin/replay: mark options as not negatable\n . Merge branch 'sa/replay-revert' into tc/replay-ref\n (this branch uses sa/replay-revert.)\n\n The experimental `git replay` command learned the `--ref=<ref>` option\n to allow specifying which ref to update, overriding the default behavior.\n\n Seems to break CI.\n cf. <xmqqjyuynv99.fsf@gitster.g>\n source: <20260325-toon-replay-arbitrary-ref-v2-0-553038702c9c@iotcl.com>\n\n\n* jk/c23-const-preserving-fixes (2026-03-26) 5 commits\n  (merged to 'next' on 2026-03-31 at c813b9b814)\n + config: store allocated string in non-const pointer\n + rev-parse: avoid writing to const string for parent marks\n + revision: avoid writing to const string for parent marks\n + rev-parse: simplify dotdot parsing\n + revision: make handle_dotdot() interface less confusing\n\n Adjust the codebase for C23 that changes functions like strchr()\n that discarded constness when they return a pointer into a const\n string to preserve constness.\n\n Will merge to 'master'.\n source: <20260326190243.GA412983@coredump.intra.peff.net>\n source: <20260326192320.GA418281@coredump.intra.peff.net>\n\n\n* mf/format-patch-commit-list-format-doc (2026-03-27) 3 commits\n  (merged to 'next' on 2026-03-31 at 8f775bd513)\n + format-patch: removing unconditional wrapping\n + docs: fix --commit-list-format related entries\n + Merge branch 'mf/format-patch-commit-list-format' into mf/format-patch-commit-list-format-doc\n (this branch uses mf/format-patch-commit-list-format and mf/format-patch-cover-letter-format.)\n\n Doc updates.\n\n Will merge to 'master'.\n source: <cover.1774640789.git.mroik@delayed.space>\n\n\n* th/t8003-unhide-git-failures (2026-03-28) 2 commits\n  (merged to 'next' on 2026-03-30 at ad41378b07)\n + t8003: modernise style\n + t8003: avoid suppressing git's exit code\n\n Test clean-up.\n\n Will merge to 'master'.\n source: <20260328132955.172262-2-vikingtc4@gmail.com>\n\n\n* jt/fast-import-signed-modes (2026-03-26) 5 commits\n - fast-import: add 'abort-if-invalid' mode to '--signed-tags=<mode>'\n - fast-import: add 'sign-if-invalid' mode to '--signed-tags=<mode>'\n - fast-import: add 'strip-if-invalid' mode to '--signed-tags=<mode>'\n - fast-import: add 'abort-if-invalid' mode to '--signed-commits=<mode>'\n - fast-export: check for unsupported signing modes earlier\n\n Handling of signed commits and tags in fast-import has been made more\n configurable.\n\n Will merge to 'next'.\n source: <20260326191414.3783974-1-jltobler@gmail.com>\n\n\n* ps/graph-lane-limit (2026-03-27) 3 commits\n - graph: add truncation mark to capped lanes\n - graph: add --graph-lane-limit option\n - graph: limit the graph width to a hard-coded max\n\n The graph output from commands like \"git log --graph\" can now be\n limited to a specified number of lanes, preventing overly wide output\n in repositories with many branches.\n\n Needs review.\n cf. <bdff0a5d-b738-4053-9b72-08eba88156de@kdbg.org>\n source: <20260328001113.1275291-1-pabloosabaterr@gmail.com>\n\n\n* cc/promisor-auto-config-url (2026-03-23) 16 commits\n - doc: promisor: improve acceptFromServer entry\n - promisor-remote: auto-configure unknown remotes\n - promisor-remote: trust known remotes matching acceptFromServerUrl\n - promisor-remote: introduce promisor.acceptFromServerUrl\n - t5710: use proper file:// URIs for absolute paths\n - promisor-remote: refactor should_accept_remote() control flow\n - promisor-remote: pass config entry to all_fields_match() directly\n - promisor-remote: add 'local_name' to 'struct promisor_info'\n - promisor-remote: remove the 'accepted' strvec\n - promisor-remote: keep accepted promisor_info structs alive\n - promisor-remote: refactor accept_from_server()\n - promisor-remote: refactor has_control_char()\n - promisor-remote: clarify that a remote is ignored\n - urlmatch: add url_is_valid_pattern() helper\n - urlmatch: change 'allow_globs' arg to bool\n - promisor-remote: try accepted remotes before others in get_direct()\n\n Promisor remote handling is enhanced to auto-configure remotes based\n on a URL whitelist.\n\n Expecting a reroll.\n cf. <CAP8UFD2vAK_khTkJMP4QBfhYA5iYVW5sfB3i-vnzhf71BvwQ=w@mail.gmail.com>\n source: <20260323080520.887550-1-christian.couder@gmail.com>\n\n\n* ps/fsck-wo-the-repository (2026-03-23) 12 commits\n  (merged to 'next' on 2026-04-01 at 6ab7607f2d)\n + builtin/fsck: stop using `the_repository` in error reporting\n + builtin/fsck: stop using `the_repository` when marking objects\n + builtin/fsck: stop using `the_repository` when checking packed objects\n + builtin/fsck: stop using `the_repository` with loose objects\n + builtin/fsck: stop using `the_repository` when checking reflogs\n + builtin/fsck: stop using `the_repository` when checking refs\n + builtin/fsck: stop using `the_repository` when snapshotting refs\n + builtin/fsck: fix trivial dependence on `the_repository`\n + fsck: drop USE_THE_REPOSITORY\n + fsck: store repository in fsck options\n + fsck: initialize fsck options via a function\n + fetch-pack: move fsck options into function scope\n\n Internals of \"git fsck\" have been refactored to not depend on the\n global `the_repository` variable.\n\n Will merge to 'master'.\n source: <20260323-b4-pks-fsck-without-the-repository-v2-0-e8dc79bca651@pks.im>\n\n\n* tb/stdin-packs-excluded-but-open (2026-03-27) 5 commits\n  (merged to 'next' on 2026-03-31 at e8927aa861)\n + repack: mark non-MIDX packs above the split as excluded-open\n + pack-objects: support excluded-open packs with --stdin-packs\n + t7704: demonstrate failure with once-cruft objects above the geometric split\n + pack-objects: refactor `read_packs_list_from_stdin()` to use `strmap`\n + pack-objects: plug leak in `read_stdin_packs()`\n\n pack-objects's --stdin-packs=follow mode learns to handle\n excluded-but-open packs.\n\n Will merge to 'master'.\n source: <cover.1774641999.git.me@ttaylorr.com>\n\n\n* yc/path-walk-fix-error-reporting (2026-03-20) 1 commit\n  (merged to 'next' on 2026-04-01 at ddcff8b9c6)\n + path-walk: fix NULL pointer dereference in error message\n\n The value of a wrong pointer variable was referenced in an error\n message that reported that it shouldn't be NULL.\n\n Will merge to 'master'.\n source: <20260320114823.3151961-1-ysinghcin@gmail.com>\n\n\n* jr/bisect-custom-terms-in-output (2026-03-20) 1 commit\n - bisect: use selected alternate terms in status output\n\n \"git bisect\" now uses the selected terms (e.g., old/new) more\n consistently in its output.\n\n Expecting a reroll?\n cf. <xmqqfr5tdbpc.fsf@gitster.g>\n source: <20260320-bisect-terms-v1-1-c30c9540542a@schlaraffenlan.de>\n\n\n* jc/whitespace-incomplete-line (2026-03-17) 1 commit\n  (merged to 'next' on 2026-04-01 at 10a4d95236)\n + apply: fix new-style empty context line triggering incomplete-line check\n\n Fix whitespace correction for new-style empty context lines.\n\n Will merge to 'master'.\n source: <xmqqldfql4hp.fsf@gitster.g>\n\n\n* sp/add-patch-with-fewer-the-repository (2026-03-17) 1 commit\n  (merged to 'next' on 2026-04-01 at b9edaddcff)\n + add-patch: use repository instance from add_i_state instead of the_repository\n\n Reduce dependency on `the_repository` in add-patch.c file.\n\n Will merge to 'master'.\n source: <20260317155230.619378-1-shreyanshpaliwalcmsmn@gmail.com>\n\n\n* ds/backfill-revs (2026-03-26) 6 commits\n  (merged to 'next' on 2026-03-27 at d4703fdd35)\n + t5620: test backfill's unknown argument handling\n + path-walk: support wildcard pathspecs for blob filtering\n + backfill: work with prefix pathspecs\n + backfill: accept revision arguments\n + t5620: prepare branched repo for revision tests\n + revision: include object-name.h\n\n `git backfill` learned to accept revision and pathspec arguments.\n\n Will merge to 'master'.\n source: <pull.2070.v3.git.1774538094.gitgitgadget@gmail.com>\n\n\n* ps/commit-graph-overflow-fix (2026-03-23) 1 commit\n  (merged to 'next' on 2026-04-01 at c502054354)\n + commit-graph: fix writing generations with dates exceeding 34 bits\n\n Fix a regression in writing the commit-graph where commits with dates\n exceeding 34 bits (beyond year 2514) could cause an underflow and\n crash Git during the generation data overflow chunk writing.\n\n Will merge to 'master'.\n source: <20260324-pks-commit-graph-overflow-v2-1-843568cf8780@pks.im>\n\n\n* tc/replay-down-to-root (2026-03-24) 1 commit\n  (merged to 'next' on 2026-03-31 at 47456fcc12)\n + replay: support replaying down from root commit\n\n git replay now supports replaying down to the root commit.\n\n Will merge to 'master'.\n source: <20260324-toon-replay-down-to-root-v2-1-34e723489f6e@iotcl.com>\n\n\n* ua/push-remote-group (2026-03-27) 3 commits\n - SQUASH??? - futureproof against the attack of the \"main\"\n - push: support pushing to a remote group\n - remote: move remote group resolution to remote.c\n\n \"git push\" learned to take a \"remote group\" name to push to, which\n causes pushes to multiple places, just like \"git fetch\" would do.\n\n Expecting a reroll.\n cf. <xmqq7bqzu1xh.fsf@gitster.g>\n cf. <xmqqse9kj4rh.fsf@gitster.g>\n source: <20260325190906.1153080-1-usmanakinyemi202@gmail.com>\n\n\n* ps/odb-generic-object-name-handling (2026-03-20) 16 commits\n  (merged to 'next' on 2026-03-31 at c14d7bdd1e)\n + odb: introduce generic `odb_find_abbrev_len()`\n + object-file: move logic to compute packed abbreviation length\n + object-name: move logic to compute loose abbreviation length\n + object-name: simplify computing common prefixes\n + object-name: abbreviate loose object names without `disambiguate_state`\n + object-name: merge `update_candidates()` and `match_prefix()`\n + object-name: backend-generic `get_short_oid()`\n + object-name: backend-generic `repo_collect_ambiguous()`\n + object-name: extract function to parse object ID prefixes\n + object-name: move logic to iterate through packed prefixed objects\n + object-name: move logic to iterate through loose prefixed objects\n + odb: introduce `struct odb_for_each_object_options`\n + oidtree: extend iteration to allow for arbitrary return codes\n + oidtree: modernize the code a bit\n + Merge branch 'ps/object-counting' into ps/odb-generic-object-name-handling\n + object-file: fix sparse 'plain integer as NULL pointer' error\n (this branch is used by ps/odb-cleanup.)\n\n Object name handling (disambiguation and abbreviation) has been\n refactored to be backend-generic, moving logic into the respective\n object database backends.\n\n Will merge to 'master'.\n cf. <874ilxm4wp.fsf@toon--20250203-5JQV3.mail-host-address-is-not-set>\n source: <20260320-b4-pks-odb-source-abbrev-v2-0-fe65dcd8c735@pks.im>\n\n\n* aa/reap-transport-child-processes (2026-03-12) 1 commit\n  (merged to 'next' on 2026-03-31 at fb77f8ba9e)\n + transport-helper, connect: use clean_on_exit to reap children on abnormal exit\n\n A few code paths that spawned child processes for network\n connection weren't wait(2)ing for their children and letting \"init\"\n reap them instead; they have been tightened.\n\n Will merge to 'master'.\n cf. <20260325061357.GA3772970@coredump.intra.peff.net>\n source: <20260312214945.4050010-1-cshung@gmail.com>\n\n\n* hn/git-checkout-m-with-stash (2026-03-17) 4 commits\n - checkout: -m (--merge) uses autostash when switching branches\n - sequencer: teach autostash apply to take optional conflict marker labels\n - sequencer: allow create_autostash to run silently\n - stash: add --ours-label, --theirs-label, --base-label for apply\n\n \"git checkout -m another-branch\" was invented to deal with local\n changes to paths that are different between the current and the new\n branch, but it gave only one chance to resolve conflicts.  The command\n was taught to create a stash to save the local changes.\n\n Needs review.\n source: <pull.2234.v6.git.git.1773740139.gitgitgadget@gmail.com>\n\n\n* kh/name-rev-custom-format (2026-03-20) 2 commits\n - name-rev: learn --format=<pretty>\n - name-rev: wrap both blocks in braces\n\n \"git name-rev\" learned to use custom format instead of the object\n name in an extended SHA-1 expression form.\n\n Comments?\n source: <V2_CV_name-rev_--format.51b@msgid.xyz>\n\n\n* pw/worktree-reduce-the-repository (2026-03-26) 3 commits\n  (merged to 'next' on 2026-03-30 at f967ececef)\n + worktree: reject NULL worktree in get_worktree_git_dir()\n + worktree add: stop reading \".git/HEAD\"\n + worktree: remove \"the_repository\" from is_current_worktree()\n\n Reduce the reference to the_repository in the worktree subsystem.\n\n Will merge to 'master'.\n source: <cover.1774534617.git.phillip.wood@dunelm.org.uk>\n\n\n* mf/format-patch-commit-list-format (2026-03-23) 9 commits\n  (merged to 'next' on 2026-03-24 at 0f5b6702eb)\n + format-patch: --commit-list-format without prefix\n + format-patch: add preset for --commit-list-format\n + format-patch: wrap generate_commit_list_cover()\n + format.commitListFormat: strip meaning from empty\n + docs/pretty-formats: add %(count) and %(total)\n + format-patch: rename --cover-letter-format option\n + format-patch: refactor generate_commit_list_cover\n + pretty.c: better die message %(count) and %(total)\n + Merge branch 'mf/format-patch-cover-letter-format' into mf/format-patch-commit-list-format\n (this branch is used by mf/format-patch-commit-list-format-doc; uses mf/format-patch-cover-letter-format.)\n\n Improve the recently introduced `git format-patch\n --commit-list-format` (formerly `--cover-letter-format`) option,\n including a new \"modern\" preset and better CLI ergonomics.\n\n Waiting for the follow-on topic.\n source: <cover.1774284699.git.mroik@delayed.space>\n\n\n* js/parseopt-subcommand-autocorrection (2026-03-16) 10 commits\n - doc: document autocorrect API\n - parseopt: add tests for subcommand autocorrection\n - parseopt: enable subcommand autocorrection for git-remote and git-notes\n - parseopt: autocorrect mistyped subcommands\n - autocorrect: provide config resolution API\n - autocorrect: rename AUTOCORRECT_SHOW to AUTOCORRECT_HINT\n - autocorrect: use mode and delay instead of magic numbers\n - help: move tty check for autocorrection to autocorrect.c\n - help: make autocorrect handling reusable\n - parseopt: extract subcommand handling from parse_options_step()\n\n The parse-options library learned to auto-correct misspelled\n subcommand names.\n\n Expecting review responses.\n cf. <xmqqse9zo93p.fsf@gitster.g>\n source: <SY0P300MB080186A23FB9582AD793F0D1CE40A@SY0P300MB0801.AUSP300.PROD.OUTLOOK.COM>\n\n\n* mm/line-log-use-standard-diff-output (2026-03-16) 4 commits\n - doc: note that -L supports patch formatting and pickaxe options\n - t4211: add tests for -L with standard diff options\n - line-log: route -L output through the standard diff pipeline\n - line-log: fix crash when combined with pickaxe options\n\n The way the \"git log -L<range>:<file>\" feature is bolted onto the\n log/diff machinery is being reworked a bit to make the feature\n compatible with more diff options, like -S/G.\n\n Will merge to 'next'.\n cf. <xmqqbjg3y8i9.fsf@gitster.g>\n source: <pull.2065.v2.git.1773714095.gitgitgadget@gmail.com>\n\n\n* ar/config-hook-cleanups (2026-03-25) 13 commits\n  (merged to 'next' on 2026-03-30 at c128948b16)\n + hook: reject unknown hook names in git-hook(1)\n + hook: show disabled hooks in \"git hook list\"\n + hook: show config scope in git hook list\n + hook: introduce hook_config_cache_entry for per-hook data\n + t1800: add test to verify hook execution ordering\n + hook: make consistent use of friendly-name in docs\n + hook: replace hook_list_clear() -> string_list_clear_func()\n + hook: detect & emit two more bugs\n + hook: rename cb_data_free/alloc -> hook_data_free/alloc\n + hook: fix minor style issues\n + builtin/receive-pack: properly init receive_hook strbuf\n + hook: move unsorted_string_list_remove() to string-list.[ch]\n + Merge branch 'ar/config-hooks' into ar/config-hook-cleanups\n (this branch is used by ar/parallel-hooks.)\n\n Code clean-up around the recent \"hooks defined in config\" topic.\n\n Will merge to 'master'.\n source: <20260325195503.1139418-1-adrian.ratiu@collabora.com>\n\n\n* ab/clone-default-object-filter (2026-03-14) 1 commit\n - clone: add clone.<url>.defaultObjectFilter config\n\n \"git clone\" learns to pay attention to \"clone.<url>.defaultObjectFilter\"\n configuration and behave as if the \"--filter=<filter-spec>\" option\n was given on the command line.\n\n Expecting review responses.\n cf. <abe1l8ONmFIhzaxi@pks.im>\n source: <pull.2058.v6.git.1773553022381.gitgitgadget@gmail.com>\n\n\n* jc/neuter-sideband-fixup (2026-03-05) 6 commits\n  (merged to 'next' on 2026-03-13 at 5a4098b0cd)\n + sideband: drop 'default' configuration\n + sideband: offer to configure sanitizing on a per-URL basis\n + sideband: add options to allow more control sequences to be passed through\n + sideband: do allow ANSI color sequences by default\n + sideband: introduce an \"escape hatch\" to allow control characters\n + sideband: mask control characters\n (this branch is used by jc/neuter-sideband-post-3.0.)\n\n Try to resurrect and reboot a stalled \"avoid sending risky escape\n sequences taken from sideband to the terminal\" topic by Dscho.  The\n plan is to keep it in 'next' long enough to see if anybody screams\n with the \"everything dropped except for ANSI color escape sequences\"\n default.\n\n Will keep in 'next' a bit longer than usual.\n source: <20260305233452.3727126-1-gitster@pobox.com>\n\n\n* jc/neuter-sideband-post-3.0 (2026-03-05) 2 commits\n - sideband: delay sanitizing by default to Git v3.0\n - Merge branch 'jc/neuter-sideband-fixup' into jc/neuter-sideband-post-3.0\n (this branch uses jc/neuter-sideband-fixup.)\n\n The final step, split from earlier attempt by Dscho, to loosen the\n sideband restriction for now and tighten later at Git v3.0 boundary.\n\n On hold, until jc/neuter-sideband-fixup cooks long enough in 'next'.\n (this branch uses jc/neuter-sideband-fixup.)\n source: <20260305233452.3727126-8-gitster@pobox.com>\n\n\n* cs/subtree-split-recursion (2026-03-05) 3 commits\n - contrib/subtree: reduce recursion during split\n - contrib/subtree: functionalize split traversal\n - contrib/subtree: reduce function side-effects\n\n When processing large history graphs on Debian or Ubuntu, \"git\n subtree\" can die with a \"recursion depth reached\" error.\n\n Comments?\n source: <20260305-cs-subtree-split-recursion-v2-0-7266be870ba9@howdoi.land>\n\n\n* pt/promisor-lazy-fetch-no-recurse (2026-03-11) 1 commit\n - promisor-remote: prevent lazy-fetch recursion in child fetch\n\n The mechanism to avoid recursive lazy-fetch from promisor remotes\n was not propagated properly to child \"git fetch\" processes, which\n has been corrected.\n\n Comments?\n source: <pull.2224.v3.git.git.1773238778894.gitgitgadget@gmail.com>\n\n\n* mf/format-patch-cover-letter-format (2026-03-06) 5 commits\n  (merged to 'next' on 2026-03-09 at e872adca7b)\n + docs: add usage for the cover-letter fmt feature\n + format-patch: add commitListFormat config\n + format-patch: add ability to use alt cover format\n + format-patch: move cover letter summary generation\n + pretty.c: add %(count) and %(total) placeholders\n (this branch is used by mf/format-patch-commit-list-format and mf/format-patch-commit-list-format-doc.)\n\n \"git format-patch --cover-letter\" learns to use a simpler format\n instead of the traditional shortlog format to list its commits with\n a new --cover-letter-format option and format.commitListFormat\n configuration variable.\n\n Waiting for the follow-on topic.\n source: <cover.1772839973.git.mroik@delayed.space>\n\n\n* pt/fsmonitor-linux (2026-03-30) 13 commits\n - fsmonitor: fix split-index bitmap bounds in tweak_fsmonitor()\n - fsmonitor: convert shown khash to strset in do_handle_client\n - fsmonitor: add tests for Linux\n - fsmonitor: add timeout to daemon stop command\n - fsmonitor: close inherited file descriptors and detach in daemon\n - run-command: add close_fd_above_stderr option\n - fsmonitor: implement filesystem change listener for Linux\n - fsmonitor: rename fsm-settings-darwin.c to fsm-settings-unix.c\n - fsmonitor: rename fsm-ipc-darwin.c to fsm-ipc-unix.c\n - fsmonitor: use pthread_cond_timedwait for cookie wait\n - compat/win32: add pthread_cond_timedwait\n - fsmonitor: fix hashmap memory leak in fsmonitor_run_daemon\n - fsmonitor: fix khash memory leak in do_handle_client\n\n The fsmonitor daemon has been implemented for Linux.\n\n Needs review.\n source: <pull.2147.v12.git.git.1774937958.gitgitgadget@gmail.com>\n\n\n* sa/replay-revert (2026-03-25) 2 commits\n  (merged to 'next' on 2026-03-30 at ef4896a676)\n + replay: add --revert mode to reverse commit changes\n + sequencer: extract revert message formatting into shared function\n (this branch is used by tc/replay-ref.)\n\n \"git replay\" (experimental) learns, in addition to \"pick\" and\n \"replay\", a new operating mode \"revert\".\n\n Will merge to 'master'.\n source: <20260325202354.10628-1-siddharthasthana31@gmail.com>\n\n\n* ar/parallel-hooks (2026-03-26) 13 commits\n - hook: allow hook.jobs=-1 to use all available CPU cores\n - hook: add hook.<event>.enabled switch\n - hook: move is_known_hook() to hook.c for wider use\n - hook: warn when hook.<friendly-name>.jobs is set\n - hook: add per-event jobs config\n - hook: add -j/--jobs option to git hook run\n - hook: mark non-parallelizable hooks\n - hook: allow pre-push parallel execution\n - hook: allow parallel hook execution\n - hook: parse the hook.jobs config\n - config: add a repo_config_get_uint() helper\n - repository: fix repo_init() memleak due to missing _clear()\n - Merge branch 'ar/config-hook-cleanups' into ar/parallel-hooks\n (this branch uses ar/config-hook-cleanups.)\n\n Needs review.\n source: <20260326101819.1307742-1-adrian.ratiu@collabora.com>\n\n\n* en/xdiff-cleanup-3 (2026-03-30) 6 commits\n - xdiff/xdl_cleanup_records: simplify INVESTIGATE handling for clarity\n - xdiff/xdl_cleanup_records: make setting action easier to follow\n - xdiff/xdl_cleanup_records: make limits more clear\n - xdiff/xdl_cleanup_records: use unambiguous types\n - xdiff: use unambiguous types in xdl_bogo_sqrt()\n - xdiff/xdl_cleanup_records: delete local recs pointer\n\n Preparation of the xdiff/ codebase to work with Rust\n\n Expecting a (hopefully small and final) reroll?\n cf. <40589b6f-6694-4d9c-8367-3f6352e45e7b@gmail.com>\n cf. <32c34d0d-9358-43e3-9d58-5999b3ffd6c2@gmail.com>\n cf. <87a54698-396d-4de8-bd9d-cd72f8d1e8df@gmail.com>\n source: <pull.2156.v4.git.git.1774890003.gitgitgadget@gmail.com>\n\n--------------------------------------------------\n[Discarded]\n\n* bc/rev-parse-parseopt-help-exit-code (2026-03-16) 1 commit\n . rev-parse: have --parseopt callers exit 0 on --help\n\n `rev-parse --parseopt` now includes \"exit 0\" in its output when the\n user asks for help, ensuring that scripts using the recommended `eval`\n pattern exit successfully.\n\n Need to step back and rethink how exit code should look like.\n cf. <20260317150759.GA9975@coredump.intra.peff.net>\n source: <20260316220742.1286157-1-sandals@crustytoothpaste.net>\n\n\n* js/macos-homebrew-forgets-reg-enhanced (2026-03-20) 1 commit\n . osx-clang: work around Homebrew's clang lacking REG_ENHANCED\n\n The build on macOS with Clang is fixed to work around a Homebrew change\n that exposed an issue with missing REG_ENHANCED.\n\n No longer needed?\n cf. <6c108696-2d41-4fa1-9662-fbf6db97f767@web.de>\n cf. <458ad3c1-96df-4575-ee42-e6eb754f25f6@gmx.de>\n cf. <xmqq8qbi5vvx.fsf@gitster.g>\n source: <d340af9e-334c-4e81-e58a-fc3dea73ebdd@gmx.de>\n"},{"id":"540714","messageId":"ac4TPLj3tItmR_P-@pks.im","threadId":"65411","inReplyTo":"xmqqikaatfhp.fsf@gitster.g","subject":"Re: What's cooking in git.git (Apr 2026, #01)","fromName":"Patrick Steinhardt","fromEmail":"ps@pks.im","sentAt":"2026-04-02T06:57:00Z","receivedAt":"2026-04-02T06:57:06Z","isPatch":false,"body":"On Wed, Apr 01, 2026 at 04:42:10PM -0700, Junio C Hamano wrote:\n> * ps/reftable-portability (2026-03-31) 6 commits\n>  - reftable: introduce \"reftable-system.h\" header\n>  - reftable/system: add abstraction to mmap files\n>  - reftable/system: add abstraction to retrieve time in milliseconds\n>  - reftable/fsck: use REFTABLE_UNUSED instead of UNUSED\n>  - reftable/stack: don't call fsync(3p) unless provided\n>  - reftable/system: provide `REFTABLE_INLINE()` macro\n> \n>  Update reftable library part with what is used in libgit2 to improve\n>  portability to different target codebases and platforms.\n> \n>  Will merge to 'next'?\n>  source: <20260331-pks-reftable-portability-fixes-v1-0-46bfae55c68c@pks.im>\n\nNot yet, please, as I plan to send a second version of this series\ntoday.\n\n> * ps/odb-cleanup (2026-03-31) 7 commits\n>  - odb: drop unneeded headers and forward decls\n>  - odb: rename `odb_has_object()` flags\n>  - odb: use enum for `odb_write_object` flags\n>  - odb: rename `odb_write_object()` flags\n>  - treewide: use enum for `odb_for_each_object()` flags\n>  - CodingGuidelines: document our style for flags\n>  - Merge branch 'ps/odb-generic-object-name-handling' into ps/odb-cleanup\n>  (this branch uses ps/odb-generic-object-name-handling.)\n> \n>  Various code clean-up around odb subsystem.\n> \n>  Will merge to 'next'?\n>  source: <20260401-pks-odb-cleanups-v1-0-89adba9ada68@pks.im>\n\nNo concerns here. It's a rather boring and unexciting patch series that\ndoesn't do much anyway, other than following through with what we've\ndiscussed over the last couple weeks with regards to flags.\n\nThanks!\n\nPatrick\n"},{"id":"541294","messageId":"1c0e5ba9-9623-4e7f-b4e7-f7e3343ad94e@web.de","threadId":"65411","inReplyTo":"xmqqikaatfhp.fsf@gitster.g","subject":"Re: What's cooking in git.git (Apr 2026, #01)","fromName":"René Scharfe","fromEmail":"l.s.r@web.de","sentAt":"2026-04-09T19:54:29Z","receivedAt":"2026-04-09T19:54:34Z","isPatch":false,"body":"On 4/2/26 1:42 AM, Junio C Hamano wrote:\n> * rs/use-strvec-pushv (2026-03-24) 2 commits\n>   (merged to 'next' on 2026-03-24 at 7c6487dcaf)\n>  + use strvec_pushv() to add another strvec\n>  + Merge branch 'ps/build-tweaks' into rs/use-strvec-pushv\n> \n>  Code paths that loop over another array to push each element into a\n>  strvec have been rewritten to use strvec_pushv() instead.\n>  source: <084f3b43-91ac-4553-8305-03944e97eaa6@web.de>\n\nCurious:\n\n   commit 250e977a2b0aa8cc1c8063c64c44597a166e79f5\n   Author: Junio C Hamano <gitster@pobox.com>\n   Date:   Tue Mar 24 12:26:58 2026 -0700\n\n       use strvec_pushv() to add another strvec\n\n       Add and apply a semantic patch that simplifies the code by letting\n       strvec_pushv() append the items of a second strvec instead of pushing\n       them one by one.\n\n       Suggested-by: Junio C Hamano <gitster@pobox.com>\n       Signed-off-by: René Scharfe <l.s.r@web.de>\n       Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\nI guess you became the author when you resolved the merge conflict\ncaused by moving contrib/coccinelle/ to tools/?\n\nRené\n\n"},{"id":"541296","messageId":"xmqqmrzbsxot.fsf@gitster.g","threadId":"65411","inReplyTo":"1c0e5ba9-9623-4e7f-b4e7-f7e3343ad94e@web.de","subject":"Re: What's cooking in git.git (Apr 2026, #01)","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-04-09T20:09:22Z","receivedAt":"2026-04-09T20:09:25Z","isPatch":false,"body":"René Scharfe <l.s.r@web.de> writes:\n\n> On 4/2/26 1:42 AM, Junio C Hamano wrote:\n>> * rs/use-strvec-pushv (2026-03-24) 2 commits\n>>   (merged to 'next' on 2026-03-24 at 7c6487dcaf)\n>>  + use strvec_pushv() to add another strvec\n>>  + Merge branch 'ps/build-tweaks' into rs/use-strvec-pushv\n>> \n>>  Code paths that loop over another array to push each element into a\n>>  strvec have been rewritten to use strvec_pushv() instead.\n>>  source: <084f3b43-91ac-4553-8305-03944e97eaa6@web.de>\n>\n> Curious:\n>\n>    commit 250e977a2b0aa8cc1c8063c64c44597a166e79f5\n>    Author: Junio C Hamano <gitster@pobox.com>\n>    Date:   Tue Mar 24 12:26:58 2026 -0700\n>\n>        use strvec_pushv() to add another strvec\n>\n>        Add and apply a semantic patch that simplifies the code by letting\n>        strvec_pushv() append the items of a second strvec instead of pushing\n>        them one by one.\n>\n>        Suggested-by: Junio C Hamano <gitster@pobox.com>\n>        Signed-off-by: René Scharfe <l.s.r@web.de>\n>        Signed-off-by: Junio C Hamano <gitster@pobox.com>\n>\n> I guess you became the author when you resolved the merge conflict\n> caused by moving contrib/coccinelle/ to tools/?\n>\n> René\n\nCurious indeed, thanks for noticing, and sorry for the mistake.\n"}]}