Skip to contentSkip to conversation

What's cooking in git.git (Mar 2026, #07)

DISCUSSION Junio C Hamano 1 participant 1 message Mar 20

lore
Share & tools
lore
#0 lore raw

Here are the topics that have been cooking in my tree. Commits prefixed with '+' are in 'next' (being in 'next' is a sign that a topic is stable enough to be used and is a candidate to be in a future release). Commits prefixed with '-' are only in 'seen', and aren't considered "accepted" at all and may be annotated with a URL to a message that raises issues but they are by no means exhaustive. A topic without enough support may be discarded after a long period of no activity (of course they can be resubmitted when new interests arise).

Copies of the source code to Git live in many repositories, and the following is a list of the ones I push into or their mirrors. Some repositories have only a subset of branches.

With maint, master, next, seen, todo:

	git://git.kernel.org/pub/scm/git/git.git/
	git://repo.or.cz/alt-git.git/
	https://kernel.googlesource.com/pub/scm/git/git/
	https://github.com/git/git/
	https://gitlab.com/git-scm/git/

With all the integration branches and topics broken out:

https://github.com/gitster/git/

Even though the preformatted documentation in HTML and man format are not sources, they are published in these repositories for convenience (replace "htmldocs" with "manpages" for the manual pages):

git://git.kernel.org/pub/scm/git/git-htmldocs.git/
https://github.com/gitster/git-htmldocs.git/

Release tarballs are available at:

https://www.kernel.org/pub/software/scm/git/

--------------------------------------------------
[Graduated to 'master']

* bk/run-command-wo-the-repository (2026-03-12) 2 commits (merged to 'next' on 2026-03-12 at 61ffe62b75)
+ run-command: wean auto_maintenance() functions off the_repository
+ run-command: wean start_command() off the_repository

The run_command() API lost its implicit dependencyon the singleton the_repository instance.
source: <[email protected]>

* dd/list-objects-filter-options-wo-strbuf-split (2026-03-11) 2 commits (merged to 'next' on 2026-03-12 at 99c4dbd03e)
+ list-objects-filter-options: avoid strbuf_split_str()
+ worktree: do not pass strbuf by value
(this branch is used by dd/cocci-do-not-pass-strbuf-by-value.)

The way combined list-object filter options are parsed has been revamped.
source: <[email protected]>

* jc/doc-wholesale-replace-before-next (2026-03-09) 1 commit (merged to 'next' on 2026-03-13 at 19ca350c9b)
+ SubmittingPatches: spell out "replace fully to pretend to be perfect"

Doc update.
source: <[email protected]>

* lc/rebase-trailer (2026-03-06) 6 commits (merged to 'next' on 2026-03-13 at 75c22b6b26)
+ rebase: support --trailer
+ commit, tag: parse --trailer with OPT_STRVEC
+ trailer: append trailers without fork/exec
+ trailer: libify a couple of functions
+ interpret-trailers: refactor create_in_place_tempfile()
+ interpret-trailers: factor trailer rewriting

"git rebase" learns "--trailer" command to drive the interpret-trailers machinery.
source: <[email protected]>

* ps/editorconfig-unanchor (2026-03-11) 1 commit (merged to 'next' on 2026-03-12 at 39ef732ca9)
+ editorconfig: fix style not applying to subdirs anymore

Editorconfig filename patterns were specified incorrectly, making many source files inside subdirectories unaffected, which has been corrected.
source: <20260311-b4-pks-editorconfig-fix-subdirs-v1-1-4938193ccd31@pks.im>

* ps/t9200-test-path-is-helpers (2026-03-12) 2 commits (merged to 'next' on 2026-03-12 at 8500bdf172)
+ t9200: replace test -f with modern path helper
+ t9200: handle missing CVS with skip_all

Test update.
source: <[email protected]>
source: <[email protected]>

* ps/unit-test-c-escape-names.txt (2026-03-10) 1 commit (merged to 'next' on 2026-03-13 at f545ea5a9c)
+ test-lib: print escape sequence names

The unit test helper function was taught to use backslash + mnemonic notation for certain control characters like "\t", instead of octal notation like "\011".
source: <[email protected]>

