Skip to contentSkip to conversation

What's cooking in git.git (Feb 2025, #07; Mon, 24)

DISCUSSION Junio C Hamano 2 participants 3 messages Feb 25, 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']

* ac/doc-http-ssl-type-config (2025-02-05) 1 commit (merged to 'next' on 2025-02-13 at 4767266eb4)
+ docs: indicate http.sslCertType and sslKeyType

Two configuration variables about SSL authentication material that weren't mentioned in the documentations are now mentioned.
source: <[email protected]>

* en/doc-renormalize (2025-02-11) 1 commit
(merged to 'next' on 2025-02-13 at 2069f4865c)
+ doc: clarify the intent of the renormalize option in the merge machinery

Doc updates.
source: <[email protected]>

* jc/doc-boolean-synonyms (2025-02-11) 1 commit
(merged to 'next' on 2025-02-13 at ab142d21e8)
+ doc: centrally document various ways tospell true and false

Doc updates.
source: <[email protected]>

* ua/update-server-info-sans-the-repository (2025-02-10) 1 commit (merged to 'next' on 2025-02-13 at d4e8288c9b)
+ builtin/update-server-info: remove the_repository global variable

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

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

* ek/mingw-rename-symlink (2025-02-21) 1 commit (merged to 'next' on 2025-02-24 at 8a9f3a5cdc)
+ compat/mingw: rename the symlink, not the target

Symlink renaming fix.

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

* jk/check-mailmap-wo-name-fix (2025-02-21) 1 commit
- mailmap: fix check-mailmap with full mailmap line

"git check-mailmap" segfault fix.

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

* bc/http-push-auth-netrc-fix (2025-02-24) 1 commit
- http: allow using netrc for WebDAV-based HTTP protocol

source: <[email protected]>

* cc/signed-fast-export-import (2025-02-24) 6 commits
- fast-export, fast-import: add support for signed-commits
- fast-export: do not modify memory from get_commit_buffer
- git-fast-export.txt: clarify why 'verbatim' may not be a good idea
- fast-export: rename --signed-tags='warn' to 'warn-verbatim'
- fast-export: fix missing whitespace after switch
- git-fast-import.adoc: add missing LF in the BNF

source: <[email protected]>

* dk/test-aggregate-results-paste-fix (2025-02-24) 1 commit
- t/aggregate-results: fix paste(1) invocation

source: <[email protected]>

* rs/clear-commit-marks-optim (2025-02-24) 1 commit
- commit: avoid parent list buildup in clear_commit_marks_many()

source: <[email protected]>

* sk/unit-test-oid (2025-02-24) 5 commits
- fixup! t/unit-tests: implement clar specific oid helper functions
- t/unit-tests: convert oidtree test to use clar test framework
- t/unit-tests: convert oidmap test to use clar test framework
- t/unit-tests: convert oid-array test to use clar test framework
- t/unit-tests: implement clar specific oid helper functions

source: <[email protected]>

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

* ad/set-default-target-in-makefiles (2025-02-18) 1 commit (merged to 'next' on 2025-02-19 at 21d81b4f09)
+ Makefile: set default goals in makefiles

Correct the default target in Documentation/Makefile, and future-proof all Makefiles from similar breakages by declaring the default target (which happens to be "all") upfront.

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

* bc/diff-reject-empty-arg-to-pickaxe (2025-02-18) 1 commit (merged to 'next' on 2025-02-19 at 85d8a43baa)
+ diff: don't crash with empty argument to -G or -S

The -G/-S options to the "diff" family of commands caused us to hit a BUG() when they get no values; they have been corrected.

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

* ms/rename-match-name-with-pattern (2025-02-18) 1 commit (merged to 'next' on 2025-02-19 at 717d13af36)
+ refspec: clarify function naming and documentation

Code renaming.

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

* po/meson-perl-fix (2025-02-19) 2 commits
(merged to 'next' on 2025-02-19 at 168d449ef4)
+ meson: fix Perl version check for Meson versions before 1.7.0
+ meson: bump minimum required Perl version to 5.26.0

Upgrade the minimum Perl version enforced by meson-based build to match what Makefile-based build uses.

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

* ps/meson-contrib-bits (2025-02-20) 10 commits
- ci: exercise credential helpers
- ci: fix propagating UTF-8 test locale in musl-based Meson job
- meson: wire up static analysis via Coccinelle
- meson: wire up git-contacts(1)
- meson: wire up credential helpers
- contrib/credential: fix compilation of "osxkeychain" helper
- contrib/credential: fix compiling "libsecret" helper
- contrib/credential: fix compilation of wincred helper with MSVC
- contrib/credential: fix "netrc" tests with out-of-tree builds
- GIT-BUILD-OPTIONS: propagate project's source directory

