Skip to contentSkip to conversation

What's cooking in git.git (Jul 2025, #07; Thu, 24)

DISCUSSION Junio C Hamano 3 participants 6 messages Jul 24, 2025 – Jul 27, 2025

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 are 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 an URL to a message that raises issues but they are no means exhaustive. A topic without enough support may be discarded after a long period of no activity (of course they can be resubmit 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']

* cc/fast-import-export-signature-names (2025-07-09) 1 commit (merged to 'next' on 2025-07-15 at a6a173da68)
+ fast-(import|export): improve on commit signature output format

Clean up the way how signature on commit objects are exported to and imported from fast-import stream.
cf. <CABPp-BHM5afgiUf7GsTPWmrf_tm6mWnvHWMKiZPxApJzN-U8gg@mail.gmail.com>
source: <[email protected]>

* ly/changed-paths-traversal (2025-07-14) 5 commits (merged to 'next' on 2025-07-15 at 45fdb67b92)
+ bloom: optimize multiple pathspec items in revision
+ revision: make helper for pathspec to bloom keyvec
+ bloom: replace struct bloom_key * with struct bloom_keyvec
+ bloom: rename function operates on bloom_key
+ bloom: add test helper to return murmur3 hash

Lift the limitation to use changed-path filter in "git log" so that it can be used for a pathspec with multiple literal paths.
source: <[email protected]>

* ps/sane-ctype-workaround (2025-07-09) 1 commit (merged to 'next' on 2025-07-15 at 21b79228e3)
+ sane-ctype: fix compiler error on Amazon Linux 2

Our <sane-ctype.h> header file relied on that the system-supplied <ctype.h> header is not later included, which would override our macro definitions, but "amazon linux" broke this assumption. Fix this by preemptively including <ctype.h> near the beginning of <sane-ctype.h> ourselves.
source: <fabacc9bc7ef7d462d1c7198d5edc18c76b82270.1752139420.git.ps@pks.im>

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

* jc/document-test-balloons-in-flight (2025-07-23) 1 commit
- CodingGuidelines: document test balloons in flight

To help our developers, document what C99 language features are being considered for adoption, in addition to what past experiments have already decided.

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

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

* ly/pull-autostash (2025-07-20) 1 commit
- pull: add pull.autoStash config option

"git pull" learned to pay attention to pull.autostash configuration variable, which overrides rebase/merge.autostash.

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

* jk/revision-no-early-output (2025-07-19) 1 commit (merged to 'next' on 2025-07-23 at cfc20b3eb9)
+ revision: drop early output option

Remove unsupported, unused, and unsupportable old option from "git log".

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

* ag/imap-send-list-folders-doc (2025-07-22) 1 commit
- docs: explain how to use git imap-send --list command to get a list of available folders

Document recently added "git imap-send --list" with an example.

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

* ag/send-email-imap-sent (2025-07-22) 1 commit
- send-email: add ability to send a copy of sent emails to an IMAP folder

"git send-email" learned to drive "git imap-send" to store already sent e-mails in an IMAP folder.

A reroll (v4) exists.
cf. <PN3PR01MB9597EC4C5DF97943587AEEB4B85FA@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM>
source: <da7cee769f25871ed3f934e3ec7f2cccf0a0420c.1753182534.git.gargaditya08@live.com>

* en/ort-rename-fixes (2025-07-22) 6 commits
- merge-ort: fix directory rename on top of source of other rename/delete
- merge-ort: fix incorrect file handling
- t6423: fix missed staging of file in testcases 12i,12j,12k
- t6423: document two bugs with rename-to-self testcases
- merge-ort: drop unnecessary temporary in check_for_directory_rename()
- merge-ort: update comments to modern testfile location

Various bugs about rename handling in "ort" merge strategy have been fixed.

Comments?
source: <[email protected]>

* hl/test-helper-fd-close (2025-07-22) 2 commits
- t/helper/test-delta: fix possible resource leak and ensure safe cleanup
- t/helper/test-truncate: close file descriptor after truncation

A few file descriptors left unclosed upon program completion in a few test helper programs are now closed.

Expecting a reroll.
cf. <CAPig+cR-r=CeEaSTeWsX00MLCSRJUUVXMUWS6Ui-HQcR_qMGJA@mail.gmail.com>
source: <[email protected]>

* jb/t7510-gpg-program-path (2025-07-22) 1 commit
- t7510: add test cases for non-absolute gpg program

A new test to ensure that a recent change will keep working.

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

* jc/do-not-scan-argv-without-parsing (2025-07-21) 1 commit (merged to 'next' on 2025-07-23 at 8e3db5dcca)
+ rev-list: update a NEEDSWORK comment

Update a hard-to-read in-code NEEDSWORK comment.

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

* jc/rev-list-info-cleanup (2025-07-18) 1 commit (merged to 'next' on 2025-07-23 at 09282d051a)
+ rev-list: make "struct rev_list_info" static to the only user

Move structure definition from unrelated header file to where it belongs.

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

* jk/unleak-reflog-expire-entry (2025-07-22) 1 commit (merged to 'next' on 2025-07-23 at 1663299f09)
+ reflog: close leak of reflog expire entry

Leakfix.

Will merge to 'master'.
source: <20250722-jk-fix-leak-reflog-expire-config-v4-1-b65a83551020@gmail.com>

* jt/switch-restore-no-longer-experimental (2025-07-22) 2 commits
- builtin: unmark git-switch and git-restore as experimental
- builtin: remove merge short flag for switch and restore

Declare that "git switch" and "git restore" are no longer experimental.

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

* ps/reflog-migrate-fixes (2025-07-22) 8 commits
- refs: fix invalid old object IDs when migrating reflogs
- refs: stop unsetting REF_HAVE_OLD for log-only updates
- refs: fix identity for migrated reflogs
- ident: fix type of string length parameter
- builtin/reflog: implement subcommand to write new entries
- refs: export ref_transaction_update_reflog()
- builtin/reflog: improve grouping of subcommands
- Documentation/git-reflog: convert to use synopsis type

"git refs migrate" to migrate the reflog entries from a refs backend to another had a handful of bugs squashed.

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

* kl/test-installed-fix (2025-07-15) 2 commits
(merged to 'next' on 2025-07-16 at 512176f26c)
+ test-lib: respect GIT_TEST_INSTALLED when querying default hash
+ Merge branch 'bc/use-sha256-by-default-in-3.0' into kl/test-installed-fix

GIT_TEST_INSTALLED was not honored in the recent topic related to SHA256 hashes, which has been corrected.

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

* pw/config-kvi-remove-path (2025-07-15) 1 commit
(merged to 'next' on 2025-07-16 at 3203507b49)
+ config: remove unneeded struct field

Remove a redundant member from kvi struct.

Will merge to 'master'.
source: <31724ce432b19088b7c7643654788d8e712b3193.1752588042.git.phillip.wood@dunelm.org.uk>

* rs/pop-recent-commit-with-prio-queue (2025-07-18) 3 commits (merged to 'next' on 2025-07-22 at b859ed88ed)
+ commit: use prio_queue_replace() in pop_most_recent_commit()
+ prio-queue: add prio_queue_replace()
+ commit: convert pop_most_recent_commit() to prio_queue

The pop_most_recent_commit() function can have quite expensive worst case performance characteristics, which has been optimized by using prio-queue data structure.

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

* bc/contribution-under-non-real-names (2025-07-15) 1 commit (merged to 'next' on 2025-07-16 at 6ba607880d)
+ SubmittingPatches: allow non-real name contributions

Document that we do not require "real" name when signing your patches off.

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

* jc/ci-print-test-failures-fix (2025-07-16) 1 commit
- ci: allow github-actions print test failures again

CI fix.

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

* rj/meson-libexecdir-fix (2025-07-15) 2 commits (merged to 'next' on 2025-07-16 at 36c2be9510)
+ po/meson.build: add missing 'ga' language code
+ meson: fix installation when -Dlibexexdir is set

Meson-based build did not handle libexecdir setting correctly, which has been corrected.

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

* ds/sparse-checkout-clean (2025-07-16) 9 commits
- sparse-checkout: make 'clean' clear more files
- t: expand tests around sparse merges and clean
- sparse-index: point users to new 'clean' action
- sparse-checkout: add --verbose option to 'clean'
- dir: add generic "walk all files" helper
- sparse-checkout: match some 'clean' behavior
- sparse-checkout: add basics of 'clean' command
- sparse-checkout: remove use of the_repository
- Merge branch 'ac/deglobal-sparse-variables' into ds/sparse-checkout-clean (this branch uses ac/deglobal-sparse-variables.)

"git sparse-checkout" subcommand learned a new "clean" action to prune otherwise unused working-tree files that are outside the areas of interest.

Needs to wait for the base topic to solidify.
source: <[email protected]>

* ps/config-wo-the-repository (2025-07-23) 22 commits
- config: fix sign comparison warnings
- config: move Git config parsing into "environment.c"
- config: remove unused the_repository wrappers
- config: drop git_config_set_multivar() wrapper
- config: drop git_config_get_multivar_gently() wrapper
- config: drop git_config_set_multivar_in_file_gently() wrapper
- config: drop git_config_set_in_file_gently() wrapper
- config: drop git_config_set() wrapper
- config: drop git_config_set_gently() wrapper
- config: drop git_config_set_in_file() wrapper
- config: drop git_config_get_bool() wrapper
- config: drop git_config_get_ulong() wrapper
- config: drop git_config_get_int() wrapper
- config: drop git_config_get_string() wrapper
- config: drop git_config_get_string() wrapper
- config: drop git_config_get_string_multi() wrapper
- config: drop git_config_get_value() wrapper
- config: drop git_config_get_value() wrapper
- config: drop git_config_get() wrapper
- config: drop git_config_clear() wrapper
- config: drop git_config() wrapper
- Merge branch 'bc/use-sha256-by-default-in-3.0' into ps/config-wo-the-repository

The config API had a set of convenience wrapper functions that implicitly use the_repository instance; they have been removed and inlined at the calling sites.

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

* cb/meson-avoid-broken-macos-pcre2 (2025-07-18) 1 commit
- meson: work around broken system PCRE2 dependency in macOS

Build fix for macOS.

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

* pw/adopt-c99-bool-officially (2025-07-16) 3 commits (merged to 'next' on 2025-07-16 at 62afce02b7)
+ strbuf: convert predicates to return bool
+ git-compat-util: convert string predicates to return bool
+ CodingGuidelines: allow the use of bool

Declare weather-balloon we raised for "bool" type 18 months ago a success and officially allow using the type in our codebase.

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

* pw/3.0-commentchar-auto-deprecation (2025-07-08) 2 commits
- commit: print advice when core.commentString=auto
- breaking-changes: deprecate support for core.commentString=auto

Proposes to deprecate "core.commentChar=auto" that attempts to dynamically pick a suitable comment character, as it is too much trouble to support for little benefit.

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

* ps/object-store-midx (2025-07-15) 9 commits
- midx: remove now-unused linked list of multi-pack indices
- packfile: stop using linked MIDX list in get_all_packs()
- packfile: stop using linked MIDX list in find_pack_entry()
- packfile: refactor get_multi_pack_index() to work on sources
- midx: stop using linked list when closing MIDX
- packfile: refactor prepare_packed_git_one() to work on sources
- midx: start tracking per object database source
- Merge branch 'tb/midx-avoid-cruft-packs' into ps/object-store-midx
- Merge branch 'ps/object-store' into ps/object-store-midx

Redefine where the multi-pack-index sits in the object subsystem, which recently was restructured to allow multiple backends that support a single object source that belongs to one repository. A midx does span mulitple "object sources".

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

* ps/object-file-wo-the-repository (2025-07-16) 17 commits
- object-file: get rid of the_repository in index-related functions
- object-file: get rid of the_repository in force_object_loose()
- object-file: get rid of the_repository in read_loose_object()
- object-file: get rid of the_repository in loose object iterators
- object-file: remove declaration for for_each_file_in_obj_subdir()
- object-file: inline for_each_loose_file_in_objdir_buf()
- object-file: get rid of the_repository when writing objects
- odb: introduce odb_write_object()
- loose: write loose objects map via their source
- object-file: get rid of the_repository in finalize_object_file()
- object-file: get rid of the_repository in loose_object_info()
- object-file: get rid of the_repository when freshening objects
- object-file: inline check_and_freshen() functions
- object-file: get rid of the_repository in has_loose_object()
- object-file: stop using the_hash_algo
- object-file: fix -Wsign-compare warnings
- Merge branch 'ps/object-store' into ps/object-file-wo-the-repository

Reduce implicit assumption and dependence on the_repository in the object-file subsystem.

Comments?
source: <20250717-pks-object-file-wo-the-repository-v2-0-36d2cd6c700e@pks.im>

* ua/t1517-short-help-tests (2025-07-21) 2 commits
. t5200: move update-server-info -h test from t1517 . t/t1517: automate git subcmd -h tests outside a repository

Test shuffling.

Seems to introduce a few "todo passed" when merged to 'seen'.
source: <[email protected]>

* kn/for-each-ref-skip (2025-07-23) 6 commits
- ref-iterator-seek: correctly initialize the prefix_state for a new level (merged to 'next' on 2025-07-15 at 4ea3c74afd)
+ for-each-ref: introduce a '--start-after' option
+ ref-filter: remove unnecessary else clause
+ refs: selectively set prefix in the seek functions
+ ref-cache: remove unused function 'find_ref_entry()'
+ refs: expose ref_iterator via 'refs.h'

"git for-each-ref" learns "--skip-until" option to help applications that want to page its output.

Will merge to 'next' and then to 'master'.
source: <20250715-306-git-for-each-ref-pagination-v5-0-852d5a2f56e1@gmail.com>

* tc/last-modified (2025-07-18) 6 commits
- fixup! last-modified: support --extended format
- last-modified: support --extended format
- pretty: allow caller to disable indentation
- last-modified: use Bloom filters when available
- t/perf: add last-modified perf script
- last-modified: new subcommand to show when files were last modified

A new command "git last-modified" is proposed to show the closest ancestor commit that touched each path.

Still in flux.
source: <[email protected]>

* ac/auto-comment-char-fix (2025-07-16) 2 commits
(merged to 'next' on 2025-07-21 at be3e6c3480)
+ config: set comment_line_str to "#" when core.commentChar=auto
+ commit: avoid scanning trailing comments when 'core.commentChar' is "auto"

"git commit" that concludes a conflicted merge failed to notice and remove existing comment added automatically (like "# Conflicts:") when the core.commentstring is set to 'auto'.

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

* lo/repo-info (2025-07-21) 5 commits
- repo: add the --format flag
- repo: add field layout.shallow
- repo: add field layout.bare
- repo: add the field references.format
- repo: declare the repo command

A new subcommand "git repo" gives users a way to grab various repository characteristics.

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

* ac/deglobal-sparse-variables (2025-07-18) 3 commits
- environment: remove the global variable 'sparse_expect_files_outside_of_patterns'
- environment: move access to "core.sparsecheckoutcone" into repo_settings
- environment: move access to "core.sparsecheckout" into repo_settings (this branch is used by ds/sparse-checkout-clean.)

Two global variables related to sparse checkout have been moved to the repository settings structure.

Ready?
source: <[email protected]>

* ow/rebase-verify-insn-fmt-before-initializing-state (2025-06-09) 1 commit
- rebase: write script before initializing state

"git rebase -i" with bogus rebase.instructionFormat configuration failed to produce the todo file after recording the state files, leading to confused "git status"; this has been corrected.

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

* ss/compat-bswap-revamp (2025-07-15) 6 commits
(merged to 'next' on 2025-07-16 at c8713eca28)
+ bswap.h: provide a built-in based version of bswap32/64 if possible
+ bswap.h: remove optimized x86 version of bswap32/64
+ bswap.h: always overwrite ntohl/ ntohll macros
+ bswap.h: define GIT_LITTLE_ENDIAN on msvc as little endian
+ bswap.h: add support for __BYTE_ORDER__
+ Merge branch 'ss/revert-builtin-bswap-stuff' into ss/compat-bswap-revamp

Clean-up compat/bswap.h mess.

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

* sk/reftable-clarify-tests (2025-06-05) 10 commits
- t/unit-tests: finalize migration of reftable-related tests
- t/unit-tests: convert reftable stack test to use clar
- t/unit-tests: convert reftable record test to use clar
- t/unit-tests: convert reftable readwrite test to use clar
- t/unit-tests: convert reftable table test to use clar
- t/unit-tests: convert reftable pq test to use clar
- t/unit-tests: convert reftable merged test to use clar
- t/unit-tests: convert reftable block test to use clar
- t/unit-tests: convert reftable basics test to use clar test framework
- t/unit-tests: implement clar specific reftable test helper functions

The reftable unit tests are now ported to the "clar" unit testing framework.

Reroll (v5) exists.
cf. <[email protected]>
source: <[email protected]>

* tb/prepare-midx-pack-cleanup (2025-05-28) 5 commits
- midx: return a packed_git pointer from prepare_midx_pack()
- midx-write.c: extract inner loop from fill_packs_from_midx()
- midx-write.c: guard against incremental MIDXs in want_included_pack()
- midx: access pack names through nth_midxed_pack_name()
- Merge branch 'ps/midx-negative-packfile-cache' into tb/prepare-midx-pack-cleanup

Improvement on Multi-pack-index API.

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

* kj/renamed-submodule (2025-06-07) 2 commits
- submodule: skip redundant active entries when pattern covers path
- submodule: prevent overwriting .gitmodules entry on path reuse

The case where a new submodule takes a path where used to be a completely different subproject is now dealt a bit better than before.

Expecting a reroll.
cf. <CA+rGoLfygOAxXNxn_TComuef6q+=v1wOoUSfKh4M6Ywk-0McHQ@mail.gmail.com>
source: <[email protected]>

* lm/add-p-context (2025-07-23) 5 commits
- fixup! add-patch: add diff.context command line overrides
- add-patch: add diff.context command line overrides
- add-patch: respect diff.context configuration
- t: use test_config in t4055
- t: use test_grep in t3701 and t4055

"git add/etc -p" now honors diff.context configuration variable, and learns to honor -U<n> option.

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

* cc/promisor-remote-capability (2025-07-21) 5 commits
- promisor-remote: use string constants for 'name' and 'url' too
- promisor-remote: allow a client to check fields
- promisor-remote: refactor how we parse advertised fields
- promisor-remote: allow a server to advertise more fields
- promisor-remote: refactor to get rid of 'struct strvec'

The "promisor-remote" capability mechanism has been updated to allow the "partialCloneFilter" settings and the "token" value to be communicated from the server side.

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

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

* pw/compound-literal-test-balloon (2025-07-14) 1 commit . strbuf: add compound literal test balloon

Gauge if the world is ready for compound literal that can make the resulting code clearer in some places.

Discarded; it turns out that we already have a test balloon on this.
source: <7ac55a5096c261b706f47ca239c381f71db2b67a.1752499653.git.phillip.wood@dunelm.org.uk>

* jc/tag-idempotent-no-op (2025-07-11) 1 commit
- tag: allow idempotent "git tag" without "--force"

"git tag T O" when the tag T is already pointing at the object O is a no-op; we used to but no longer error out such a request and require "--force" and instead turn it into a no-op.

Will discard.
cf. <dt5ruadvr7lmhsbypmb6yili5cookfx5btw4gzfeui7ehxxajv@ziael4udbbcy>
source: <[email protected]>

#1 lore raw
Quoted 431 lines · Junio C Hamano

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 are 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 an URL to a message that raises issues but they are no means exhaustive. A topic without enough support may be discarded after a long period of no activity (of course they can be resubmit 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']

* cc/fast-import-export-signature-names (2025-07-09) 1 commit (merged to 'next' on 2025-07-15 at a6a173da68)
+ fast-(import|export): improve on commit signature output format

Clean up the way how signature on commit objects are exported to and imported from fast-import stream.
cf. <CABPp-BHM5afgiUf7GsTPWmrf_tm6mWnvHWMKiZPxApJzN-U8gg@mail.gmail.com>
source: <[email protected]>

* ly/changed-paths-traversal (2025-07-14) 5 commits (merged to 'next' on 2025-07-15 at 45fdb67b92)
+ bloom: optimize multiple pathspec items in revision
+ revision: make helper for pathspec to bloom keyvec
+ bloom: replace struct bloom_key * with struct bloom_keyvec
+ bloom: rename function operates on bloom_key
+ bloom: add test helper to return murmur3 hash

Lift the limitation to use changed-path filter in "git log" so that it can be used for a pathspec with multiple literal paths.
source: <[email protected]>

* ps/sane-ctype-workaround (2025-07-09) 1 commit (merged to 'next' on 2025-07-15 at 21b79228e3)
+ sane-ctype: fix compiler error on Amazon Linux 2

Our <sane-ctype.h> header file relied on that the system-supplied <ctype.h> header is not later included, which would override our macro definitions, but "amazon linux" broke this assumption. Fix this by preemptively including <ctype.h> near the beginning of <sane-ctype.h> ourselves.
source: <fabacc9bc7ef7d462d1c7198d5edc18c76b82270.1752139420.git.ps@pks.im>

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

* jc/document-test-balloons-in-flight (2025-07-23) 1 commit
- CodingGuidelines: document test balloons in flight

To help our developers, document what C99 language features are being considered for adoption, in addition to what past experiments have already decided.

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

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

* ly/pull-autostash (2025-07-20) 1 commit
- pull: add pull.autoStash config option

"git pull" learned to pay attention to pull.autostash configuration variable, which overrides rebase/merge.autostash.

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

* jk/revision-no-early-output (2025-07-19) 1 commit (merged to 'next' on 2025-07-23 at cfc20b3eb9)
+ revision: drop early output option

Remove unsupported, unused, and unsupportable old option from "git log".

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

* ag/imap-send-list-folders-doc (2025-07-22) 1 commit
- docs: explain how to use git imap-send --list command to get a list of available folders

Document recently added "git imap-send --list" with an example.

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

* ag/send-email-imap-sent (2025-07-22) 1 commit
- send-email: add ability to send a copy of sent emails to an IMAP folder

"git send-email" learned to drive "git imap-send" to store already sent e-mails in an IMAP folder.

A reroll (v4) exists.
cf. <PN3PR01MB9597EC4C5DF97943587AEEB4B85FA@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM>
source: <da7cee769f25871ed3f934e3ec7f2cccf0a0420c.1753182534.git.gargaditya08@live.com>

* en/ort-rename-fixes (2025-07-22) 6 commits
- merge-ort: fix directory rename on top of source of other rename/delete
- merge-ort: fix incorrect file handling
- t6423: fix missed staging of file in testcases 12i,12j,12k
- t6423: document two bugs with rename-to-self testcases
- merge-ort: drop unnecessary temporary in check_for_directory_rename()
- merge-ort: update comments to modern testfile location

Various bugs about rename handling in "ort" merge strategy have been fixed.

Comments?
source: <[email protected]>

* hl/test-helper-fd-close (2025-07-22) 2 commits
- t/helper/test-delta: fix possible resource leak and ensure safe cleanup
- t/helper/test-truncate: close file descriptor after truncation

A few file descriptors left unclosed upon program completion in a few test helper programs are now closed.

Expecting a reroll.
cf. <CAPig+cR-r=CeEaSTeWsX00MLCSRJUUVXMUWS6Ui-HQcR_qMGJA@mail.gmail.com>
source: <[email protected]>

* jb/t7510-gpg-program-path (2025-07-22) 1 commit
- t7510: add test cases for non-absolute gpg program

A new test to ensure that a recent change will keep working.

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

* jc/do-not-scan-argv-without-parsing (2025-07-21) 1 commit (merged to 'next' on 2025-07-23 at 8e3db5dcca)
+ rev-list: update a NEEDSWORK comment

Update a hard-to-read in-code NEEDSWORK comment.

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

* jc/rev-list-info-cleanup (2025-07-18) 1 commit (merged to 'next' on 2025-07-23 at 09282d051a)
+ rev-list: make "struct rev_list_info" static to the only user

Move structure definition from unrelated header file to where it belongs.

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

* jk/unleak-reflog-expire-entry (2025-07-22) 1 commit (merged to 'next' on 2025-07-23 at 1663299f09)
+ reflog: close leak of reflog expire entry

Leakfix.

Will merge to 'master'.
source: <20250722-jk-fix-leak-reflog-expire-config-v4-1-b65a83551020@gmail.com>

* jt/switch-restore-no-longer-experimental (2025-07-22) 2 commits
- builtin: unmark git-switch and git-restore as experimental
- builtin: remove merge short flag for switch and restore

Declare that "git switch" and "git restore" are no longer experimental.

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

* ps/reflog-migrate-fixes (2025-07-22) 8 commits
- refs: fix invalid old object IDs when migrating reflogs
- refs: stop unsetting REF_HAVE_OLD for log-only updates
- refs: fix identity for migrated reflogs
- ident: fix type of string length parameter
- builtin/reflog: implement subcommand to write new entries
- refs: export ref_transaction_update_reflog()
- builtin/reflog: improve grouping of subcommands
- Documentation/git-reflog: convert to use synopsis type

"git refs migrate" to migrate the reflog entries from a refs backend to another had a handful of bugs squashed.

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

* kl/test-installed-fix (2025-07-15) 2 commits
(merged to 'next' on 2025-07-16 at 512176f26c)
+ test-lib: respect GIT_TEST_INSTALLED when querying default hash
+ Merge branch 'bc/use-sha256-by-default-in-3.0' into kl/test-installed-fix

GIT_TEST_INSTALLED was not honored in the recent topic related to SHA256 hashes, which has been corrected.

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

* pw/config-kvi-remove-path (2025-07-15) 1 commit
(merged to 'next' on 2025-07-16 at 3203507b49)
+ config: remove unneeded struct field

Remove a redundant member from kvi struct.

Will merge to 'master'.
source: <31724ce432b19088b7c7643654788d8e712b3193.1752588042.git.phillip.wood@dunelm.org.uk>

* rs/pop-recent-commit-with-prio-queue (2025-07-18) 3 commits (merged to 'next' on 2025-07-22 at b859ed88ed)
+ commit: use prio_queue_replace() in pop_most_recent_commit()
+ prio-queue: add prio_queue_replace()
+ commit: convert pop_most_recent_commit() to prio_queue

The pop_most_recent_commit() function can have quite expensive worst case performance characteristics, which has been optimized by using prio-queue data structure.

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

* bc/contribution-under-non-real-names (2025-07-15) 1 commit (merged to 'next' on 2025-07-16 at 6ba607880d)
+ SubmittingPatches: allow non-real name contributions

Document that we do not require "real" name when signing your patches off.

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

* jc/ci-print-test-failures-fix (2025-07-16) 1 commit
- ci: allow github-actions print test failures again

CI fix.

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

* rj/meson-libexecdir-fix (2025-07-15) 2 commits (merged to 'next' on 2025-07-16 at 36c2be9510)
+ po/meson.build: add missing 'ga' language code
+ meson: fix installation when -Dlibexexdir is set

Meson-based build did not handle libexecdir setting correctly, which has been corrected.

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

* ds/sparse-checkout-clean (2025-07-16) 9 commits
- sparse-checkout: make 'clean' clear more files
- t: expand tests around sparse merges and clean
- sparse-index: point users to new 'clean' action
- sparse-checkout: add --verbose option to 'clean'
- dir: add generic "walk all files" helper
- sparse-checkout: match some 'clean' behavior
- sparse-checkout: add basics of 'clean' command
- sparse-checkout: remove use of the_repository
- Merge branch 'ac/deglobal-sparse-variables' into ds/sparse-checkout-clean (this branch uses ac/deglobal-sparse-variables.)

"git sparse-checkout" subcommand learned a new "clean" action to prune otherwise unused working-tree files that are outside the areas of interest.

Needs to wait for the base topic to solidify.
source: <[email protected]>

* ps/config-wo-the-repository (2025-07-23) 22 commits
- config: fix sign comparison warnings
- config: move Git config parsing into "environment.c"
- config: remove unused the_repository wrappers
- config: drop git_config_set_multivar() wrapper
- config: drop git_config_get_multivar_gently() wrapper
- config: drop git_config_set_multivar_in_file_gently() wrapper
- config: drop git_config_set_in_file_gently() wrapper
- config: drop git_config_set() wrapper
- config: drop git_config_set_gently() wrapper
- config: drop git_config_set_in_file() wrapper
- config: drop git_config_get_bool() wrapper
- config: drop git_config_get_ulong() wrapper
- config: drop git_config_get_int() wrapper
- config: drop git_config_get_string() wrapper
- config: drop git_config_get_string() wrapper
- config: drop git_config_get_string_multi() wrapper
- config: drop git_config_get_value() wrapper
- config: drop git_config_get_value() wrapper
- config: drop git_config_get() wrapper
- config: drop git_config_clear() wrapper
- config: drop git_config() wrapper
- Merge branch 'bc/use-sha256-by-default-in-3.0' into ps/config-wo-the-repository

The config API had a set of convenience wrapper functions that implicitly use the_repository instance; they have been removed and inlined at the calling sites.

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

* cb/meson-avoid-broken-macos-pcre2 (2025-07-18) 1 commit
- meson: work around broken system PCRE2 dependency in macOS

Build fix for macOS.

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

* pw/adopt-c99-bool-officially (2025-07-16) 3 commits (merged to 'next' on 2025-07-16 at 62afce02b7)
+ strbuf: convert predicates to return bool
+ git-compat-util: convert string predicates to return bool
+ CodingGuidelines: allow the use of bool

Declare weather-balloon we raised for "bool" type 18 months ago a success and officially allow using the type in our codebase.

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

* pw/3.0-commentchar-auto-deprecation (2025-07-08) 2 commits
- commit: print advice when core.commentString=auto
- breaking-changes: deprecate support for core.commentString=auto

Proposes to deprecate "core.commentChar=auto" that attempts to dynamically pick a suitable comment character, as it is too much trouble to support for little benefit.

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

* ps/object-store-midx (2025-07-15) 9 commits
- midx: remove now-unused linked list of multi-pack indices
- packfile: stop using linked MIDX list in get_all_packs()
- packfile: stop using linked MIDX list in find_pack_entry()
- packfile: refactor get_multi_pack_index() to work on sources
- midx: stop using linked list when closing MIDX
- packfile: refactor prepare_packed_git_one() to work on sources
- midx: start tracking per object database source
- Merge branch 'tb/midx-avoid-cruft-packs' into ps/object-store-midx
- Merge branch 'ps/object-store' into ps/object-store-midx

Redefine where the multi-pack-index sits in the object subsystem, which recently was restructured to allow multiple backends that support a single object source that belongs to one repository. A midx does span mulitple "object sources".

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

* ps/object-file-wo-the-repository (2025-07-16) 17 commits
- object-file: get rid of the_repository in index-related functions
- object-file: get rid of the_repository in force_object_loose()
- object-file: get rid of the_repository in read_loose_object()
- object-file: get rid of the_repository in loose object iterators
- object-file: remove declaration for for_each_file_in_obj_subdir()
- object-file: inline for_each_loose_file_in_objdir_buf()
- object-file: get rid of the_repository when writing objects
- odb: introduce odb_write_object()
- loose: write loose objects map via their source
- object-file: get rid of the_repository in finalize_object_file()
- object-file: get rid of the_repository in loose_object_info()
- object-file: get rid of the_repository when freshening objects
- object-file: inline check_and_freshen() functions
- object-file: get rid of the_repository in has_loose_object()
- object-file: stop using the_hash_algo
- object-file: fix -Wsign-compare warnings
- Merge branch 'ps/object-store' into ps/object-file-wo-the-repository

Reduce implicit assumption and dependence on the_repository in the object-file subsystem.

Comments?
source: <20250717-pks-object-file-wo-the-repository-v2-0-36d2cd6c700e@pks.im>

Quoted 7 lines

* ua/t1517-short-help-tests (2025-07-21) 2 commits
. t5200: move update-server-info -h test from t1517 . t/t1517: automate git subcmd -h tests outside a repository

Test shuffling.

Seems to introduce a few "todo passed" when merged to 'seen'.

Hi Junio,

Is there something that needs to be done here ?

Also, some tests still have both the git subcmd -h test outside and inside together
and the first patch of this series already tests for all the outside repo.

Should I send them as an update version with this patch or wait till this gets integrated ?

Thank you

Quoted 202 lines

source: <[email protected]>

* kn/for-each-ref-skip (2025-07-23) 6 commits
- ref-iterator-seek: correctly initialize the prefix_state for a new level (merged to 'next' on 2025-07-15 at 4ea3c74afd)
+ for-each-ref: introduce a '--start-after' option
+ ref-filter: remove unnecessary else clause
+ refs: selectively set prefix in the seek functions
+ ref-cache: remove unused function 'find_ref_entry()'
+ refs: expose ref_iterator via 'refs.h'

"git for-each-ref" learns "--skip-until" option to help applications that want to page its output.

Will merge to 'next' and then to 'master'.
source: <20250715-306-git-for-each-ref-pagination-v5-0-852d5a2f56e1@gmail.com>

* tc/last-modified (2025-07-18) 6 commits
- fixup! last-modified: support --extended format
- last-modified: support --extended format
- pretty: allow caller to disable indentation
- last-modified: use Bloom filters when available
- t/perf: add last-modified perf script
- last-modified: new subcommand to show when files were last modified

A new command "git last-modified" is proposed to show the closest ancestor commit that touched each path.

Still in flux.
source: <[email protected]>

* ac/auto-comment-char-fix (2025-07-16) 2 commits
(merged to 'next' on 2025-07-21 at be3e6c3480)
+ config: set comment_line_str to "#" when core.commentChar=auto
+ commit: avoid scanning trailing comments when 'core.commentChar' is "auto"

"git commit" that concludes a conflicted merge failed to notice and remove existing comment added automatically (like "# Conflicts:") when the core.commentstring is set to 'auto'.

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

* lo/repo-info (2025-07-21) 5 commits
- repo: add the --format flag
- repo: add field layout.shallow
- repo: add field layout.bare
- repo: add the field references.format
- repo: declare the repo command

A new subcommand "git repo" gives users a way to grab various repository characteristics.

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

* ac/deglobal-sparse-variables (2025-07-18) 3 commits
- environment: remove the global variable 'sparse_expect_files_outside_of_patterns'
- environment: move access to "core.sparsecheckoutcone" into repo_settings
- environment: move access to "core.sparsecheckout" into repo_settings (this branch is used by ds/sparse-checkout-clean.)

Two global variables related to sparse checkout have been moved to the repository settings structure.

Ready?
source: <[email protected]>

* ow/rebase-verify-insn-fmt-before-initializing-state (2025-06-09) 1 commit
- rebase: write script before initializing state

"git rebase -i" with bogus rebase.instructionFormat configuration failed to produce the todo file after recording the state files, leading to confused "git status"; this has been corrected.

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

* ss/compat-bswap-revamp (2025-07-15) 6 commits
(merged to 'next' on 2025-07-16 at c8713eca28)
+ bswap.h: provide a built-in based version of bswap32/64 if possible
+ bswap.h: remove optimized x86 version of bswap32/64
+ bswap.h: always overwrite ntohl/ ntohll macros
+ bswap.h: define GIT_LITTLE_ENDIAN on msvc as little endian
+ bswap.h: add support for __BYTE_ORDER__
+ Merge branch 'ss/revert-builtin-bswap-stuff' into ss/compat-bswap-revamp

Clean-up compat/bswap.h mess.

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

* sk/reftable-clarify-tests (2025-06-05) 10 commits
- t/unit-tests: finalize migration of reftable-related tests
- t/unit-tests: convert reftable stack test to use clar
- t/unit-tests: convert reftable record test to use clar
- t/unit-tests: convert reftable readwrite test to use clar
- t/unit-tests: convert reftable table test to use clar
- t/unit-tests: convert reftable pq test to use clar
- t/unit-tests: convert reftable merged test to use clar
- t/unit-tests: convert reftable block test to use clar
- t/unit-tests: convert reftable basics test to use clar test framework
- t/unit-tests: implement clar specific reftable test helper functions

The reftable unit tests are now ported to the "clar" unit testing framework.

Reroll (v5) exists.
cf. <[email protected]>
source: <[email protected]>

* tb/prepare-midx-pack-cleanup (2025-05-28) 5 commits
- midx: return a packed_git pointer from prepare_midx_pack()
- midx-write.c: extract inner loop from fill_packs_from_midx()
- midx-write.c: guard against incremental MIDXs in want_included_pack()
- midx: access pack names through nth_midxed_pack_name()
- Merge branch 'ps/midx-negative-packfile-cache' into tb/prepare-midx-pack-cleanup

Improvement on Multi-pack-index API.

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

* kj/renamed-submodule (2025-06-07) 2 commits
- submodule: skip redundant active entries when pattern covers path
- submodule: prevent overwriting .gitmodules entry on path reuse

The case where a new submodule takes a path where used to be a completely different subproject is now dealt a bit better than before.

Expecting a reroll.
cf. <CA+rGoLfygOAxXNxn_TComuef6q+=v1wOoUSfKh4M6Ywk-0McHQ@mail.gmail.com>
source: <[email protected]>

* lm/add-p-context (2025-07-23) 5 commits
- fixup! add-patch: add diff.context command line overrides
- add-patch: add diff.context command line overrides
- add-patch: respect diff.context configuration
- t: use test_config in t4055
- t: use test_grep in t3701 and t4055

"git add/etc -p" now honors diff.context configuration variable, and learns to honor -U<n> option.

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

* cc/promisor-remote-capability (2025-07-21) 5 commits
- promisor-remote: use string constants for 'name' and 'url' too
- promisor-remote: allow a client to check fields
- promisor-remote: refactor how we parse advertised fields
- promisor-remote: allow a server to advertise more fields
- promisor-remote: refactor to get rid of 'struct strvec'

The "promisor-remote" capability mechanism has been updated to allow the "partialCloneFilter" settings and the "token" value to be communicated from the server side.

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

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

* pw/compound-literal-test-balloon (2025-07-14) 1 commit . strbuf: add compound literal test balloon

Gauge if the world is ready for compound literal that can make the resulting code clearer in some places.

Discarded; it turns out that we already have a test balloon on this.
source: <7ac55a5096c261b706f47ca239c381f71db2b67a.1752499653.git.phillip.wood@dunelm.org.uk>

* jc/tag-idempotent-no-op (2025-07-11) 1 commit
- tag: allow idempotent "git tag" without "--force"

"git tag T O" when the tag T is already pointing at the object O is a no-op; we used to but no longer error out such a request and require "--force" and instead turn it into a no-op.

Will discard.
cf. <dt5ruadvr7lmhsbypmb6yili5cookfx5btw4gzfeui7ehxxajv@ziael4udbbcy>
source: <[email protected]>

#2 lore raw
Quoted 3 lines · Usman Akinyemi
Quoted 1 line · Junio C Hamano

[snip]

Quoted 10 lines
Quoted 7 lines

* ua/t1517-short-help-tests (2025-07-21) 2 commits
. t5200: move update-server-info -h test from t1517 . t/t1517: automate git subcmd -h tests outside a repository

Test shuffling.

Seems to introduce a few "todo passed" when merged to 'seen'.

Hi Junio,

Is there something that needs to be done here ?

I would interpret "introduce a few 'todo passed' when merged to 'seen'" to mean that a few test_expect_failure's are now passing and need updating.

Quoted 9 lines

Also, some tests still have both the git subcmd -h test outside and inside together
and the first patch of this series already tests for all the outside repo.

Should I send them as an update version with this patch or wait till this gets integrated ?

Thank you

#3 lore raw
Quoted 5 lines · D. Ben Knoble
Quoted 1 line

Is there something that needs to be done here ?

I would interpret "introduce a few 'todo passed' when merged to 'seen'" to mean that a few test_expect_failure's are now passing and need updating.

Thanks for helping.

#4 lore raw
In reply to Usman Akinyemi
Quoted 3 lines · Usman Akinyemi
Quoted 1 line · Junio C Hamano

...

Administrivia. NEVER QUOTE SO MANY LINES from the original if your response has nothing to say about them. Remove the part you are not commenting on and leave only the relevant parts that you are about to respond, and then say your thing.

Quoted 9 lines
Quoted 7 lines

* ua/t1517-short-help-tests (2025-07-21) 2 commits
. t5200: move update-server-info -h test from t1517 . t/t1517: automate git subcmd -h tests outside a repository

Test shuffling.

Seems to introduce a few "todo passed" when merged to 'seen'.

Hi Junio,

Quoted 8 lines

Is there something that needs to be done here ?

Also, some tests still have both the git subcmd -h test outside and inside together
and the first patch of this series already tests for all the outside repo.

Should I send them as an update version with this patch or wait till this gets integrated ?

As I wrote, with this merged to 'seen', we see "todo passed" in the test result. You'd want to dig to the root cause of the issue and update the patches if needed.

Quoted 5 lines

Thank you

Quoted 3 lines

source: <[email protected]>

Also do not leave the original that you are not going to refer to after you finish saying what you wanted to say.

Quoted 3 lines
Quoted 3 lines

* kn/for-each-ref-skip (2025-07-23) 6 commits
- ref-iterator-seek: correctly initialize the prefix_state for a new level
...

Thanks.

#5 lore raw
Quoted 6 lines

Administrivia. NEVER QUOTE SO MANY LINES from the original if your response has nothing to say about them. Remove the part you are not commenting on and leave only the relevant parts that you are about to respond, and then say your thing.

Thank you very much for the info.

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

* ua/t1517-short-help-tests (2025-07-21) 2 commits
. t5200: move update-server-info -h test from t1517 . t/t1517: automate git subcmd -h tests outside a repository

Also do not leave the original that you are not going to refer to after you finish saying what you wanted to say.

Noted and thanks.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

* kn/for-each-ref-skip (2025-07-23) 6 commits