* ss/submodule--helper-use-xmalloc (2026-03-10) 1 commit (merged to 'next' on 2026-03-13 at f13711965e)
+ submodule--helper: replace malloc with xmalloc

Code clean-up.
source: <[email protected]>

* ss/t3200-test-zero-oid (2026-03-11) 1 commit (merged to 'next' on 2026-03-12 at 647ee3f2dc)
+ t3200: replace hardcoded null OID with $ZERO_OID

A test now uses the symbolic constant $ZERO_OID instead of 40 "0" to work better with SHA-256 as well as SHA-1.
source: <[email protected]>

--------------------------------------------------
[New Topics]

* jc/whitespace-incomplete-line (2026-03-17) 1 commit
- apply: fix new-style empty context line triggering incomplete-line check

Fix whitespace correction for new-style empty context lines.

Needs review.
source: <[email protected]>

* sp/add-patch-with-fewer-the-repository (2026-03-17) 1 commit
- add-patch: use repository instance from add_i_state instead of the_repository

Reduce dependency on the_repository in add-patch.c file.

Needs review.
source: <[email protected]>

* ds/backfill-revs (2026-03-16) 5 commits
- path-walk: support wildcard pathspecs for blob filtering
- backfill: work with prefix pathspecs
- backfill: accept revision arguments
- t5620: prepare branched repo for revision tests
- revision: include object-name.h

git backfill learned to accept revision and pathspec arguments.

Needs review.
source: <[email protected]>

* jw/t2203-status-pipe-fix (2026-03-16) 1 commit
- t2203: avoid suppressing git status exit code

Test clean-up.

Will merge to 'next'?
source: <[email protected]>

* ps/commit-graph-overflow-fix (2026-03-17) 1 commit
- commit-graph: fix writing generations with dates exceeding 34 bits

Fix a regression in writing the commit-graph where commits with dates exceeding 34 bits (beyond year 2514) could cause an underflow and crash Git during the generation data overflow chunk writing.

Needs review.
source: <[email protected]>

* tc/replay-down-to-root (2026-03-17) 1 commit
- replay: support replaying down from root commit

git replay now supports replaying down to the root commit.

Needs review.
source: <[email protected]>

* mr/merge-file-object-id-worktree-fix (2026-03-10) 1 commit
- merge-file: fix BUG when --object-id is used in a worktree

merge-file --object-id used to trigger a BUG when run in a linked worktree, which has been fixed.

Will merge to 'next'.
source: <[email protected]>

* rs/prio-queue-to-commit-stack (2026-03-17) 1 commit
- use commit_stack instead of prio_queue in LIFO mode

Uses of prio_queue as a LIFO stack of commits have been written with commit_stack.

Will merge to 'next'.
source: <[email protected]>

* jw/object-name-bitset-to-enum (2026-03-18) 1 commit
- object-name: turn INTERPRET_BRANCH_* constants into enum values

The unsigned integer that is used as an bitset to specify the kind of branches interpret_branch_name() function has been changed to use a dedicated enum type.

Will merge to 'next'?
source: <[email protected]>

* ai/t2107-test-path-is-helpers (2026-03-18) 1 commit
- t2107: modernize path existence check

Test cleanup.

Will merge to 'next'?
source: <[email protected]>

* gi/doc-boolean-config-typofix (2026-03-18) 1 commit
- doc: add missing space on git-config page

Doc typofix.

Will merge to 'next'.
source: <[email protected]>

* ua/push-remote-group (2026-03-19) 3 commits
- fixup! push: support pushing to a remote group
- push: support pushing to a remote group
- remote: move remote group resolution to remote.c

"git push" learned to take a "remote group" name to push to, which causes pushes to multiple places, just like "git fetch" would do.

Will merge to 'next' after squashing the fixup in?
source: <[email protected]>

* jc/rerere-modern-strbuf-handling (2026-03-19) 1 commit
- rerere: update to modern representation of empty strbufs

Code clean-up overdue by 19 years.

Will merge to 'next'.
source: <[email protected]>