Update meson-based build procedure to cover contrib/ and other places as well.

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

* pw/merge-tree-stdin-deadlock-fix (2025-02-18) 5 commits (merged to 'next' on 2025-02-19 at ebc3ae6ffc)
+ merge-tree: fix link formatting in html docs
+ merge-tree: improve docs for --stdin
+ merge-tree: only use basic merge config
+ merge-tree: remove redundant code
+ merge-tree --stdin: flush stdout to avoid deadlock

"git merge-tree --stdin" has been improved (including a workaround for a deadlock).

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

* mh/doc-commit-title-not-subject (2025-02-18) 1 commit (merged to 'next' on 2025-02-19 at ee145da188)
+ doc: use 'title' consistently

Update "git commit" documentation to refer to commit titles as such, not "subject".

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

* tb/new-make-fix (2025-02-13) 1 commit
(merged to 'next' on 2025-02-18 at 8fd74ceeed)
+ Makefile: remove accidental recipe prefix in conditional

Workaround the overly picky HT/SP rule in newer GNU Make.

Will merge to 'master'.
source: <a79e9e9f50410721d85747b03559d55be98bca20.1739478347.git.me@ttaylorr.com>

* ms/merge-recursive-string-list-micro-optimization (2025-02-13) 1 commit
- merge-recursive: optimize time complexity for process_renames

source: <[email protected]>

* pb/doc-follow-remote-head (2025-02-14) 2 commits
- config/remote.txt: improve wording for 'remote.<name>.followRemoteHEAD'
- config/remote.txt: reunite 'severOption' description paragraphs

source: <[email protected]>

* da/xdiff-w-sign-compare-workaround (2025-02-12) 6 commits (merged to 'next' on 2025-02-18 at 4af44766d5)
+ xdiff: avoid signed vs. unsigned comparisons in xutils.c
+ xdiff: avoid signed vs. unsigned comparisons in xpatience.c
+ xdiff: avoid signed vs. unsigned comparisons in xhistogram.c
+ xdiff: avoid signed vs. unsigned comparisons in xemit.c
+ xdiff: avoid signed vs. unsigned comparisons in xdiffi.c
+ xdiff: move sign comparison warning guard into each file

Noises from "-Wsign-compare" in the borrowed xdiff code has been squelched.

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

* jt/diff-pairs (2025-02-12) 4 commits
- builtin/diff-pairs: allow explicit diff queue flush
- builtin: introduce diff-pairs command
- diff: return diff_filepair from diff queue helpers
- Merge branch 'bc/doc-adoc-not-txt' into jt/diff-pairs

A post-processing filter for "diff --raw" output has been introduced.

Needs review (and most likely a bit more polish).
source: <[email protected]>

* kn/ref-migrate-skip-reflog (2025-02-21) 1 commit
- builtin/refs: add '--no-reflog' flag to drop reflogs

"git refs migrate" can optionally be told not to migrate the reflog.

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

* ps/path-sans-the-repository (2025-02-24) 17 commits
- fixup! rerere: let rerere_path() write paths into a caller-provided buffer
- path: adjust last remaining users of the_repository
- environment: move access to "core.sharedRepository" into repo settings
- environment: move access to "core.hooksPath" into repo settings
- repo-settings: introduce function to clear struct
- path: drop git_path() in favor of repo_git_path()
- rerere: let rerere_path() write paths into a caller-provided buffer
- path: drop git_common_path() in favor of repo_common_path()
- worktree: return allocated string from get_worktree_git_dir()
- path: drop git_path_buf() in favor of repo_git_path_replace()
- path: drop git_pathdup() in favor of repo_git_path()
- path: drop unused strbuf_git_path() function
- path: refactor repo_submodule_path() family of functions
- submodule: refactor submodule_to_gitdir() to accept a repo
- path: refactor repo_worktree_path() family of functions
- path: refactor repo_git_path() family of functions
- path: refactor repo_common_path() family of functions

The path.[ch] API takes an explicit repository parameter passed throughout the callchain, instead of relying on the_repository singleton instance.

Will merge to 'next'?
source: <20250207-b4-pks-path-drop-the-repository-v2-0-13cad3c11b8a@pks.im>

* pw/rebase-i-ff-empty-commit (2025-02-11) 1 commit
- rebase -i: reword empty commit after fast-forward

