Skip to contentSkip to conversation

What's cooking in git.git (Dec 2024, #05; Thu, 12)

DISCUSSION Junio C Hamano 4 participants 8 messages Dec 12, 2024 – Dec 16, 2024

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/

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

* 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 (this branch uses ps/build.)

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>

* ps/ci-meson (2024-12-12) 10 commits
- ci: wire up Meson builds
- t: introduce compatibility options to clar-based tests
- t: fix out-of-tree tests for some git-p4 tests
- Makefile: detect missing Meson tests
- meson: detect missing tests at configure time
- t/unit-tests: rename clar-based unit tests to have a common prefix
- Makefile: drop -DSUPPRESS_ANNOTATED_LEAKS
- ci/lib: support custom output directories when creating test artifacts
- Merge branch 'ps/build' into ps/ci-meson
- Merge branch 'cw/worktree-extension' into ps/ci-meson (this branch uses cw/worktree-extension and ps/build.)

The meson-build procedure is integrated into CI to catch and prevent bitrotting.

Needs review.
source: <[email protected]>

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

* kn/reflog-migration (2024-12-11) 8 commits
- SQUASH
- refs: add support for migrating reflogs
- refs: allow multiple reflog entries for the same refname
- refs: introduce the ref_transaction_update_reflog function
- refs: extract out refname verification in transactions
- refs/files: add count field to ref_lock
- refs: add index field to struct ref_udpate
- refs: include committer info in ref_update struct

"git refs migrate" learned to also migrate the reflog data across backends.

Needs review.
source: <20241209-320-git-refs-migrate-reflogs-v1-0-d4bc37ee860f@gmail.com>
source: <CAOLa=ZRsAwM8oUnyYCaRKkkudN+QW+hRSKZEvPJLThSr14M7rA@mail.gmail.com>

* mh/doc-windows-home-env (2024-12-10) 1 commit
- Document HOME environment variable

Doc update.

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

* tc/bundle-with-tag-remove-workaround (2024-12-12) 1 commit
- bundle: remove unneeded code

"git bundle create" with an annotated tag on the positive end of the revision range had a workaround code for older limitation in the revision walker, which has become unnecessary.

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

* bf/explicit-config-set-in-advice-messages (2024-12-06) 1 commit (merged to 'next' on 2024-12-11 at a20c319038)
+ advice: suggest using subcommand "git config set"

The advice messages now tell the newer 'git config set' command to set the advice.token configuration variable to squelch a message.

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

* 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-09) 7 commits
- SQUASH??? leakfix
- backfill: assume --sparse when sparse-checkout is enabled
- backfill: add --sparse option
- backfill: add --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.)

source: <[email protected]>

* kn/reftable-writer-log-write-verify (2024-12-07) 1 commit
- reftable/writer: ensure valid range for log's update_index

source: <20241206-424-reftable-writer-add-check-for-limits-v2-1-82ca350b10be@gmail.com>

* ps/ci-gitlab-update (2024-12-12) 4 commits
- ci/lib: fix "CI setup" sections with GitLab CI
- ci/lib: do not interpret escape sequences in group () arguments
- ci/lib: remove duplicate trap to end "CI setup" group
- gitlab-ci: update macOS images to Sonoma

GitLab CI updates.

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

* ps/commit-with-message-syntax-fix (2024-12-08) 1 commit (merged to 'next' on 2024-12-11 at da3d13a723)
+ object-name: fix reversed ordering with ":/<text>" revisions

The syntax ":/<text>" to name the latest commit with the matching text was broken with a recent change, which has been corrected.

Will merge to 'master'.
source: <20241206-pks-rev-parse-fix-reversed-list-v3-1-d934c17db168@pks.im>

* jc/set-head-symref-fix (2024-12-07) 2 commits
- fetch: do not ask for HEAD unnecessarily
- Merge branch 'bf/set-head-symref' into js/set-head-symref-fix (this branch uses bf/set-head-symref.)