* ps/odb-generic-object-name-handling (2026-03-18) 15 commits
- odb: introduce generic odb_find_abbrev_len()
- object-file: move logic to compute packed abbreviation length
- object-name: move logic to compute loose abbreviation length
- object-name: simplify computing common prefixes
- object-name: abbreviate loose object names without disambiguate_state
- object-name: merge update_candidates() and match_prefix()
- object-name: backend-generic get_short_oid()
- object-name: backend-generic repo_collect_ambiguous()
- object-name: extract function to parse object ID prefixes
- object-name: move logic to iterate through packed prefixed objects
- object-name: move logic to iterate through loose prefixed objects
- odb: introduce struct odb_for_each_object_options
- oidtree: extend iteration to allow for arbitrary return codes
- oidtree: modernize the code a bit
- Merge branch 'ps/object-counting' into ps/odb-generic-object-name-handling (this branch uses ps/object-counting.)

Object name handling (disambiguation and abbreviation) has been refactored to be backend-generic, moving logic into the respective object database backends.

Comments?
source: <[email protected]>

* rs/ahead-behind-cleanup-optimization (2026-03-19) 1 commit
- commit-reach: simplify cleanup of remaining bitmaps in ahead_behind ()

The cleanup of remaining bitmaps in "ahead_behind()" has been simplified.

Will merge to 'next'.
source: <[email protected]>

* bk/t5315-test-path-is-helpers (2026-03-19) 1 commit
- t5315: use test_path_is_file for loose-object check

Test clean-up.

Will merge to 'next'?
source: <[email protected]>

* rs/split-index-the-repo-fix (2026-03-19) 1 commit
- split-index: stop using the_repository and the_hash_algo

split-index.c has been updated to not use the global the_repository and the_hash_algo variables.

Will merge to 'next'.
source: <[email protected]>

--------------------------------------------------
[Cooking]

* aa/reap-transport-child-processes (2026-03-12) 1 commit
. transport-helper, connect: use clean_on_exit to reap children on abnormal exit

A few code paths that spawned child processes for network connection weren't wait(2)ing for their children and letting "init" reap them instead; they have been tightened.

CI failures on Windows in t0061.24?
cf. <[email protected]>
source: <[email protected]>

* ss/t0410-delete-object-cleanup (2026-03-12) 1 commit (merged to 'next' on 2026-03-17 at a8d41f4c1f)
+ t0410: modernize delete_object helper

Test clean-up.

Will merge to 'master'.
source: <[email protected]>

* ej/ref-transaction-hook-preparing (2026-03-16) 1 commit
- refs: add 'preparing' phase to the reference-transaction hook

The reference-transaction hook was taught to be triggered before taking locks on references in the "preparing" phase.

Will merge to 'next'.
source: <[email protected]>

* hn/git-checkout-m-with-stash (2026-03-17) 4 commits
- checkout: -m (--merge) uses autostash when switching branches
- sequencer: teach autostash apply to take optional conflict marker labels
- sequencer: allow create_autostash to run silently
- stash: add --ours-label, --theirs-label, --base-label for apply

"git checkout -m another-branch" was invented to deal with local changes to paths that are different between the current and the new branch, but it gave only one chance to resolve conflicts. The command was taught to create a stash to save the local changes.

Needs review.
source: <[email protected]>

* kh/name-rev-custom-format (2026-03-13) 2 commits
- name-rev: learn --format=<pretty>
- name-rev: wrap both blocks in braces

"git name-rev" learned to use custom format instead of the object name in an extended SHA-1 expression form.

Expecting review responses.
cf. <[email protected]>
source: <[email protected]>

* pw/worktree-reduce-the-repository (2026-03-15) 3 commits
- worktree: reject NULL worktree in get_worktree_git_dir()
- worktree add: stop reading ".git/HEAD"
- worktree: remove "the_repository" from is_current_worktree()

Reduce the reference to the_repository in the worktree subsystem.

Expecting review responses.
cf. <[email protected]>
source: <[email protected]>

* dd/cocci-do-not-pass-strbuf-by-value (2026-03-15) 3 commits
(merged to 'next' on 2026-03-18 at a2ffed1127)
+ stash: do not pass strbuf by value
+ coccinelle: detect struct strbuf passed by value
+ Merge branch 'dd/list-objects-filter-options-wo-strbuf-split' into dd/cocci-do-not-pass-strbuf-by-value

Add a coccinelle rule to break the build when "struct strbuf" gets passed by value.