"git rebase -i" failed to allow rewording an empty commit that has been fast-forwarded.

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

* ib/diff-S-G-with-longhand (2025-02-12) 10 commits
- diff: docs: Use --patch-{grep,modifies} over -G/-S
- diff: --pickaxe-{all,regex} help: Add --patch-{grep,modifies}
- diff: test: Use --patch-{grep,modifies} over -G/-S
- completion: Support --patch-{grep,modifies}
- diff: --patch-{grep,modifies} arg names for -G and -S
- docs: gitdiffcore: -G and -S: Use regex/string placeholders
- diff: short help: Add -G and --pickaxe-grep
- diff: short help: Correct -S description
- diff: -G description: Correct copy/paste error
- t/t4209-log-pickaxe: Naming typo: -G takes a regex

The commands in the "diff" family learned longhands for "-S" and "-G" options.

The core part looked mostly good.
source: <[email protected]>

* ps/reftable-windows-unlink-fix (2025-02-18) 2 commits
- reftable: ignore file-in-use errors when unlink(3p) fails on Windows
- Merge branch 'ps/reftable-sans-compat-util' into ps/reftable-windows-unlink-fix (this branch uses ps/reftable-sans-compat-util.)

Portability fix.

Waiting for the base topic to settle.
source: <20250206-b4-pks-reftable-win32-in-use-errors-v2-1-56985a4f6186@pks.im>

* ps/build-meson-fixes-0130 (2025-01-30) 14 commits (merged to 'next' on 2025-02-24 at 6cd5b60792)
+ gitlab-ci: restrict maximum number of link jobs on Windows
+ meson: consistently use custom program paths to resolve programs
+ meson: fix overwritten git variable
+ meson: prevent finding sed(1) in a loop
+ meson: improve handling of sane_tool_path option
+ meson: improve PATH handling
+ meson: drop separate version library
+ meson: stop linking libcurl into all executables
+ meson: introduce libgit_curl dependency
+ meson: simplify use of the common-main library
+ meson: inline the static 'git' library
+ meson: fix OpenSSL fallback when not explicitly required
+ meson: fix exec path with enabled runtime prefix
+ Merge branch 'ps/build-meson-fixes' into ps/build-meson-fixes-0130

Assorted fixes and improvements to the build procedure based on meson.

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

* ps/reftable-sans-compat-util (2025-02-18) 18 commits
- Makefile: skip reftable library for Coccinelle
- reftable: decouple from Git codebase by pulling in "compat/posix.h"
- git-compat-util.h: split out POSIX-emulating bits
- compat/mingw: split out POSIX-related bits
- reftable/basics: introduce REFTABLE_UNUSED annotation
- reftable/basics: stop using SWAP() macro
- reftable/stack: stop using sleep_millisec()
- reftable/system: introduce reftable_rand()
- reftable/reader: stop using ARRAY_SIZE() macro
- reftable/basics: provide wrappers for big endian conversion
- reftable/basics: stop using st_mult() in array allocators
- reftable: stop using BUG() in trivial cases
- reftable/record: don't BUG() in reftable_record_cmp()
- reftable/record: stop using BUG() in reftable_record_init()
- reftable/record: stop using COPY_ARRAY()
- reftable/blocksource: stop using xmmap()
- reftable/stack: stop using write_in_full()
- reftable/stack: stop using read_in_full()
(this branch is used by ps/reftable-windows-unlink-fix.)

Make the code in reftable library less reliant on the service routines it used to borrow from Git proper, to make it easier to use by external users of the library.

Waiting for Acks, especially for Windows bits?
source: <20250218-pks-reftable-drop-git-compat-util-v6-0-8c1f39fb4c02@pks.im>

* sj/ref-consistency-checks-more (2025-02-13) 8 commits
- builtin/fsck: add git refs verify child process
- packed-backend: check whether the "packed-refs" is sorted
- packed-backend: add "packed-refs" entry consistency check
- packed-backend: check whether the refname contains NUL characters
- packed-backend: add "packed-refs" header consistency check
- packed-backend: check whether the "packed-refs" is regular file
- builtin/refs: get worktrees without reading head information
- t0602: use subshell to ensure working directory unchanged

"git fsck" becomes more careful when checking the refs.

Comments?
source: <Z67LkxAFIAeaYr0U@ArchLinux>

