What's cooking in git.git (Jan 2025, #01; Fri, 3)
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).
Early next week we'll tag 2.48-rc2; hopefully we can have 2.48 final around the end of next week. Extra testing the tip of 'master' before we actually tag it is as always very much appreciated.
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/
--------------------------------------------------
[New Topics]
* ja/doc-commit-markup-updates (2025-01-03) 3 commits
- doc: git-commit: migrate secondary files to new format
- doc: git-commit.txt: convert git commit config to new format
- doc: git-commit: apply new documentation guidelines
Doc updates.
source: <[email protected]>
* jc/doc-opt-tilde-expand (2025-01-03) 1 commit
(merged to 'next' on 2025-01-03 at b3e6e7acbc)
+ gitcli.txt: typeset pathnames as monospace
Docfix.
Will merge to 'next' and then to 'master'.
source: <6e0abe96b60a94d4fdee15a45b7d53c2f44a0c69.1735903029.git.martin.agren@gmail.com>
* mh/doc-windows-home-env (2025-01-03) 1 commit
(merged to 'next' on 2025-01-03 at 1d4db69ce0)
+ git.txt: fix heading line of tildes
Docfix.
Will merge to 'next' and then to 'master'.
source: <50e47d14a8a0a2ca0dd158f01b833a28c7b46887.1735903029.git.martin.agren@gmail.com>
* ps/ci-misc-updates (2025-01-03) 10 commits
- ci: remove stale code for Azure Pipelines
- ci: use latest Ubuntu release
- ci: stop special-casing for Ubuntu 16.04
- gitlab-ci: add linux32 job testing against i386
- gitlab-ci: remove the "linux-old" job
- github: simplify computation of the job's distro
- github: convert all Linux jobs to be containerized
- github: adapt containerized jobs to be rootless
- t7422: fix flaky test caused by buffered stdout
- t0060: fix EBUSY in MinGW when setting up runtime prefix
CI updates (containerization, dropping stale ones, etc.).
source: <[email protected]>
--------------------------------------------------
[Graduated to 'master']
* jk/lsan-race-ignore-false-positive (2025-01-01) 5 commits (merged to 'next' on 2025-01-02 at 7b5c9e281e)
+ test-lib: ignore leaks in the sanitizer's thread code
+ test-lib: check leak logs for presence of DEDUP_TOKEN
+ test-lib: simplify leak-log checking
+ test-lib: rely on logs to detect leaks
+ Revert barrier-based LSan threading race workaround
CI jobs that run threaded programs under LSan has been giving false positives from time to time, which has been worked around.
This is an alternative to the jk/lsan-race-with-barrier topic with much smaller change to the production code.
source: <[email protected]>
* jk/lsan-race-with-barrier (2024-12-30) 5 commits (merged to 'next' on 2024-12-30 at 3fc0e14928)
+ grep: work around LSan threading race with barrier
+ index-pack: work around LSan threading race with barrier
+ thread-utils: introduce optional barrier type
+ Revert "index-pack: spawn threads atomically"
+ test-lib: use individual lsan dir for --stress runs
CI jobs that run threaded programs under LSan has been giving false positives from time to time, which has been worked around.
source: <[email protected]>
* ps/build-meson-html (2024-12-27) 12 commits
(merged to 'next' on 2025-01-02 at 115458a58b)
+ Documentation: wire up sanity checks for Meson
+ t/Makefile: make "check-meson" work with Dash
+ meson: install static files for HTML documentation
+ meson: generate articles
+ Documentation: refactor "howto-index.sh" for out-of-tree builds
+ Documentation: refactor "api-index.sh" for out-of-tree builds
+ meson: generate user manual
+ Documentation: inline user-manual.conf
+ meson: generate HTML pages for all man page categories
+ meson: fix generation of merge tools
+ meson: properly wire up dependencies for our docs
+ meson: wire up support for AsciiDoctor
The build procedure based on meson learned to generate HTML documention pages.
source: <[email protected]>
* ps/weak-sha1-for-tail-sum-fix (2024-12-30) 3 commits (merged to 'next' on 2024-12-30 at c24783e99d)
+ ci: exercise unsafe OpenSSL backend
+ builtin/fast-import: fix segfault with unsafe SHA1 backend
+ bulk-checkin: fix segfault with unsafe SHA1 backend (this branch is used by ps/meson-weak-sha1-build.)
An earlier "csum-file checksum does not have to be computed with sha1dc" topic had a few code paths that had initialized an implementation of a hash function to be used by an unmatching hash by mistake, which have been corrected.
source: <[email protected]>
* rs/reftable-realloc-errors (2024-12-28) 4 commits (merged to 'next' on 2024-12-30 at ebc9625a4c)
+ t-reftable-merged: handle realloc errors
+ reftable: handle realloc error in parse_names()
+ reftable: fix allocation count on realloc error
+ reftable: avoid leaks on realloc error
The custom allocator code in the reftable library did not handle failing realloc() very well, which has been addressed. cf. <[email protected]>
source: <[email protected]>
--------------------------------------------------
[Cooking]
* ps/meson-weak-sha1-build (2024-12-30) 8 commits
(merged to 'next' on 2025-01-01 at e01db872e4)
+ meson: provide a summary of configured backends
+ meson: wire up unsafe SHA1 backend
+ meson: add missing dots for build options
+ meson: simplify conditions for HTTPS and SHA1 dependencies
+ meson: require SecurityFramework when it's used as SHA1 backend
+ meson: deduplicate access to SHA1/SHA256 backend options
+ meson: consistenlty spell 'CommonCrypto'
+ Merge branch 'ps/weak-sha1-for-tail-sum-fix' into ps/meson-weak-sha1-build
meson-based build now supports the unsafe-sha1 build knob.
Will cook in 'next'.
source: <[email protected]>
* ps/object-collision-check (2025-01-03) 3 commits
- object-file: retry linking file into place when occluding file vanishes
- object-file: rename variables in check_collision() (merged to 'next' on 2024-12-30 at e083ea3154)
+ object-file: fix race in object collision check
CI jobs gave sporadic failures, which turns out that that the object finalization code was giving an error when it did not have to.
source: <20241230-b4-pks-object-file-racy-collision-check-v1-1-11571294e60a@pks.im>
source: <20250103-b4-pks-object-file-racy-collision-check-v1-0-6ef9e2da1f87@pks.im>
* sk/strlen-returns-size_t (2024-12-26) 1 commit
- date.c: Fix type missmatch warings from msvc
Code clean-up.
The remainder needs to be reviewed.
source: <[email protected]>
* ps/more-sign-compare (2024-12-27) 10 commits
(merged to 'next' on 2025-01-01 at 41c78cf690)
+ sign-compare: avoid comparing ptrdiff with an int/unsigned
+ commit-reach: use size_t to track indices when computing merge bases
+ shallow: fix -Wsign-compare warnings
+ builtin/log: fix remaining -Wsign-compare warnings
+ builtin/log: use size_t to track indices
+ commit-reach: use size_t to track indices in get_reachable_subset()
+ commit-reach: use size_t to track indices in remove_redundant()
+ commit-reach: fix type of min_commit_date
+ commit-reach: fix index used to loop through unsigned integer
+ prio-queue: fix type of insertion_ctr
More -Wsign-compare fixes.
Will cook in 'next'.
cf. https://staticthinking.wordpress.com/2023/07/25/wsign-compare-is-garbage/
source: <20241227-b4-pks-commit-reach-sign-compare-v1-0-07c59c2aa632@pks.im>
* as/long-option-help-i18n (2024-12-30) 1 commit
(merged to 'next' on 2024-12-30 at 900c79808f)
+ parse-options: localize mark-up of placeholder text in the short help
Tweak the help text used for the option value placeholders by parse-options API so that translations can customize the "<>" placeholder signal (e.g. "--option=<value>").
Will cook in 'next'.
source: <[email protected]>
* sk/maintenance-remote-prune (2024-12-28) 1 commit
- maintenance: add prune-remote-refs task
A new periodic maintenance task to run "git remote prune" has been introduced.
Expecting a reroll.
cf. <[email protected]>
source: <[email protected]>
* jc/show-index-h-update (2024-12-20) 1 commit
- show-index: the short help should say the command reads from its input
Doc and short-help text for "show-index" has been clarified to stress that the command reads its data from the standard input.
Comments?
source: <[email protected]>
* ps/the-repository (2024-12-18) 15 commits
- match-trees: stop using the_repository
- graph: stop using the_repository
- add-interactive: stop using the_repository
- tmp-objdir: stop using the_repository
- resolve-undo: stop using the_repository
- credential: stop using the_repository
- mailinfo: stop using the_repository
- diagnose: stop using the_repository
- server-info: stop using the_repository
- send-pack: stop using the_repository
- serve: stop using the_repository
- trace: stop using the_repository
- pager: stop using the_repository
- progress: stop using the_repository
- Merge branch 'ps/build-sign-compare' into ps/the-repository
More code paths have a repository passed through the callchain, instead of assuming the primary the_repository object.
source: <20241217-pks-use-the-repository-conversion-v1-0-0dba48bcc239@pks.im>
* 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]>
* ps/3.0-remote-deprecation (2024-12-12) 6 commits
- remote: announce removal of "branches/" and "remotes/"
- builtin/pack-redundant: remove subcommand with breaking changes
- ci: repurpose "linux-gcc" job for deprecations
- ci: merge linux-gcc-default into linux-gcc
- Makefile: wire up build option for deprecated features
- Merge branch 'ps/build' into ps/3.0-remote-deprecation
Following the procedure we established to introduce breaking changes for Git 3.0, allow an early opt-in for removing support of $GIT_DIR/branches/ and $GIT_DIR/remotes/ directories to configure remotes.
Needs review.
source: <20241211-pks-remote-branches-deprecation-v1-0-1431e2369135@pks.im>
* cc/lop-remote (2024-12-07) 5 commits
. doc: add technical design doc for large object promisors . promisor-remote: check advertised name or URL
. Add 'promisor-remote' capability to protocol v2 . strbuf: refactor strbuf_trim_trailing_ch()
. version: refactor strbuf_sanitize()
Expecting a reroll.
cf. <CAP8UFD3bdEo1_bg+aX52xSGxmg9KfNrpiX+2LwUM-yDqjvfZbQ@mail.gmail.com>
source: <[email protected]>
* ds/backfill (2024-12-20) 6 commits
- backfill: assume --sparse when sparse-checkout is enabled
- backfill: add --sparse option
- backfill: add --min-batch-size=<n> option
- backfill: basic functionality and tests
- backfill: add builtin boilerplate
- Merge branch 'ds/path-walk-1' into ds/backfill (this branch uses ds/path-walk-1.)
Lazy-loading missing files in a blobless clone on demand is costly as it tends to be one-blob-at-a-time. "git backfill" is introduced to help bulk-download necessary files beforehand.
Comments?
source: <[email protected]>
* re/submodule-parse-opt (2024-12-11) 7 commits (merged to 'next' on 2024-12-21 at 9e65a56a63)
+ git-submodule.sh: rename some variables
+ git-submodule.sh: improve variables readability
+ git-submodule.sh: add some comments
+ git-submodule.sh: get rid of unused variable
+ git-submodule.sh: get rid of isnumber
+ git-submodule.sh: improve parsing of short options
+ git-submodule.sh: improve parsing of some long options
"git submodule" learned various ways to spell the same option, e.g. "--branch=B" can be spelled "--branch B" or "-bB".
Will cook in 'next'.
source: <[email protected]>
* tb/unsafe-hash-test (2024-11-21) 2 commits
- t/helper/test-tool: implement sha1-unsafe helper
- t/helper/test-sha1: prepare for an unsafe mode
Preliminary addition to the test tool to allow a plain SHA-1 hash algorithm without collision protection.
Comments?
cf. <[email protected]>
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]>
* ps/send-pack-unhide-error-in-atomic-push (2024-11-14) 2 commits
- transport: don't ignore git-receive-pack(1) exit code on atomic push
- t5504: modernize test by moving heredocs into test bodies
"git push --atomic --porcelain" used to ignore failures from the other side, losing the error status from the child process, which has been corrected.
Needs to see if competing parallel topic needs to replace this one.
source: <20241113-pks-push-atomic-respect-exit-code-v1-0-7965f01e7f4e@pks.im>
* jc/move-is-bare-repository-cfg-variable-to-repo (2024-11-07) 3 commits . repository: BUG when is_bare_cfg is not initialized
. setup: initialize is_bare_cfg
. git: remove is_bare_repository_cfg global variable
Code rewrite to turn the is_bare_repository_cfg global variable into a member in the the_repo singleton repository object.
Waiting for response to reviews.
cf. <[email protected]>
Seems to break t0021-conversion on Windows.
cf. https://lore.kernel.org/git/[email protected]/
source: <[email protected]>
* ds/name-hash-tweaks (2024-12-20) 8 commits
- pack-objects: add third name hash version
- pack-objects: prevent name hash version change
- test-tool: add helper for name-hash values
- p5313: add size comparison test
- pack-objects: add GIT_TEST_NAME_HASH_VERSION
- repack: add --name-hash-version option
- pack-objects: add --name-hash-version option
- pack-objects: create new name-hash function version
"git pack-objects" and its wrapper "git repack" learned an option to use an alternative path-hash function to improve delta-base selection to produce a packfile with deeper history than window size.
Comments?
source: <[email protected]>
* ds/path-walk-1 (2024-12-20) 7 commits
- path-walk: reorder object visits
- path-walk: mark trees and blobs as UNINTERESTING
- path-walk: visit tags and cached objects
- path-walk: allow consumer to specify object types
- t6601: add helper for testing path-walk API
- test-lib-functions: add test_cmp_sorted
- path-walk: introduce an object walk by path (this branch is used by ds/backfill.)
Introduce a new API to visit objects in batches based on a common path, or by type.
Comments?
source: <[email protected]>
* km/config-remote-by-name (2024-10-21) 1 commit
- config: support remote name in includeIf.hasconfig condition
Support conditionally including configuration by remote name, instead of just URL.
Will discard?
source: <[email protected]>
* y5/diff-pager (2024-10-21) 1 commit
- diff: setup pager only before diff contents truly ready
Delay setting up the pager in 'git diff' until after the diff contents itself is fully prepared.
Will discard?
source: <[email protected]>
* ej/cat-file-remote-object-info (2024-11-25) 6 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
- cat-file: add declaration of variable i inside its for loop
"git cat-file --batch" and friends can optionally ask a remote server about objects it does not have.
Expecting a reroll.
cf. <[email protected]>
source: <[email protected]>
* js/libgit-rust (2024-10-16) 5 commits
- Makefile: add option to build and test libgit-rs and libgit-rs-sys
- libgit: add higher-level libgit crate
- libgit-sys: also export some config_set functions
- libgit-sys: introduce Rust wrapper for libgit.a
- common-main: split init and exit code into new files
A rust binding to libgit.a functions has been introduced.
Will discard?
source: <[email protected]>
Quoted 44 lines · Junio C Hamano
[New Topics]
* ja/doc-commit-markup-updates (2025-01-03) 3 commits
- doc: git-commit: migrate secondary files to new format
- doc: git-commit.txt: convert git commit config to new format
- doc: git-commit: apply new documentation guidelinesDoc updates.
source: <[email protected]>
* jc/doc-opt-tilde-expand (2025-01-03) 1 commit
(merged to 'next' on 2025-01-03 atb3e6e7acbc)
+ gitcli.txt: typeset pathnames as monospaceDocfix.
Will merge to 'next' and then to 'master'.
source: <6e0abe96b60a94d4fdee15a45b7d53c2f44a0c69.1735903029.git.martin.agren@gmail.com>* mh/doc-windows-home-env (2025-01-03) 1 commit
(merged to 'next' on 2025-01-03 at1d4db69ce0)
+ git.txt: fix heading line of tildesDocfix.
Will merge to 'next' and then to 'master'.
source: <50e47d14a8a0a2ca0dd158f01b833a28c7b46887.1735903029.git.martin.agren@gmail.com>* ps/ci-misc-updates (2025-01-03) 10 commits
- ci: remove stale code for Azure Pipelines
- ci: use latest Ubuntu release
- ci: stop special-casing for Ubuntu 16.04
- gitlab-ci: add linux32 job testing against i386
- gitlab-ci: remove the "linux-old" job
- github: simplify computation of the job's distro
- github: convert all Linux jobs to be containerized
- github: adapt containerized jobs to be rootless
- t7422: fix flaky test caused by buffered stdout
- t0060: fix EBUSY in MinGW when setting up runtime prefix
Quoted 4 lines
CI updates (containerization, dropping stale ones, etc.).
source: <[email protected]>
I have sent a patch in the previous day in
<Z26uXy31q83dyxvD@ArchLinux>
However, there is no need to cook this patch because I have decided to send it with the packed-refs consistency check implementation. I think I could send the patch in this week.
So, nothing need to be done.
Thanks,
Jialuo