Will merge to 'master'.
source: <[email protected]>

* gj/user-manual-fix-grep-example (2026-03-16) 1 commit (merged to 'next' on 2026-03-17 at dbf9137a9d)
+ doc: fix git grep args order in Quick Reference

Fix an example in the user-manual.

Will merge to 'master'.
source: <[email protected]>

* jk/transport-color-leakfix (2026-03-14) 1 commit (merged to 'next' on 2026-03-17 at c2d7c74d11)
+ transport: plug leaks in transport_color_config()

Leakfix.

Will merge to 'master'.
source: <[email protected]>

* jw/apply-corrupt-location (2026-03-17) 3 commits
- apply: report input location in binary and garbage patch errors
- apply: report input location in header parsing errors
- apply: report the location of corrupt patches

"git apply" now reports the name of the input file along with the line number when it encounters a corrupt patch, and correctly resets the line counter when processing multiple patch files.

Will merge to 'next'?
source: <[email protected]>

* ps/clar-wo-path-max (2026-03-16) 1 commit
(merged to 'next' on 2026-03-17 at 1d2f28a677)
+ clar: update to fix compilation on platforms without PATH_MAX

Clar (unit testing framework) update from the upstream.

Will merge to 'master'.
source: <[email protected]>

* rj/pack-refs-tests-path-is-helpers (2026-03-15) 1 commit (merged to 'next' on 2026-03-17 at 56374095e3)
+ t/pack-refs-tests: use test_path_is_missing

Test updates.

Will merge to 'master'.
source: <[email protected]>

* mf/format-patch-commit-list-format (2026-03-14) 8 commits
- format-patch: --commit-list-format without prefix
- format-patch: add preset for --commit-list-format
- format-patch: wrap generate_commit_list_cover()
- format.commitListFormat: strip meaning from empty
- format-patch: rename --cover-letter-format option
- format-patch: refactor generate_commit_list_cover
- pretty.c: better die message %(count) and %(total)
- Merge branch 'mf/format-patch-cover-letter-format' into mf/format-patch-commit-list-format (this branch uses mf/format-patch-cover-letter-format.)

Improve the recently introduced git format-patch --commit-list-format (formerly --cover-letter-format) option, including a new "modern" preset and better CLI ergonomics.

Expecting a reroll.
cf. <abl-U6jJaMQsfxWj@exploit>
source: <[email protected]>

* mf/t0008-cleanup (2026-03-15) 1 commit (merged to 'next' on 2026-03-17 at 2bb0e51243)
+ t0008: improve test cleanup to fix failing test

Test clean-up.

Will merge to 'master'.
source: <[email protected]>

* pb/t4200-test-path-is-helpers (2026-03-16) 1 commit (merged to 'next' on 2026-03-17 at a78771f93e)
+ t4200: convert test -[df] checks to test_path_* helpers

Test clean-up.

Will merge to 'master'.
source: <[email protected]>

* js/parseopt-subcommand-autocorrection (2026-03-16) 10 commits
- doc: document autocorrect API
- parseopt: add tests for subcommand autocorrection
- parseopt: enable subcommand autocorrection for git-remote and git-notes
- parseopt: autocorrect mistyped subcommands
- autocorrect: provide config resolution API
- autocorrect: rename AUTOCORRECT_SHOW to AUTOCORRECT_HINT
- autocorrect: use mode and delay instead of magic numbers
- help: move tty check for autocorrection to autocorrect.c
- help: make autocorrect handling reusable
- parseopt: extract subcommand handling from parse_options_step()

The parse-options library learned to auto-correct misspelled subcommand names.

Expecting review responses.
cf. <[email protected]>
source: <SY0P300MB080186A23FB9582AD793F0D1CE40A@SY0P300MB0801.AUSP300.PROD.OUTLOOK.COM>

* jt/fast-import-sign-again (2026-03-12) 3 commits (merged to 'next' on 2026-03-17 at e04808d5f2)
+ fast-import: add mode to sign commits with invalid signatures
+ gpg-interface: allow sign_buffer() to use default signing key
+ commit: remove unused forward declaration

"git fast-import" learned to optionally replace signature on commits whose signatures get invalidated due to replaying by signing afresh.

Will merge to 'master'.
source: <[email protected]>

