What's cooking in git.git (Apr 2026, #02)
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']
* aa/reap-transport-child-processes (2026-03-12) 1 commit
(merged to 'next' on 2026-03-31 at fb77f8ba9e)
+ 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.
cf. <[email protected]>
source: <[email protected]>
* ar/config-hook-cleanups (2026-03-25) 13 commits (merged to 'next' on 2026-03-30 at c128948b16)
+ hook: reject unknown hook names in git-hook(1)
+ hook: show disabled hooks in "git hook list"
+ hook: show config scope in git hook list
+ hook: introduce hook_config_cache_entry for per-hook data
+ 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
+ builtin/receive-pack: properly init receive_hook strbuf
+ 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.
source: <[email protected]>
* ds/backfill-revs (2026-03-26) 6 commits
(merged to 'next' on 2026-03-27 at d4703fdd35)
+ t5620: test backfill's unknown argument handling
+ 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.
source: <[email protected]>
* jk/c23-const-preserving-fixes (2026-03-26) 5 commits (merged to 'next' on 2026-03-31 at c813b9b814)
+ config: store allocated string in non-const pointer
+ rev-parse: avoid writing to const string for parent marks
+ revision: avoid writing to const string for parent marks
+ rev-parse: simplify dotdot parsing
+ revision: make handle_dotdot() interface less confusing
Adjust the codebase for C23 that changes functions like strchr() that discarded constness when they return a pointer into a const string to preserve constness.
source: <[email protected]>
source: <[email protected]>
* js/cmake-needs-writev-compat-too (2026-04-03) 1 commit (merged to 'next' on 2026-04-03 at c0dfe4a67d)
+ cmake: use writev(3p) wrapper as needed
Build instruction for recently added writev() compatibility wrapper has been also added to cmake.
source: <[email protected]>
* js/mingw-use-strftime-directly-in-ucrt-build (2026-04-03) 1 commit (merged to 'next' on 2026-04-03 at 3ed53e1e28)
+ mingw: use strftime() directly in UCRT builds
MinGW build updates.
source: <[email protected]>
* mf/format-patch-commit-list-format (2026-03-23) 9 commits
(merged to 'next' on 2026-03-24 at 0f5b6702eb)
+ 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
+ docs/pretty-formats: add %(count) and %(total)
+ 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 is used by mf/format-patch-commit-list-format-doc; 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.
source: <[email protected]>
* mf/format-patch-commit-list-format-doc (2026-03-27) 3 commits
(merged to 'next' on 2026-03-31 at 8f775bd513)
+ format-patch: removing unconditional wrapping
+ docs: fix --commit-list-format related entries
+ Merge branch 'mf/format-patch-commit-list-format' into mf/format-patch-commit-list-format-doc (this branch uses mf/format-patch-commit-list-format and mf/format-patch-cover-letter-format.)
Doc updates.
source: <[email protected]>
* 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 and mf/format-patch-commit-list-format-doc.)
"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.
source: <[email protected]>
* ps/dash-buggy-0.5.13-workaround (2026-04-01) 2 commits (merged to 'next' on 2026-04-02 at 5766caf01e)
+ t9300: work around partial read bug in Dash v0.5.13
+ t: work around multibyte bug in quoted heredocs with Dash v0.5.13
The way dash 0.5.13 handles non-ASCII contents in here-doc is buggy and breaks our existing tests, which unfortunately have been rewritten to avoid triggering the bug.
source: <[email protected]>
* ps/odb-generic-object-name-handling (2026-03-20) 16 commits (merged to 'next' on 2026-03-31 at c14d7bdd1e)
+ 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
+ object-file: fix sparse 'plain integer as NULL pointer' error (this branch is used by ps/odb-cleanup and ps/odb-in-core.)
Object name handling (disambiguation and abbreviation) has been refactored to be backend-generic, moving logic into the respective object database backends.
cf. <[email protected]>
source: <[email protected]>
* pw/worktree-reduce-the-repository (2026-03-26) 3 commits (merged to 'next' on 2026-03-30 at f967ececef)
+ 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.
source: <[email protected]>
* qb/doc-git-stash-push-optionality (2026-03-30) 1 commit (merged to 'next' on 2026-03-31 at 66ece1b5d6)
+ docs: fix "git stash [push]" documentation
Doc update.
source: <[email protected]>
* sa/replay-revert (2026-03-25) 2 commits
(merged to 'next' on 2026-03-30 at ef4896a676)
+ replay: add --revert mode to reverse commit changes
+ sequencer: extract revert message formatting into shared function (this branch is used by tc/replay-ref.)
"git replay" (experimental) learns, in addition to "pick" and "replay", a new operating mode "revert".
source: <[email protected]>
* sp/doc-gitignore-oowt (2026-03-28) 1 commit
(merged to 'next' on 2026-03-31 at ab3e6e484e)
+ doc: gitignore: clarify pattern base for info/exclude and core.excludesFile
Doc update.
source: <[email protected]>
* tb/stdin-packs-excluded-but-open (2026-03-27) 5 commits
(merged to 'next' on 2026-03-31 at e8927aa861)
+ repack: mark non-MIDX packs above the split as excluded-open
+ pack-objects: support excluded-open packs with --stdin-packs
+ t7704: demonstrate failure with once-cruft objects above the geometric split
+ pack-objects: refactor read_packs_list_from_stdin() to use strmap
+ pack-objects: plug leak in read_stdin_packs()
pack-objects's --stdin-packs=follow mode learns to handle excluded-but-open packs.
source: <[email protected]>
* tc/replay-down-to-root (2026-03-24) 1 commit (merged to 'next' on 2026-03-31 at 47456fcc12)
+ replay: support replaying down from root commit
git replay now supports replaying down to the root commit.
source: <[email protected]>
* th/t6101-unhide-git-failures (2026-03-28) 1 commit (merged to 'next' on 2026-03-31 at 8867bcf2b4)
+ t6101: avoid suppressing git's exit code
Test cleanup.
source: <[email protected]>
* th/t8003-unhide-git-failures (2026-03-28) 2 commits (merged to 'next' on 2026-03-30 at ad41378b07)
+ t8003: modernise style
+ t8003: avoid suppressing git's exit code
Test clean-up.
source: <[email protected]>
* za/t2000-modernise (2026-03-27) 1 commit
(merged to 'next' on 2026-03-31 at 279c41a3e0)
+ t2000: modernise overall structure
Test cleanup.
source: <[email protected]>
--------------------------------------------------
[New Topics]
* js/adjust-tests-to-explicitly-access-bare-repo (2026-04-02) 17 commits
- git p4 clone --bare: need to be explicit about the gitdir
- t9700: stop relying on implicit bare repo discovery
- t9210: pass safe.bareRepository=all to scalar register
- t6020: use -C for worktree, --git-dir for bare repository
- t5619: wrap test_commit_bulk in GIT_DIR subshell for bare repo
- t5540/t5541: avoid accessing a bare repository via -C <dir>
- t5509: specify bare repository path explicitly
- t5505: export GIT_DIR after git init --bare
- t5503: avoid discovering a bare repository
- t2406: use --git-dir=. for bare repository worktree repair
- t2400: explicitly specify bare repo for git worktree add
- t1900: avoid using -C <dir> for a bare repository
- t1020: use --git-dir instead of subshell for bare repo
- t0056: allow implicit bare repo discovery for -C work-tree tests
- t0003: use --git-dir for bare repo attribute tests
- t0001: replace cd+git with git --git-dir in check_config
- t0001: allow implicit bare repo discovery for aliased-command test
Some tests assume that bare repository accesses are by default allowed; rewrite some of them to avoid the assumption, rewrite others to explicitly set safe.bareRepository to allow them.
Comments?
source: <[email protected]>
* pw/xdiff-shrink-memory-consumption (2026-04-02) 5 commits
- xdiff: reduce the size of array
- xprepare: simplify error handling
- xdiff: cleanup xdl_clean_mmatch()
- xdiff: reduce size of action arrays
- Merge branch 'en/xdiff-cleanup-3' into pw/xdiff-shrink-memory-consumption (this branch uses en/xdiff-cleanup-3.)
Shrink wasted memory in Myers diff that does not account for common prefix and suffix removal.
On hold, waiting for the base topic.
source: <[email protected]>
* cl/conditional-config-on-worktree-path (2026-04-03) 2 commits
- config: add "worktree" and "worktree/i" includeIf conditions
- config: refactor include_by_gitdir() into include_by_path()
The [includeIf "condition"] conditional inclusion facility for configuration files has learned to use the location of worktree in its condition.
Comments?
source: <[email protected]>
* bc/rust-by-default-in-2.54 (2026-04-02) 4 commits
- Enable Rust by default
- Linux: link against libdl
- ci: install cargo on Alpine
- docs: update version with default Rust support
Rust support is enabled by default (but still allows opting out) in Git 2.54.
Will merge to 'next' after Git 2.53 final gets tagged.
source: <[email protected]>
* ps/shift-root-in-graph (2026-04-04) 1 commit
- graph: add indentation for commits preceded by a parentless commit
In a history with more than one root commit, "git log --graph --oneline" stuffed an unrelated commit immediately below a root commit, which has been corrected by making the spot below a root unavailable.
Comments?
source: <[email protected]>
* jt/config-lock-timeout (2026-04-03) 1 commit
- config: retry acquiring config.lock for 100ms
The code path to update the configuration file has been taught to use a short timeout to retry.
Comments?
source: <[email protected]>
* sp/refs-with-less-the-repository (2026-04-03) 3 commits
- refs/reftable-backend: drop uses of the_repository
- refs: remove the_hash_algo global state
- refs: add struct repository parameter in get_files_ref_lock_timeout_ms()
Reduce the reference to the_repository in the refs subsystem.
Comments?
source: <[email protected]>
* dl/cache-tree-fully-valid-fix (2026-04-06) 1 commit
- cache-tree: fix inverted object existence check in cache_tree_fully_valid
The check that implements the logic to see if an in-core cache-tree is fully ready to write out a tree object was broken, which has been corrected.
Will merge to 'next'?
source: <[email protected]>
* ds/rev-list-maximal-only-optim (2026-04-06) 3 commits
- rev-list: use reduce_heads() for --maximal-only
- p6011: add perf test for rev-list --maximal-only
- t6600: test --maximal-only and --independent
"git rev-list --maximal-only" has been optimized by borrowing the logic used by "git show-branch --independent", which computes the same kind of information much more efficiently.
Will merge to 'next'.
source: <[email protected]>
* ja/doc-difftool-synopsis-style (2026-04-04) 4 commits
- doc: convert git-describe manual page to synopsis style
- doc: convert git-shortlog manual page to synopsis style
- doc: convert git-range-diff manual page to synopsis style
- doc: convert git-difftool manual page to synopsis style
Doc mark-up updates.
Will merge to 'next'?
source: <[email protected]>
* kh/doc-config-list (2026-04-05) 2 commits
- doc: gitcvs-migration: rephrase “man page”
- doc: replace git config --list/-l with list
"git config list" is the official way to spell "git config -l" and "git config --list". Use it to update the documentation.
Will merge to 'next'.
source: <[email protected]>
* lp/repack-propagate-promisor-debugging-info (2026-04-06) 6 commits
- SQUASH???
- t7703: test for promisor file content after geometric repack
- t7700: test for promisor file content after repack
- repack-promisor: preserve content of promisor files after repack
- pack-write: add helper to fill promisor file after repack
- pack-write: add explanation to promisor file content
When fetching objects into a lazily cloned repository, .promisor files are created with information meant to help debugging. "git repack" has been taught to carry this information forward to packfiles that are newly created.
Expecting a reroll?
source: <[email protected]>
* rs/history-short-help-fix (2026-04-06) 1 commit
- history: fix short help for argument of --update-refs
Glitches in "git history -h" have been corrected.
Will merge to 'next' and then to 'master'.
source: <[email protected]>
* th/backfill-auto-detect-sparseness-fix (2026-04-04) 1 commit
- backfill: auto-detect sparse-checkout from config
"git backfill" is capable of auto-detecting a sparsely checked out working tree, which was broken.
Will merge to 'next' and then to 'master'.
source: <[email protected]>
* th/promisor-quiet-per-repo (2026-04-06) 1 commit
- promisor-remote: fix promisor.quiet to use the correct repository
Comments?
source: <[email protected]>
--------------------------------------------------
[Cooking]
* jt/odb-transaction-write (2026-04-02) 7 commits
- odb/transaction: make write_object_stream() pluggable
- object-file: generalize packfile writes to use odb_write_stream
- object-file: avoid fd seekback by checking object size upfront
- object-file: remove flags from transaction packfile writes
- odb: update struct odb_write_stream read() callback
- odb/transaction: use pluggable begin_transaction()
- odb: split struct odb_transaction into separate header
ODB transaction interface is being reworked to explicitly handle object writes.
Comments?
source: <[email protected]>
* jd/cache-tree-trace-wo-the-repository (2026-03-31) 1 commit (merged to 'next' on 2026-04-02 at e36937bb5e)
+ cache-tree: use index state repository in trace2 calls
Code cleanup.
Will merge to 'master'.
source: <[email protected]>
* ps/reftable-portability (2026-04-02) 5 commits
(merged to 'next' on 2026-04-02 at 04adce37b9)
+ reftable/system: add abstraction to mmap files
+ reftable/system: add abstraction to retrieve time in milliseconds
+ reftable/fsck: use REFTABLE_UNUSED instead of UNUSED
+ reftable/stack: provide fsync(3p) via system header
+ reftable: introduce "reftable-system.h" header
Update reftable library part with what is used in libgit2 to improve portability to different target codebases and platforms.
Will merge to 'master'.
source: <[email protected]>
* jk/c23-const-preserving-fixes-more (2026-04-03) 13 commits (merged to 'next' on 2026-04-06 at 9eebe11338)
+ git-compat-util: fix CONST_OUTPARAM typo and indentation (merged to 'next' on 2026-04-02 at b060d988f4)
+ refs/files-backend: drop const to fix strchr() warning
+ http: drop const to fix strstr() warning
+ range-diff: drop const to fix strstr() warnings
+ pkt-line: make packet_reader.line non-const
+ skip_prefix(): check const match between in and out params
+ pseudo-merge: fix disk reads from find_pseudo_merge()
+ find_last_dir_sep(): convert inline function to macro
+ run-command: explicitly cast away constness when assigning to void
+ pager: explicitly cast away strchr() constness
+ transport-helper: drop const to fix strchr() warnings
+ http: add const to fix strchr() warnings
+ convert: add const to fix strchr() warnings
Further work to adjust the codebase for C23 that changes functions like strchr() that discarded constness when they return a pointer into a const string to preserve constness.
Will merge to 'master'.
source: <[email protected]>
source: <[email protected]>
* ps/odb-cleanup (2026-03-31) 7 commits
(merged to 'next' on 2026-04-02 at 1dd8236dfb)
+ odb: drop unneeded headers and forward decls
+ odb: rename odb_has_object() flags
+ odb: use enum for odb_write_object flags
+ odb: rename odb_write_object() flags
+ treewide: use enum for odb_for_each_object() flags
+ CodingGuidelines: document our style for flags
+ Merge branch 'ps/odb-generic-object-name-handling' into ps/odb-cleanup (this branch is used by ps/odb-in-core.)
Various code clean-up around odb subsystem.
Will merge to 'master'.
source: <[email protected]>
* ss/t7004-unhide-git-failures (2026-03-31) 1 commit (merged to 'next' on 2026-04-02 at fec00b153f)
+ t7004: replace wc -l with modern test helpers
Test clean-up.
Will merge to 'master'.
source: <[email protected]>
* ng/add-files-to-cache-wo-rename (2026-04-01) 1 commit (merged to 'next' on 2026-04-02 at 8723880fc0)
+ read-cache: disable renames in add_files_to_cache
add_files_to_cache() used diff_files() to detect only the paths that are different between the index and the working tree and add them, which does not need rename detection, which interfered with unnecessary conflicts.
Will merge to 'master'.
source: <[email protected]>
* sa/cat-file-batch-mailmap-switch (2026-03-31) 1 commit
- cat-file: add mailmap subcommand to --batch-command
"git cat-file --batch" learns an in-line command "mailmap" that lets the user toggle use of mailmap.
Expecting a (hopefully small and final) reroll? cf. <[email protected]>
source: <[email protected]>
* tb/incremental-midx-part-3.3 (2026-03-29) 16 commits
- repack: allow --write-midx=incremental without --geometric
- repack: introduce --write-midx=incremental
- repack: implement incremental MIDX repacking
- packfile: ensure close_pack_revindex() frees in-memory revindex
- builtin/repack.c: convert --write-midx to an OPT_CALLBACK
- repack-geometry: prepare for incremental MIDX repacking
- repack-midx: extract repack_fill_midx_stdin_packs()
- repack-midx: factor out repack_prepare_midx_command()
- midx: expose midx_layer_contains_pack()
- repack: track the ODB source via existing_packs
- midx: support custom --base for incremental MIDX writes
- midx: introduce --checksum-only for incremental MIDX writes
- midx: use strvec for keep_hashes
- strvec: introduce strvec_init_alloc()
- midx: use string_list for retained MIDX files
- midx-write: handle noop writes when converting incremental chains
The repacking code has been refactored and compaction of MIDX layers have been implemented, and incremental strategy that does not require all-into-one repacking has been introduced.
Expecting a reroll.
cf. <[email protected]>
source: <[email protected]>
* jd/read-cache-trace-wo-the-repository (2026-03-30) 1 commit (merged to 'next' on 2026-04-01 at 7047e45a6d)
+ read-cache: use istate->repo for trace2 logging
A handful of inappropriate uses of the_repository have been rewritten to use the right repository structure instance in the read-cache.c codepath.
Will merge to 'master'.
source: <[email protected]>
* jd/unpack-trees-wo-the-repository (2026-03-31) 2 commits
- unpack-trees: use repository from index instead of global
- unpack-trees: use repository from index instead of global
A handful of inappropriate uses of the_repository have been rewritten to use the right repository structure instance in the unpack-trees.c codepath.
Comments?
source: <[email protected]>
* ps/receive-pack-updateinstead-in-worktree (2026-03-30) 3 commits (merged to 'next' on 2026-04-01 at df61eac37b)
+ receive-pack: use worktree HEAD for updateInstead
+ t5516: clean up cloned and new-wt in denyCurrentBranch and worktrees test
+ t5516: test updateInstead with worktree and unborn bare HEAD
The check in "receive-pack" to prevent a checked out branch from getting updated via updateInstead mechanism has been corrected.
Will merge to 'master'.
source: <[email protected]>
* ps/setup-wo-the-repository (2026-03-30) 18 commits
- setup: stop using the_repository in init_db()
- setup: stop using the_repository in create_reference_database()
- setup: stop using the_repository in initialize_repository_version()
- setup: stop using the_repository in check_repository_format()
- setup: stop using the_repository in upgrade_repository_format()
- setup: stop using the_repository in setup_git_directory()
- setup: stop using the_repository in setup_git_directory_gently()
- setup: stop using the_repository in setup_git_env()
- setup: stop using the_repository in set_git_work_tree()
- setup: stop using the_repository in setup_work_tree()
- setup: stop using the_repository in enter_repo()
- setup: stop using the_repository in verify_non_filename()
- setup: stop using the_repository in verify_filename()
- setup: stop using the_repository in path_inside_repo()
- setup: stop using the_repository in prefix_path()
- setup: stop using the_repository in is_inside_git_dir()
- setup: stop using the_repository in is_inside_worktree()
- setup: replace use of the_repository in static functions
Many uses of the_repository has been updated to use a more appropriate struct repository instance in setup.c codepath.
Needs review.
source: <[email protected]>
* kh/doc-trailers (2026-03-30) 2 commits
- doc: interpret-trailers: explain key format
- doc: interpret-trailers: stop fixating on RFC 822
Documentation updates.
Expecting a reroll.
cf. <[email protected]>
source: <[email protected]>
* tc/replay-ref (2026-04-01) 4 commits
(merged to 'next' on 2026-04-03 at 196ecde80b)
+ replay: allow to specify a ref with option --ref
+ replay: use stuck form in documentation and help message
+ builtin/replay: mark options as not negatable
+ Merge branch 'sa/replay-revert' into tc/replay-ref
The experimental git replay command learned the --ref=<ref> option to allow specifying which ref to update, overriding the default behavior.
Will merge to 'master'.
source: <[email protected]>
* jt/fast-import-signed-modes (2026-03-26) 5 commits
(merged to 'next' on 2026-04-01 at bec92be5e9)
+ fast-import: add 'abort-if-invalid' mode to '--signed-tags=<mode>'
+ fast-import: add 'sign-if-invalid' mode to '--signed-tags=<mode>'
+ fast-import: add 'strip-if-invalid' mode to '--signed-tags=<mode>'
+ fast-import: add 'abort-if-invalid' mode to '--signed-commits=<mode>'
+ fast-export: check for unsupported signing modes earlier
Handling of signed commits and tags in fast-import has been made more configurable.
Will merge to 'master'.
source: <[email protected]>
* ps/graph-lane-limit (2026-03-27) 3 commits
- graph: add truncation mark to capped lanes
- graph: add --graph-lane-limit option
- graph: limit the graph width to a hard-coded max
The graph output from commands like "git log --graph" can now be limited to a specified number of lanes, preventing overly wide output in repositories with many branches.
Needs review.
cf. <[email protected]>
source: <[email protected]>
* cc/promisor-auto-config-url (2026-04-02) 10 commits
- t5710: use proper file:// URIs for absolute paths
- promisor-remote: remove the 'accepted' strvec
- promisor-remote: keep accepted promisor_info structs alive
- promisor-remote: refactor accept_from_server()
- promisor-remote: refactor has_control_char()
- promisor-remote: refactor should_accept_remote() control flow
- promisor-remote: reject empty name or URL in advertised remote
- promisor-remote: clarify that a remote is ignored
- promisor-remote: pass config entry to all_fields_match() directly
- promisor-remote: try accepted remotes before others in get_direct()
Promisor remote handling is enhanced to auto-configure remotes based on a URL whitelist.
Comments?
source: <[email protected]>
* ps/fsck-wo-the-repository (2026-03-23) 12 commits
(merged to 'next' on 2026-04-01 at 6ab7607f2d)
+ builtin/fsck: stop using the_repository in error reporting
+ builtin/fsck: stop using the_repository when marking objects
+ builtin/fsck: stop using the_repository when checking packed objects
+ builtin/fsck: stop using the_repository with loose objects
+ builtin/fsck: stop using the_repository when checking reflogs
+ builtin/fsck: stop using the_repository when checking refs
+ builtin/fsck: stop using the_repository when snapshotting refs
+ builtin/fsck: fix trivial dependence on the_repository
+ fsck: drop USE_THE_REPOSITORY
+ fsck: store repository in fsck options
+ fsck: initialize fsck options via a function
+ fetch-pack: move fsck options into function scope
Internals of "git fsck" have been refactored to not depend on the global the_repository variable.
Will merge to 'master'.
source: <20260323-b4-pks-fsck-without-the-repository-v2-0-e8dc79bca651@pks.im>
* yc/path-walk-fix-error-reporting (2026-03-20) 1 commit (merged to 'next' on 2026-04-01 at ddcff8b9c6)
+ path-walk: fix NULL pointer dereference in error message
The value of a wrong pointer variable was referenced in an error message that reported that it shouldn't be NULL.
Will merge to 'master'.
source: <[email protected]>
* jr/bisect-custom-terms-in-output (2026-03-20) 1 commit
- bisect: use selected alternate terms in status output
"git bisect" now uses the selected terms (e.g., old/new) more consistently in its output.
Expecting a reroll?
cf. <[email protected]>
source: <[email protected]>
* jc/whitespace-incomplete-line (2026-03-17) 1 commit
(merged to 'next' on 2026-04-01 at 10a4d95236)
+ apply: fix new-style empty context line triggering incomplete-line check
Fix whitespace correction for new-style empty context lines.
Will merge to 'master'.
source: <[email protected]>
* sp/add-patch-with-fewer-the-repository (2026-03-17) 1 commit (merged to 'next' on 2026-04-01 at b9edaddcff)
+ add-patch: use repository instance from add_i_state instead of the_repository
Reduce dependency on the_repository in add-patch.c file.
Will merge to 'master'.
source: <[email protected]>
* ps/commit-graph-overflow-fix (2026-03-23) 1 commit (merged to 'next' on 2026-04-01 at c502054354)
+ 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.
Will merge to 'master'.
source: <[email protected]>
* ua/push-remote-group (2026-03-27) 3 commits
- SQUASH??? - futureproof against the attack of the "main"
- 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.
Expecting a reroll.
cf. <[email protected]>
cf. <[email protected]>
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-20) 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.
Comments?
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>
* mm/line-log-use-standard-diff-output (2026-03-16) 4 commits (merged to 'next' on 2026-04-01 at 724e6526dc)
+ 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.
Will merge to 'master'.
cf. <[email protected]>
source: <[email protected]>
* 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>
* 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]>
* pt/fsmonitor-linux (2026-04-06) 13 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
- t9210: disable GIT_TEST_SPLIT_INDEX for scalar clone tests
The fsmonitor daemon has been implemented for Linux.
Needs review.
source: <[email protected]>
* ar/parallel-hooks (2026-04-04) 13 commits
- hook: allow hook.jobs=-1 to use all available CPU cores
- hook: add hook.<event>.enabled switch
- hook: move is_known_hook() to hook.c for wider use
- hook: warn when hook.<friendly-name>.jobs is set
- hook: add per-event jobs config
- hook: add -j/--jobs option to git hook run
- hook: mark non-parallelizable hooks
- hook: allow pre-push parallel execution
- 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
Needs review.
source: <[email protected]>
* en/xdiff-cleanup-3 (2026-03-30) 6 commits
- xdiff/xdl_cleanup_records: simplify INVESTIGATE handling for clarity
- xdiff/xdl_cleanup_records: make setting action easier to follow
- xdiff/xdl_cleanup_records: make limits more clear
- xdiff/xdl_cleanup_records: use unambiguous types
- xdiff: use unambiguous types in xdl_bogo_sqrt()
- xdiff/xdl_cleanup_records: delete local recs pointer (this branch is used by pw/xdiff-shrink-memory-consumption.)
Preparation of the xdiff/ codebase to work with Rust.
Changes the behaviour without meaning to, which needs fixing. cf. <[email protected]>
source: <[email protected]>