"git fetch" from a configured remote learned to update a missing remote-tracking HEAD but it asked the remote about their HEAD even when it did not need to, which has been corrected. Incidentally, this also corrects "git fetch --tags $URL" which was broken by the new feature in an unspecified way.

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

* re/submodule-parse-opt (2024-12-11) 7 commits
- 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 merge to 'next'?
source: <[email protected]>

* jt/fix-fattening-promisor-fetch (2024-12-10) 3 commits (merged to 'next' on 2024-12-11 at 5a408010e9)
+ index-pack --promisor: also check commits' trees
+ index-pack --promisor: don't check blobs
+ index-pack --promisor: dedup before checking links

Fix performance regression of a recent "fatten promisor pack with local objects" protection against an unwanted gc.

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

* kk/doc-ancestry-path (2024-12-04) 1 commit (merged to 'next' on 2024-12-05 at 36d6c51c96)
+ doc: mention rev-list --ancestry-path restrictions

The --ancestry-path option is designed to be given a commit that is on the path, which was not documented, which has been corrected.

Will merge to 'master'.
source: <CADYQcGrD5KtM1sZQbccAtDaLmUXD8Gxv_nUWmapjfZm=TMq=Jw@mail.gmail.com>

* kh/doc-bundle-typofix (2024-12-02) 1 commit (merged to 'next' on 2024-12-04 at 5da441ce36)
+ Documentation/git-bundle.txt: fix word join typo

Typofix.

Will merge to 'master'.
source: <164b94bab9214f6030909df8f1e7c476b7f79e55.1732822997.git.code@khaugsbakk.name>

* kh/doc-update-ref-grammofix (2024-12-02) 1 commit (merged to 'next' on 2024-12-04 at 9905f16afc)
+ Documentation/git-update-ref.txt: add missing word

Grammofix.

Will merge to 'master'.
source: <6cc7a9d60216c966bcf77675aa22a39cfa8993e2.1732906187.git.code@khaugsbakk.name>

* ps/build-sign-compare (2024-12-06) 16 commits
- t/helper: don't depend on implicit wraparound
- scalar: address -Wsign-compare warnings
- builtin/patch-id: fix type of get_one_patchid()
- builtin/blame: fix type of length variable when emitting object ID
- gpg-interface: address -Wsign-comparison warnings
- daemon: fix type of max_connections
- daemon: fix loops that have mismatching integer types
- global: trivial conversions to fix -Wsign-compare warnings
- pkt-line: fix -Wsign-compare warning on 32 bit platform
- csum-file: fix -Wsign-compare warning on 32-bit platform
- diff.h: fix index used to loop through unsigned integer
- config.mak.dev: drop -Wno-sign-compare
- global: mark code units that generate warnings with -Wsign-compare
- compat/win32: fix -Wsign-compare warning in "wWinMain()"
- compat/regex: explicitly ignore "-Wsign-compare" warnings
- git-compat-util: introduce macros to disable "-Wsign-compare" warnings

Start working to make the codebase buildable with -Wsign-compare.

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

* rj/strvec-splice-fix (2024-12-10) 2 commits
(merged to 'next' on 2024-12-11 at ddbfd8883a)
+ strvec: strvec_splice() to a statically initialized vector
+ Merge branch 'ps/leakfixes-part-10' into rj/strvec-splice-fix

Correct strvec_splice() that misbehaved when the strvec is empty.

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

* jc/forbid-head-as-tagname (2024-12-03) 4 commits (merged to 'next' on 2024-12-11 at adea88989e)
+ tag: "git tag" refuses to use HEAD as a tagname
+ t5604: do not expect that HEAD can be a valid tagname
+ refs: drop strbuf_ prefix from helpers
+ refs: move ref name helpers around

"git tag" has been taught to refuse to create refs/tags/HEAD as such a tag will be confusing in the context of UI provided by the Git Porcelain commands.

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