* mf/apply-p-no-atoi (2026-03-15) 1 commit
- apply.c: fix -p argument parsing

"git apply -p<n>" parses <n> more carefully now.

Will merge to 'next'.
source: <[email protected]>

* ps/build-tweaks (2026-03-18) 8 commits
- meson: precompile "git-compat-util.h"
- meson: compile compatibility sources separately
- git-compat-util.h: move warning infra to prepare for PCHs
- builds: move build scripts into "tools/"
- contrib: move "update-unicode.sh" script into "tools/"
- contrib: move "coverage-diff.sh" script into "tools/"
- contrib: move "coccinelle/" directory into "tools/"
- Introduce new "tools/" directory

Tweak the build infrastructure by moving tools around.

Will merge to 'next'.
source: <20260319-b4-pks-build-infra-improvements-v3-0-82f5fb3edc3f@pks.im>

* ps/object-counting (2026-03-12) 7 commits
(merged to 'next' on 2026-03-17 at 8d3d9a1374)
+ odb: introduce generic object counting
+ odb/source: introduce generic object counting
+ object-file: generalize counting objects
+ object-file: extract logic to approximate object count
+ packfile: extract logic to count number of objects
+ odb: stop including "odb/source.h"
+ Merge branch 'ps/odb-sources' into ps/object-counting (this branch is used by ps/odb-generic-object-name-handling.)

The logic to count objects has been cleaned up.

Will merge to 'master'.
source: <20260312-b4-pks-odb-source-count-objects-v2-0-5914f69256bf@pks.im>

* ty/doc-diff-u-wo-number (2026-03-10) 1 commit (merged to 'next' on 2026-03-18 at 8a410154ff)
+ diff: document -U without <n> as using default context

"git diff -U<num>" was too lenient in its command line parsing and took an empty string as a valid <num>.

Will merge to 'master'.
source: <[email protected]>

* ms/t7605-test-path-is-helpers (2026-03-10) 1 commit (merged to 'next' on 2026-03-16 at 49facdec9f)
+ t7605: use test_path_is_file instead of test -f

Test updates.

Will merge to 'master'.
source: <[email protected]>

* bb/imap-send-openssl-4.0-prep (2026-03-11) 3 commits (merged to 'next' on 2026-03-16 at 0baab97778)
+ imap-send: move common code into function host_matches()
+ imap-send: use the OpenSSL API to access the subject common name
+ imap-send: use the OpenSSL API to access the subject alternative names

"imap-send" used to use functions whose use is going to be removed with OpenSSL 4.0; rewrite them using public API that has been available since OpenSSL 1.1 since 2016 or so.

Will merge to 'master'.
source: <[email protected]>

* jc/test-allow-sed-with-ere (2026-03-11) 1 commit (merged to 'next' on 2026-03-16 at be057bed35)
+ t: allow use of "sed -E"

Adjust test-lint to allow "sed -E" to use ERE in the patterns.

Will merge to 'master'.
source: <[email protected]>

* kh/doc-interpret-trailers-1 (2026-03-16) 4 commits
- interpret-trailers: use placeholder instead of *
- doc: config: convert trailers section to synopsis style
- doc: interpret-trailers: normalize and fill out options
- doc: interpret-trailers: convert to synopsis style

Doc updates.

Will merge to 'next'.
source: <[email protected]>

* ty/mktree-wo-the-repository (2026-03-12) 1 commit (merged to 'next' on 2026-03-16 at 8d20ceb853)
+ builtin/mktree: remove USE_THE_REPOSITORY_VARIABLE

Code clean-up.

Will merge to 'master'.
source: <[email protected]>

* mm/line-log-use-standard-diff-output (2026-03-16) 4 commits
- doc: note that -L supports patch formatting and pickaxe options
- t4211: add tests for -L with standard diff options
- line-log: route -L output through the standard diff pipeline
- line-log: fix crash when combined with pickaxe options

The way the "git log -L<range>:<file>" feature is bolted onto the log/diff machinery is being reworked a bit to make the feature compatible with more diff options, like -S/G.

Needs review.
source: <[email protected]>