* ua/os-version-capability (2025-02-19) 6 commits (merged to 'next' on 2025-02-24 at 89ad48db14)
+ agent: advertise OS name via agent capability
+ t5701: add setup test to remove side-effect dependency
+ version: extend get_uname_info() to hide system details
+ version: refactor get_uname_info()
+ version: refactor redact_non_printables()
+ version: replace manual ASCII checks with isprint() for clarity

The value of "uname -s" is by default sent over the wire as a new capability, with an opt-out for privacy-concious folks.

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

* jc/doc-attr-tree (2024-12-14) 1 commit
- doc: give attr.tree a bit more visibility

Make sure that "git --attr-source=X", GIT_ATTR_SOURCE, and attr.tree configuration variables appear at the same places in the documentation.

On hold.
cf. <[email protected]>
source: <[email protected]>

* cc/lop-remote (2025-02-18) 3 commits
- doc: add technical design doc for large object promisors
- promisor-remote: check advertised name or URL
- Add 'promisor-remote' capability to protocol v2

Large-object promisor protocol extension.

Comments?
source: <[email protected]>

* tb/incremental-midx-part-2 (2024-11-20) 15 commits
- midx: implement writing incremental MIDX bitmaps
- pack-bitmap.c: use ewah_or_iterator for type bitmap iterators
- pack-bitmap.c: keep track of each layer's type bitmaps
- ewah: implement struct ewah_or_iterator
- pack-bitmap.c: apply pseudo-merge commits with incremental MIDXs
- pack-bitmap.c: compute disk-usage with incremental MIDXs
- pack-bitmap.c: teach rev-list --test-bitmap about incremental MIDXs
- pack-bitmap.c: support bitmap pack-reuse with incremental MIDXs
- pack-bitmap.c: teach show_objects_for_type() about incremental MIDXs
- pack-bitmap.c: teach bitmap_for_commit() about incremental MIDXs
- pack-bitmap.c: open and store incremental bitmap layers
- pack-revindex: prepare for incremental MIDX bitmaps
- Documentation: describe incremental MIDX bitmaps
- Merge branch 'tb/pseudo-merge-bitmap-fixes' into tb/incremental-midx-part-2
- Merge branch 'tb/incremental-midx-part-1' into tb/incremental-midx-part-2

Incrementally updating multi-pack index files.

Needs review.
source: <[email protected]>

* ej/cat-file-remote-object-info (2025-02-24) 8 commits
- cat-file: add remote-object-info to batch-command
- transport: add client support for object-info
- serve: advertise object-info feature
- fetch-pack: move fetch initialization
- fetch-pack: refactor packet writing
- t1006: split test utility functions into new "lib-cat-file.sh"
- cat-file: add declaration of variable i inside its for loop
- git-compat-util: add strtoul_ul() with error handling

"git cat-file --batch" and friends can optionally ask a remote server about objects it does not have.

source: <[email protected]>

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

* md/userdiff-bash-update (2025-02-18) 1 commit
. userdiff: extend Bash pattern to cover more shell function forms

The userdiff patterns for shell language have been updated.

Broken.
cf. <[email protected]>
source: <[email protected]>

#1 lore raw
Quoted 12 lines · Junio C Hamano

* ps/meson-contrib-bits (2025-02-20) 10 commits
- ci: exercise credential helpers
- ci: fix propagating UTF-8 test locale in musl-based Meson job
- meson: wire up static analysis via Coccinelle
- meson: wire up git-contacts(1)
- meson: wire up credential helpers
- contrib/credential: fix compilation of "osxkeychain" helper
- contrib/credential: fix compiling "libsecret" helper
- contrib/credential: fix compilation of wincred helper with MSVC
- contrib/credential: fix "netrc" tests with out-of-tree builds
- GIT-BUILD-OPTIONS: propagate project's source directory

Quoted 5 lines

Update meson-based build procedure to cover contrib/ and other places as well.

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

v2 of this patch series hasn't yet received any comments that require a reroll, unless I've missed something.

Quoted 19 lines

* ps/path-sans-the-repository (2025-02-24) 17 commits
- fixup! rerere: let rerere_path() write paths into a caller-provided buffer
- path: adjust last remaining users of the_repository
- environment: move access to "core.sharedRepository" into repo settings
- environment: move access to "core.hooksPath" into repo settings
- repo-settings: introduce function to clear struct
- path: drop git_path() in favor of repo_git_path()
- rerere: let rerere_path() write paths into a caller-provided buffer
- path: drop git_common_path() in favor of repo_common_path()
- worktree: return allocated string from get_worktree_git_dir()
- path: drop git_path_buf() in favor of repo_git_path_replace()
- path: drop git_pathdup() in favor of repo_git_path()
- path: drop unused strbuf_git_path() function
- path: refactor repo_submodule_path() family of functions
- submodule: refactor submodule_to_gitdir() to accept a repo
- path: refactor repo_worktree_path() family of functions
- path: refactor repo_git_path() family of functions
- path: refactor repo_common_path() family of functions