* en/fast-import-verify-path (2024-12-04) 3 commits (merged to 'next' on 2024-12-05 at bbdd9b9659)
+ t9300: test verification of renamed paths (merged to 'next' on 2024-12-02 at 2932fa51e4)
+ fast-import: disallow more path components (merged to 'next' on 2024-11-27 at 8b145bb543)
+ fast-import: disallow "." and ".." path components

"git fast-import" learned to reject paths with ".." and "." as their components to avoid creating invalid tree objects.

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

* bf/fetch-set-head-config (2024-12-06) 5 commits (merged to 'next' on 2024-12-11 at 900cadd7b7)
+ remote set-head: set followRemoteHEAD to "warn" if "always"
+ fetch set_head: add warn-if-not-$branch option
+ fetch set_head: move warn advice into advise_if_enabled (merged to 'next' on 2024-12-04 at 69bfc59fb5)
+ fetch: add configuration for set_head behaviour
+ Merge branch 'bf/set-head-symref' into bf/fetch-set-head-config (this branch uses bf/set-head-symref.)

"git fetch" honors "remote.<remote>.followRemoteHEAD" settings to tweak the remote-tracking HEAD in "refs/remotes/<remote>/HEAD".

Will merge to 'master' after bf/set-head-symref stabilizes.
source: <[email protected]>
source: <[email protected]>
source: <[email protected]>

* jc/doc-error-message-guidelines (2024-11-29) 1 commit (merged to 'next' on 2024-12-04 at 2d19ff44e5)
+ CodingGuidelines: a handful of error message guidelines

Developer documentation update.

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

* kn/midx-wo-the-repository (2024-12-04) 10 commits
(merged to 'next' on 2024-12-05 at e48a185ed0)
+ midx: inline the MIDX_MIN_SIZE definition
+ midx: pass down hash_algo to functions using global variables
+ midx: pass repository to load_multi_pack_index
+ midx: cleanup internal usage of the_repository and the_hash_algo
+ midx-write: pass down repository to write_midx_file[_only]
+ write-midx: add repository field to write_midx_context
+ midx-write: use revs->repo inside read_refs_snapshot
+ midx-write: pass down repository to static functions
+ Merge branch 'kn/pass-repo-to-builtin-sub-sub-commands' into kn/midx-wo-the-repository
+ Merge branch 'kn/the-repository' into kn/midx-wo-the-repository
(this branch uses kn/the-repository.)

Yet another "pass the repository through the callchain" topic.

Will merge to 'master'.
source: <20241127-374-refactor-midx-c-and-midx-write-c-to-not-depend-on-global-state-v3-0-c5a99f85009b@gmail.com>

* 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]>

* jt/bundle-fsck (2024-11-28) 4 commits
(merged to 'next' on 2024-12-04 at bfd07a8936)
+ transport: propagate fsck configuration during bundle fetch
+ fetch-pack: split out fsck config parsing
+ bundle: support fsck message configuration
+ bundle: add bundle verification options type

"git bundle --unbundle" and "git clone" running on a bundle file both learned to trigger fsck over the new objects with configurable fck check levels.

Will merge to 'master'.
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 review.
source: <20241113-pks-push-atomic-respect-exit-code-v1-0-7965f01e7f4e@pks.im>

* js/log-remerge-keep-ancestry (2024-11-12) 1 commit
- log: --remerge-diff needs to keep around commit parents

"git log -p --remerge-diff --reverse" was completely broken.

Expecting a hopefully small and final reroll.
cf. <[email protected]>
source: <[email protected]>

* 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]>

* jk/describe-perf (2024-12-06) 5 commits
(merged to 'next' on 2024-12-11 at 509db1dc1a)
+ describe: split "found all tags" and max_candidates logic (merged to 'next' on 2024-12-02 at 0f34109a85)
+ describe: stop traversing when we run out of names
+ describe: stop digging for max_candidates+1
+ t/perf: add tests for git-describe
+ t6120: demonstrate weakness in disjoint-root handling