* ar/config-hook-cleanups (2026-03-08) 11 commits
- hook: show disabled hooks in "git hook list"
- hook: show config scope in git hook list
- hook: refactor hook_config_cache from strmap to named struct
- t1800: add test to verify hook execution ordering
- hook: make consistent use of friendly-name in docs
- hook: replace hook_list_clear() -> string_list_clear_func()
- hook: detect & emit two more bugs
- hook: rename cb_data_free/alloc -> hook_data_free/alloc
- hook: fix minor style issues
- hook: move unsorted_string_list_remove() to string-list.[ch]
- Merge branch 'ar/config-hooks' into ar/config-hook-cleanups (this branch is used by ar/parallel-hooks.)

Code clean-up around the recent "hooks defined in config" topic.

Expecting a reroll.
cf. <[email protected]>
source: <[email protected]>

* cf/constness-fixes (2026-03-08) 2 commits (merged to 'next' on 2026-03-13 at 3c80964399)
+ dir: avoid -Wdiscarded-qualifiers in remove_path()
+ bloom: remove a misleading const qualifier

Small code clean-up around the constness area.

Will merge to 'master'.
source: <3ad40c3d0762c2e8c14792dfb68cba9f63a883a3.1773026586.git.collin.funk1@gmail.com>

* ab/clone-default-object-filter (2026-03-14) 1 commit
- clone: add clone.<url>.defaultObjectFilter config

"git clone" learns to pay attention to "clone.<url>.defaultObjectFilter" configuration and behave as if the "--filter=<filter-spec>" option was given on the command line.

Expecting review responses.
cf. <[email protected]>
source: <[email protected]>

* jc/neuter-sideband-fixup (2026-03-05) 6 commits
(merged to 'next' on 2026-03-13 at 5a4098b0cd)
+ sideband: drop 'default' configuration
+ sideband: offer to configure sanitizing on a per-URL basis
+ sideband: add options to allow more control sequences to be passed through
+ sideband: do allow ANSI color sequences by default
+ sideband: introduce an "escape hatch" to allow control characters
+ sideband: mask control characters
(this branch is used by jc/neuter-sideband-post-3.0.)

Try to resurrect and reboot a stalled "avoid sending risky escape sequences taken from sideband to the terminal" topic by Dscho. The plan is to keep it in 'next' long enough to see if anybody screams with the "everything dropped except for ANSI color escape sequences" default.

Will keep in 'next' a bit longer than usual.
source: <[email protected]>

* jc/neuter-sideband-post-3.0 (2026-03-05) 2 commits
- sideband: delay sanitizing by default to Git v3.0
- Merge branch 'jc/neuter-sideband-fixup' into jc/neuter-sideband-post-3.0 (this branch uses jc/neuter-sideband-fixup.)

The final step, split from earlier attempt by Dscho, to loosen the sideband restriction for now and tighten later at Git v3.0 boundary.

On hold, until jc/neuter-sideband-fixup cooks long enough in 'next'. (this branch uses jc/neuter-sideband-fixup.)
source: <[email protected]>

* cs/subtree-split-recursion (2026-03-05) 3 commits
- contrib/subtree: reduce recursion during split
- contrib/subtree: functionalize split traversal
- contrib/subtree: reduce function side-effects

When processing large history graphs on Debian or Ubuntu, "git subtree" can die with a "recursion depth reached" error.

Comments?
source: <20260305-cs-subtree-split-recursion-v2-0-7266be870ba9@howdoi.land>

* ps/history-split (2026-03-02) 8 commits
(merged to 'next' on 2026-03-17 at 456723f018)
+ builtin/history: implement "split" subcommand
+ builtin/history: split out extended function to create commits
+ cache-tree: allow writing in-memory index as tree
+ add-patch: allow disabling editing of hunks
+ add-patch: add support for in-memory index patching
+ add-patch: remove dependency on "add-interactive" subsystem
+ add-patch: split out struct interactive_options
+ add-patch: split out header from "add-interactive.h"

"git history" learned the "split" subcommand.

Will merge to 'master'.
source: <[email protected]>

* pt/promisor-lazy-fetch-no-recurse (2026-03-11) 1 commit
- promisor-remote: prevent lazy-fetch recursion in child fetch

The mechanism to avoid recursive lazy-fetch from promisor remotes was not propagated properly to child "git fetch" processes, which has been corrected.