Quoted 6 lines

The path.[ch] API takes an explicit repository parameter passed throughout the callchain, instead of relying on the_repository singleton instance.

Will merge to 'next'?
source: <20250207-b4-pks-path-drop-the-repository-v2-0-13cad3c11b8a@pks.im>

The fixup commit looks good to me, so I'll refrain from sending a v3 only to roll the fix into the series.

Quoted 8 lines

* pw/rebase-i-ff-empty-commit (2025-02-11) 1 commit
- rebase -i: reword empty commit after fast-forward

"git rebase -i" failed to allow rewording an empty commit that has been fast-forwarded.

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

I had a quick read of this patch and didn't have anything to say on it, so I think it should be ready for next.

Quoted 10 lines

* sj/ref-consistency-checks-more (2025-02-13) 8 commits
- builtin/fsck: add git refs verify child process
- packed-backend: check whether the "packed-refs" is sorted
- packed-backend: add "packed-refs" entry consistency check
- packed-backend: check whether the refname contains NUL characters
- packed-backend: add "packed-refs" header consistency check
- packed-backend: check whether the "packed-refs" is regular file
- builtin/refs: get worktrees without reading head information
- t0602: use subshell to ensure working directory unchanged

Quoted 4 lines

"git fsck" becomes more careful when checking the refs.

Comments?
source: <Z67LkxAFIAeaYr0U@ArchLinux>

I'll make sure to give this series another read today.

Patrick

#2 lore raw
Quoted 13 lines · Patrick Steinhardt
Quoted 12 lines · Junio C Hamano

* ps/meson-contrib-bits (2025-02-20) 10 commits
- ci: exercise credential helpers
- ci: fix propagating UTF-8 test locale in musl-based Meson job
- meson: wire up static analysis via Coccinelle
- meson: wire up git-contacts(1)
- meson: wire up credential helpers
- contrib/credential: fix compilation of "osxkeychain" helper
- contrib/credential: fix compiling "libsecret" helper
- contrib/credential: fix compilation of wincred helper with MSVC
- contrib/credential: fix "netrc" tests with out-of-tree builds
- GIT-BUILD-OPTIONS: propagate project's source directory

Quoted 8 lines
Quoted 5 lines

Update meson-based build procedure to cover contrib/ and other places as well.

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

v2 of this patch series hasn't yet received any comments that require a reroll, unless I've missed something.

I misread the exchange between you and Ramsay; I am fine with the decision to leave the sparse and the hdr-check outside this series, for some future follow-up work. Let me mark it for 'next'.

Quoted 23 lines
Quoted 23 lines

* ps/path-sans-the-repository (2025-02-24) 17 commits
- fixup! rerere: let rerere_path() write paths into a caller-provided buffer
- path: adjust last remaining users of the_repository
- environment: move access to "core.sharedRepository" into repo settings
- environment: move access to "core.hooksPath" into repo settings
- repo-settings: introduce function to clear struct
- path: drop git_path() in favor of repo_git_path()
- rerere: let rerere_path() write paths into a caller-provided buffer
- path: drop git_common_path() in favor of repo_common_path()
- worktree: return allocated string from get_worktree_git_dir()
- path: drop git_path_buf() in favor of repo_git_path_replace()
- path: drop git_pathdup() in favor of repo_git_path()
- path: drop unused strbuf_git_path() function
- path: refactor repo_submodule_path() family of functions
- submodule: refactor submodule_to_gitdir() to accept a repo
- path: refactor repo_worktree_path() family of functions
- path: refactor repo_git_path() family of functions
- path: refactor repo_common_path() family of functions

The path.[ch] API takes an explicit repository parameter passed throughout the callchain, instead of relying on the_repository singleton instance.

Quoted 5 lines
Quoted 2 lines

Will merge to 'next'?
source: <20250207-b4-pks-path-drop-the-repository-v2-0-13cad3c11b8a@pks.im>

The fixup commit looks good to me, so I'll refrain from sending a v3 only to roll the fix into the series.

OK. I read them over before saying "'next'?" and still missed what Peff spotted, so I have no confidence in my reviews over these patches, which is a bit of a problem for me.

Thanks.