"git describe" optimization.

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

* js/range-diff-diff-merges (2024-11-11) 1 commit
- range-diff: optionally include merge commits' diffs in the analysis

"git range-diff" learned to optionally show and compare merge commits in the ranges being compared, with the --diff-merges option.

Expecting a (hopefully final and) small reroll.
cf. <[email protected]>
source: <[email protected]>

* ds/name-hash-tweaks (2024-12-03) 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.
source: <[email protected]>

* ds/path-walk-1 (2024-12-07) 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.

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

* cw/worktree-extension (2024-12-02) 8 commits
(merged to 'next' on 2024-12-05 at 7bd98d132c)
+ worktree: refactor repair_worktree_after_gitdir_move()
+ worktree: add relative cli/config options to repair command
+ worktree: add relative cli/config options to move command
+ worktree: add relative cli/config options to add command
+ worktree: add write_worktree_linking_files() function
+ worktree: refactor infer_backlink return
+ worktree: add relativeWorktrees extension
+ setup: correctly reinitialize repository version (this branch is used by ps/ci-meson.)

Introduce a new repository extension to prevent older Git versions from mis-interpreting worktrees created with relative paths.

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

* as/show-index-uninitialized-hash (2024-11-11) 2 commits
- t5300: add test for 'show-index --object-format'
- show-index: fix uninitialized hash function

Regression fix for 'show-index' when run outside of a repository.

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]>

* es/oss-fuzz (2024-10-16) 3 commits
(merged to 'next' on 2024-12-05 at 1f973aece2)
+ fuzz: port fuzz-url-decode-mem from OSS-Fuzz
+ fuzz: port fuzz-parse-attr-line from OSS-Fuzz
+ fuzz: port fuzz-credential-from-url-gently from OSS-Fuzz

Backport oss-fuzz tests for us to our codebase.

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

* bf/set-head-symref (2024-11-25) 10 commits
(merged to 'next' on 2024-12-02 at b142ff3d8e)
+ fetch set_head: handle mirrored bare repositories
+ fetch: set remote/HEAD if it does not exist
+ refs: add create_only option to refs_update_symref_extended
+ refs: add TRANSACTION_CREATE_EXISTS error
+ remote set-head: better output for --auto
+ remote set-head: refactor for readability
+ refs: atomically record overwritten ref in update_symref
+ refs: standardize output of refs_read_symbolic_ref
+ t/t5505-remote: test failure of set-head
+ t/t5505-remote: set default branch to main
(this branch is used by bf/fetch-set-head-config and jc/set-head-symref-fix.)

When "git fetch $remote" notices that refs/remotes/$remote/HEAD is missing and discovers what branch the other side points with its HEAD, refs/remotes/$remote/HEAD is updated to point to it.

Needs to wait until set-head-symref-fix topic solidifies.
source: <[email protected]>

* ps/build (2024-12-07) 24 commits
(merged to 'next' on 2024-12-11 at cb270b3dea)
+ Introduce support for the Meson build system
+ Documentation: add comparison of build systems
+ t: allow overriding build dir
+ t: better support for out-of-tree builds
+ Documentation: extract script to generate a list of mergetools
+ Documentation: teach "cmd-list.perl" about out-of-tree builds
+ Documentation: allow sourcing generated includes from separate dir
+ Makefile: simplify building of templates
+ Makefile: write absolute program path into bin-wrappers
+ Makefile: allow "bin-wrappers/" directory to exist
+ Makefile: refactor generators to be PWD-independent
+ Makefile: extract script to generate gitweb.js
+ Makefile: extract script to generate gitweb.cgi
+ Makefile: extract script to massage Python scripts
+ Makefile: extract script to massage Shell scripts
+ Makefile: use "generate-perl.sh" to massage Perl library
+ Makefile: extract script to massage Perl scripts
+ Makefile: consistently use PERL_PATH
+ Makefile: generate doc versions via GIT-VERSION-GEN
+ Makefile: generate "git.rc" via GIT-VERSION-GEN
+ Makefile: propagate Git version via generated header
+ Makefile: refactor GIT-VERSION-GEN to be reusable
+ Makefile: consistently use @PLACEHOLDER@ to substitute
+ Makefile: use common template for GIT-BUILD-OPTIONS (this branch is used by ps/3.0-remote-deprecation and ps/ci-meson.)