Comments?
source: <[email protected]>

* ps/upload-pack-buffer-more-writes (2026-03-12) 10 commits (merged to 'next' on 2026-03-18 at 138ad42ac5)
+ builtin/pack-objects: reduce lock contention when writing packfile data
+ csum-file: drop hashfd_throughput()
+ csum-file: introduce hashfd_ext()
+ sideband: use writev(3p) to send pktlines
+ wrapper: introduce writev(3p) wrappers
+ compat/posix: introduce writev(3p) wrapper
+ upload-pack: reduce lock contention when writing packfile data
+ upload-pack: prefer flushing data over sending keepalive
+ upload-pack: adapt keepalives based on buffering
+ upload-pack: fix debug statement when flushing packfile data

Reduce system overhead "git upload-pack" spends on relaying "git pack-objects" output to the "git fetch" running on the other end of the connection.

Will merge to 'master'.
source: <20260313-pks-upload-pack-write-contention-v4-0-7a9668061f7f@pks.im>

* mf/format-patch-cover-letter-format (2026-03-06) 5 commits (merged to 'next' on 2026-03-09 at e872adca7b)
+ docs: add usage for the cover-letter fmt feature
+ format-patch: add commitListFormat config
+ format-patch: add ability to use alt cover format
+ format-patch: move cover letter summary generation
+ pretty.c: add %(count) and %(total) placeholders (this branch is used by mf/format-patch-commit-list-format.)

"git format-patch --cover-letter" learns to use a simpler format instead of the traditional shortlog format to list its commits with a new --cover-letter-format option and format.commitListFormat configuration variable.

Waiting for the follow-on topic.
source: <[email protected]>

* pt/fsmonitor-linux (2026-03-04) 12 commits
- fsmonitor: convert shown khash to strset in do_handle_client
- fsmonitor: add tests for Linux
- fsmonitor: add timeout to daemon stop command
- fsmonitor: close inherited file descriptors and detach in daemon
- run-command: add close_fd_above_stderr option
- fsmonitor: implement filesystem change listener for Linux
- fsmonitor: rename fsm-settings-darwin.c to fsm-settings-unix.c
- fsmonitor: rename fsm-ipc-darwin.c to fsm-ipc-unix.c
- fsmonitor: use pthread_cond_timedwait for cookie wait
- compat/win32: add pthread_cond_timedwait
- fsmonitor: fix hashmap memory leak in fsmonitor_run_daemon
- fsmonitor: fix khash memory leak in do_handle_client

The fsmonitor daemon has been implemented for Linux.

Waiting for the rerolls to slow down?
cf. <[email protected]>
source: <[email protected]>

* ac/help-sort-correctly (2026-03-11) 1 commit
(merged to 'next' on 2026-03-16 at db220e143f)
+ help: cleanup the contruction of keys_uniq

The code in "git help" that shows configuration items in sorted order was awkwardly organized and prone to bugs.

Will merge to 'master'.
source: <[email protected]>

* sa/replay-revert (2026-03-12) 2 commits
- replay: add --revert mode to reverse commit changes
- sequencer: extract revert message formatting into shared function

"git replay" (experimental) learns, in addition to "pick" and "replay", a new operating mode "revert".

Expecting review responses.
cf. <[email protected]>
source: <[email protected]>

* vp/http-rate-limit-retries (2026-03-17) 3 commits
- http: add support for HTTP 429 rate limit retries
- strbuf_attach: fix call sites to pass correct alloc
- strbuf: pass correct alloc to strbuf_attach() in strbuf_reencode()

The HTTP transport learned to react to "429 Too Many Requests".

Needs review.
source: <[email protected]>

* ar/parallel-hooks (2026-03-09) 10 commits
- hook: allow runtime enabling extensions.hookStdoutToStderr
- hook: introduce extensions.hookStdoutToStderr
- hook: add per-event jobs config
- hook: add -j/--jobs option to git hook run
- hook: mark non-parallelizable hooks
- hook: allow parallel hook execution
- hook: parse the hook.jobs config
- config: add a repo_config_get_uint() helper
- repository: fix repo_init() memleak due to missing _clear()
- Merge branch 'ar/config-hook-cleanups' into ar/parallel-hooks (this branch uses ar/config-hook-cleanups.)