Build procedure update plus introduction of Mason based builds.

Will merge to 'master'.
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

An rust binding to libgit.a functions has been introduced.

Will discard?
source: <[email protected]>

* kn/the-repository (2024-12-04) 10 commits
+ packfile.c: remove unnecessary prepare_packed_git() call
+ midx: add repository to multi_pack_index struct
+ config: make packed_git_(limit|window_size) non-global variables
+ config: make delta_base_cache_limit a non-global variable
+ packfile: pass down repository to for_each_packed_object
+ packfile: pass down repository to has_object[_kept]_pack
+ packfile: pass down repository to odb_pack_name
+ packfile: pass repository to static function in the file
+ packfile: use repository from packed_git directly
+ packfile: add repository to struct packed_git
(this branch is used by kn/midx-wo-the-repository.)

Various implicit uses of 'the_repoository' in the packfile code have been eliminated.

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

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

* js/set-head-symref-fix (2024-12-06) 2 commits
. Fix git fetch --tags in repo with no configured remote
- Merge branch 'bf/set-head-symref' into js/set-head-symref-fix (this branch uses bf/set-head-symref.)

Superseded by jc/set-head-symref-fix
source: <b41ae080654a3603af09801018df539f656cf9d8.1733430345.git.steadmon@google.com>

#1 lore raw

Junio C Hamano <[email protected]> writes:

[snip]

Quoted 5 lines

* kn/reftable-writer-log-write-verify (2024-12-07) 1 commit
- reftable/writer: ensure valid range for log's update_index

source: <20241206-424-reftable-writer-add-check-for-limits-v2-1-82ca350b10be@gmail.com>

Hey Junio, this was reviewed by Patrick and Toon. I see this was added to 'seen'. Is it also scheduled for 'next'?

[snip]

#2 lore raw
Quoted 4 lines · karthik nayak

Junio C Hamano <[email protected]> writes:

[snip]

Quoted 8 lines
Quoted 5 lines

* kn/reftable-writer-log-write-verify (2024-12-07) 1 commit
- reftable/writer: ensure valid range for log's update_index

source: <20241206-424-reftable-writer-add-check-for-limits-v2-1-82ca350b10be@gmail.com>

Hey Junio, this was reviewed by Patrick and Toon. I see this was added to 'seen'. Is it also scheduled for 'next'?

If it does not say "Will do X", it is not scheduled for that.

This applies to everybody, not specifically to you, but when you see an empty entry like the above in the "What's cooking" report, three things you can do are:

(1) offer a few lines of topic summary
(2) point at the review message(s)
(3) suggest for updated status with rationale (e.g. "let's move this to 'next' by day X, as this and that reviews at URL1 and URL2 seem to indicate that we have a concensus that it is ready".

Patrick's comments were on the previous one, IIRC, but I do see Toon commented on the latest round.

Thanks.

#4 lore raw
In reply to Junio C Hamano

A few typo fix suggestions:

Quoted 28 lines

* ps/build (2024-12-07) 24 commits
(merged to 'next' on 2024-12-11 at cb270b3dea)
+ Introduce support for the Meson build system
+ Documentation: add comparison of build systems
+ t: allow overriding build dir
+ t: better support for out-of-tree builds
+ Documentation: extract script to generate a list of mergetools
+ Documentation: teach "cmd-list.perl" about out-of-tree builds
+ Documentation: allow sourcing generated includes from separate dir
+ Makefile: simplify building of templates
+ Makefile: write absolute program path into bin-wrappers
+ Makefile: allow "bin-wrappers/" directory to exist
+ Makefile: refactor generators to be PWD-independent
+ Makefile: extract script to generate gitweb.js
+ Makefile: extract script to generate gitweb.cgi
+ Makefile: extract script to massage Python scripts
+ Makefile: extract script to massage Shell scripts
+ Makefile: use "generate-perl.sh" to massage Perl library
+ Makefile: extract script to massage Perl scripts
+ Makefile: consistently use PERL_PATH
+ Makefile: generate doc versions via GIT-VERSION-GEN
+ Makefile: generate "git.rc" via GIT-VERSION-GEN
+ Makefile: propagate Git version via generated header
+ Makefile: refactor GIT-VERSION-GEN to be reusable
+ Makefile: consistently use @PLACEHOLDER@ to substitute
+ Makefile: use common template for GIT-BUILD-OPTIONS (this branch is used by ps/3.0-remote-deprecation and ps/ci-meson.)

Quoted 1 line

Build procedure update plus introduction of Mason based builds.

s/Mason/Meson

Quoted 2 lines

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

[...]

Quoted 8 lines

* 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

An rust binding to libgit.a functions has been introduced.

s/An rust/A Rust/

Quoted 2 lines

Will discard?
source: <[email protected]>

#5 lore raw
Quoted 1 line · Christian Couder

A few typo fix suggestions:

Thanks. Very much appreciated.

#3 lore raw
In reply to Junio C Hamano
Quoted 12 lines · Junio C Hamano
Quoted 10 lines · karthik nayak

Junio C Hamano <[email protected]> writes:

[snip]

Quoted 5 lines

* kn/reftable-writer-log-write-verify (2024-12-07) 1 commit
- reftable/writer: ensure valid range for log's update_index

source: <20241206-424-reftable-writer-add-check-for-limits-v2-1-82ca350b10be@gmail.com>

Quoted 9 lines
Quoted 2 lines

Hey Junio, this was reviewed by Patrick and Toon. I see this was added to 'seen'. Is it also scheduled for 'next'?

If it does not say "Will do X", it is not scheduled for that.

This applies to everybody, not specifically to you, but when you see an empty entry like the above in the "What's cooking" report, three things you can do are:

Thanks for listing it out.

Quoted 1 line

(1) offer a few lines of topic summary

For this topic specifically, perhaps

Reftable backend adds check for upper limit of log's update_index.

Quoted 1 line

(2) point at the review message(s)

Although you've already noticed, let me do that so I remember for next time.

Patrick's review on v1:
https://lore.kernel.org/r/[email protected]
Toon's review on v2: https://lore.kernel.org/r/[email protected]

Quoted 8 lines

(3) suggest for updated status with rationale (e.g. "let's move this to 'next' by day X, as this and that reviews at URL1 and URL2 seem to indicate that we have a concensus that it is ready".

Patrick's comments were on the previous one, IIRC, but I do see Toon commented on the latest round.

Thanks.

Thanks for all the work you do. In short, I was curious what the expectation was since it is an empty entry. Your response helps!

#6 lore raw
In reply to Junio C Hamano
Quoted 18 lines · Junio C Hamano

* ps/build-sign-compare (2024-12-06) 16 commits
- t/helper: don't depend on implicit wraparound
- scalar: address -Wsign-compare warnings
- builtin/patch-id: fix type of get_one_patchid()
- builtin/blame: fix type of length variable when emitting object ID
- gpg-interface: address -Wsign-comparison warnings
- daemon: fix type of max_connections
- daemon: fix loops that have mismatching integer types
- global: trivial conversions to fix -Wsign-compare warnings
- pkt-line: fix -Wsign-compare warning on 32 bit platform
- csum-file: fix -Wsign-compare warning on 32-bit platform
- diff.h: fix index used to loop through unsigned integer
- config.mak.dev: drop -Wno-sign-compare
- global: mark code units that generate warnings with -Wsign-compare
- compat/win32: fix -Wsign-compare warning in "wWinMain()"
- compat/regex: explicitly ignore "-Wsign-compare" warnings
- git-compat-util: introduce macros to disable "-Wsign-compare" warnings

Quoted 4 lines

Start working to make the codebase buildable with -Wsign-compare.

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

I think this series should be ready to go, yes.

Quoted 10 lines

* 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 review.
source: <20241113-pks-push-atomic-respect-exit-code-v1-0-7965f01e7f4e@pks.im>

There was a newer version of this series again sent by Jiang Xin. I'll try to have a look today.

Quoted 10 lines

* ds/path-walk-1 (2024-12-07) 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.)

Quoted 5 lines

Introduce a new API to visit objects in batches based on a common path, or by type.

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

I was a bit late to the party, but have sent a couple of review comments to the mailing list late last week that Derrick may want to address.

Quoted 8 lines

* as/show-index-uninitialized-hash (2024-11-11) 2 commits
- t5300: add test for 'show-index --object-format'
- show-index: fix uninitialized hash function

Regression fix for 'show-index' when run outside of a repository.

Comments?
source: <[email protected]>

I've just had a look at it, looks good to me.

Thanks!

Patrick

#7 lore raw
Quoted 19 lines · Patrick Steinhardt
Quoted 18 lines · Junio C Hamano

* ps/build-sign-compare (2024-12-06) 16 commits
- t/helper: don't depend on implicit wraparound
- scalar: address -Wsign-compare warnings
- builtin/patch-id: fix type of get_one_patchid()
- builtin/blame: fix type of length variable when emitting object ID
- gpg-interface: address -Wsign-comparison warnings
- daemon: fix type of max_connections
- daemon: fix loops that have mismatching integer types
- global: trivial conversions to fix -Wsign-compare warnings
- pkt-line: fix -Wsign-compare warning on 32 bit platform
- csum-file: fix -Wsign-compare warning on 32-bit platform
- diff.h: fix index used to loop through unsigned integer
- config.mak.dev: drop -Wno-sign-compare
- global: mark code units that generate warnings with -Wsign-compare
- compat/win32: fix -Wsign-compare warning in "wWinMain()"
- compat/regex: explicitly ignore "-Wsign-compare" warnings
- git-compat-util: introduce macros to disable "-Wsign-compare" warnings

Quoted 6 lines
Quoted 4 lines

Start working to make the codebase buildable with -Wsign-compare.

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

I think this series should be ready to go, yes.

OK, let me mark it for 'next', then. BTW, I found
https://staticthinking.wordpress.com/2023/07/25/wsign-compare-is-garbage/
amusing ;-).

Quoted 8 lines
Quoted 8 lines

* 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.

Quoted 5 lines
Quoted 2 lines

Needs review.
source: <20241113-pks-push-atomic-respect-exit-code-v1-0-7965f01e7f4e@pks.im>

There was a newer version of this series again sent by Jiang Xin. I'll try to have a look today.

Thanks. I do not particularly like "competing" parallel topics that do not talk much with each other, so I wanted to take a look at the other one, too, to see why these two are not good enough.

Quoted 10 lines
Quoted 10 lines

* ds/path-walk-1 (2024-12-07) 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.)

Quoted 8 lines
Quoted 5 lines

Introduce a new API to visit objects in batches based on a common path, or by type.

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

I was a bit late to the party, but have sent a couple of review comments to the mailing list late last week that Derrick may want to address.

Yup, I saw your comments. Let's hear what Derrick says.

Quoted 10 lines
Quoted 8 lines

* as/show-index-uninitialized-hash (2024-11-11) 2 commits
- t5300: add test for 'show-index --object-format'
- show-index: fix uninitialized hash function

Regression fix for 'show-index' when run outside of a repository.

Comments?
source: <[email protected]>

I've just had a look at it, looks good to me.

Thanks. This was fairly straight-forward and looked good to me, too. Marked for 'next'.

Thanks.