Needs review.
source: <[email protected]>

* ng/submodule-default-remote (2026-03-03) 1 commit (merged to 'next' on 2026-03-16 at d41fd28450)
+ submodule: fetch missing objects from default remote

Instead of hardcoded 'origin', use the configured default remote when fetching from submodules.

Will merge to 'master'.
source: <[email protected]>

* yc/histogram-hunk-shift-fix (2026-03-02) 1 commit
(merged to 'next' on 2026-03-18 at 5e49edc821)
+ xdiff: re-diff shifted change groups when using histogram algorithm

The final clean-up phase of the diff output could turn the result of histogram diff algorithm suboptimal, which has been corrected.

Will merge to 'master'.
source: <[email protected]>

* en/xdiff-cleanup-3 (2026-01-03) 11 commits
. SQUASH??? cocci
. xdiff: move xdl_cleanup_records() from xprepare.c to xdiffi.c . xdiff: remove dependence on xdlclassifier from xdl_cleanup_records() . xdiff: replace xdfile_t.dend with xdfenv_t.delta_end
. xdiff: replace xdfile_t.dstart with xdfenv_t.delta_start . xdiff: cleanup xdl_trim_ends()
. xdiff: use xdfenv_t in xdl_trim_ends() and xdl_cleanup_records() . xdiff: let patience and histogram benefit from xdl_trim_ends() . xdiff: don't waste time guessing the number of lines
. xdiff: make classic diff explicit by creating xdl_do_classic_diff() . ivec: introduce the C side of ivec

Preparation of the xdiff/ codebase to work with Rust

Expecting a reroll.
cf. <CAH=ZcbBVSqUG89n65MBpN+HMCmmjzmADGaVnuEJn_cYN0SYknw@mail.gmail.com>
source: <[email protected]>

* tb/incremental-midx-part-3.2 (2026-02-24) 17 commits (merged to 'next' on 2026-03-18 at 7f995e23bb)
+ midx: enable reachability bitmaps during MIDX compaction
+ midx: implement MIDX compaction
+ t/helper/test-read-midx.c: plug memory leak when selecting layer
+ midx-write.c: factor fanout layering from compute_sorted_entries()
+ midx-write.c: enumerate pack_int_id values directly
+ midx-write.c: extract fill_pack_from_midx()
+ midx-write.c: introduce midx_pack_perm() helper
+ midx: do not require packs to be sorted in lexicographic order
+ midx-write.c: introduce struct write_midx_opts
+ midx-write.c: don't use pack_perm when assigning bitmap_pos
+ t/t5319-multi-pack-index.sh: fix copy-and-paste error in t5319.39
+ git-multi-pack-index(1): align SYNOPSIS with 'git multi-pack-index -h'
+ git-multi-pack-index(1): remove non-existent incompatibility
+ builtin/multi-pack-index.c: make '--progress' a common option
+ midx: introduce midx_get_checksum_hex()
+ midx: rename get_midx_checksum() to midx_get_checksum_hash()
+ midx: mark get_midx_checksum() arguments as const

Further work on incremental repacking using MIDX/bitmap

Will merge to 'master'.
source: <[email protected]>

--------------------------------------------------
[Discarded]

* js/neuter-sideband (2026-02-03) 6 commits
. sideband: delay sanitizing by default to Git v3.0
. sideband: offer to configure sanitizing on a per-URL basis
. sideband: add options to allow more control sequences to be passed through . sideband: do allow ANSI color sequences by default
. sideband: introduce an "escape hatch" to allow control characters . sideband: mask control characters

Invalidate control characters in sideband messages, to avoid terminal state getting messed up.

Superseded by 'jc/neuter-sideband-fixup', which reuses most of the patches. cf. <[email protected]>
source: <[email protected]>

* bc/rev-parse-parseopt-help-exit-code (2026-03-16) 1 commit . rev-parse: have --parseopt callers exit 0 on --help

rev-parse --parseopt now includes "exit 0" in its output when the user asks for help, ensuring that scripts using the recommended eval pattern exit successfully.

Need to step back and rethink how exit code should look like. cf. <[email protected]>
source: <[email protected]>