Skip to contentSkip to conversation

What's cooking in git.git (Apr 2024, #05; Fri, 12)

DISCUSSION Junio C Hamano 3 participants 5 messages Apr 13, 2024 – Apr 16, 2024

lore
Share & tools
lore

Junio C Hamano

author Tested-by M Hickford Acked-by Johannes Sixt
#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']

* ds/typofix-core-config-doc (2024-03-31) 1 commit (merged to 'next' on 2024-04-02 at 79496fcfc4)
+ config: fix some small capitalization issues, as spotted

Typofix.
source: <26135b06c48565ee8ac6dcfc1ef5431511e6202c.1711918168.git.dsimic@manjaro.org>

* jc/checkout-detach-wo-tracking-report (2024-03-30) 1 commit (merged to 'next' on 2024-04-04 at 161eca247d)
+ checkout: omit "tracking" information on a detached HEAD

"git checkout/switch --detach foo", after switching to the detached HEAD state, gave the tracking information for the 'foo' branch, which was pointless.

cf. <CAGJzqsmE9FDEBn=u3ge4LA3ha4fDbm4OWiuUbMaztwjELBd7ug@mail.gmail.com>
source: <[email protected]>

* jc/t2104-style-update (2024-04-02) 1 commit
(merged to 'next' on 2024-04-03 at 0449835479)
+ t2104: style fixes

Coding style fixes.
source: <[email protected]>

* js/merge-tree-3-trees (2024-04-12) 1 commit (merged to 'next' on 2024-04-12 at d4235d1f47)
+ merge-tree: fix argument type of the --merge-base option

Match the option argument type in the help text to the correct type updated by a recent series.
source: <[email protected]>

* kn/clarify-update-ref-doc (2024-04-02) 2 commits (merged to 'next' on 2024-04-02 at d1b9c5aa67)
+ githooks: use {old,new}-oid instead of {old,new}-value
+ update-ref: use {old,new}-oid instead of {old,new}value

Doc update, as a preparation to enhance "git update-ref --stdin".
source: <[email protected]>

* ps/reftable-binsearch-updates (2024-04-03) 7 commits (merged to 'next' on 2024-04-04 at 40e6d5a36b)
+ reftable/block: avoid decoding keys when searching restart points
+ reftable/record: extract function to decode key lengths
+ reftable/block: fix error handling when searching restart points
+ reftable/block: refactor binary search over restart points
+ reftable/refname: refactor binary search over refnames
+ reftable/basics: improve binsearch() test
+ reftable/basics: fix return type of binsearch() to be size_t

Reftable code clean-up and some bugfixes.
source: <[email protected]>

* rs/imap-send-use-xsnprintf (2024-04-02) 1 commit (merged to 'next' on 2024-04-04 at 789ad853e1)
+ imap-send: use xsnprintf to format command

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

* rs/mem-pool-size-t-safety (2024-03-31) 1 commit
(merged to 'next' on 2024-04-02 at 3517d48210)
+ mem-pool: use st_add() in mem_pool_strvfmt()

size_t arithmetic safety.
source: <[email protected]>

* rs/t-prio-queue-cleanup (2024-04-02) 1 commit
(merged to 'next' on 2024-04-04 at 7961c838ac)
+ t-prio-queue: simplify using compound literals

t-prio-queue test has been cleaned up by using C99 compound literals; this is meant to also serve as a weather-balloon to smoke out folks with compilers who have trouble compiling code that uses the feature.
source: <[email protected]>

* tb/midx-write (2024-04-01) 5 commits
(merged to 'next' on 2024-04-05 at b4870116f7)
+ midx-write.c: use --stdin-packs when repacking
+ midx-write.c: check count of packs to repack after grouping
+ midx-write.c: factor out common want_included_pack() routine
+ midx-write: move writing-related functions from midx.c
+ Merge branch 'rs/midx-use-strvec-pushf' into tb/midx-write

Code clean-up by splitting code responsible for writing midx files into its own file.
source: <[email protected]>

* vs/complete-with-set-u-fix (2024-04-01) 2 commits
(merged to 'next' on 2024-04-02 at d8f6a511e8)
+ completion: protect prompt against unset SHOWUPSTREAM in nounset mode
+ completion: fix prompt with unset SHOWCONFLICTSTATE in nounset mode

Another "set -u" fix for the bash prompt (in contrib/) script.
source: <[email protected]>

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

* dd/t9604-use-posix-timezones (2024-04-10) 1 commit
- t9604: Fix test for musl libc and new Debian

The cvsimport tests required that the platform understands traditional timezone notations like CST6CDT, which has been updated to work on those systems as long as they understand POSIX notation with explicit tz transition dates.

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

* jc/t2104-style-fixes (2024-04-09) 1 commit
(merged to 'next' on 2024-04-11 at 7678ec509b)
+ t2104: style fixes

Test style fixes.

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

* kn/update-ref-symrefs (2024-04-12) 8 commits
- SQUASH???
- refs: support symrefs in 'reference-transaction' hook
- update-ref: add support for symref-update
- update-ref: add support for symref-create
- files-backend: extract out create_symref_lock
- update-ref: add support for symref-delete
- update-ref: add support for symref-verify
- refs: accept symref values in ref_transaction[_add]_update

source: <[email protected]>

* pf/commitish-committish (2024-04-11) 1 commit
(merged to 'next' on 2024-04-12 at 7ef816cb64)
+ typo: replace 'commitish' with 'committish'

Spellfix.

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

* pw/t3428-cleanup (2024-04-09) 3 commits
(merged to 'next' on 2024-04-11 at 3c40516874)
+ t3428: restore coverage for "apply" backend
+ t3428: use test_commit_message
+ t3428: modernize test setup

Test cleanup.

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

* ta/fast-import-parse-path-fix (2024-04-12) 8 commits
- fast-import: make comments more precise
- fast-import: forbid escaped NUL in paths
- fast-import: document C-style escapes for paths
- fast-import: improve documentation for path quoting
- fast-import: remove dead strbuf
- fast-import: allow unquoted empty path for root
- fast-import: directly use strbufs for paths
- fast-import: tighten path unquoting

The way "git fast-import" handles paths described in its input has been tightened up and more clearly documented.

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

* xx/rfc2822-date-format-in-doc (2024-04-12) 1 commit
- Documentation: fix typos describing date format

Docfix.

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

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

* rs/date-mode-pass-by-value (2024-04-05) 1 commit (merged to 'next' on 2024-04-10 at cc3c17d31c)
+ date: make DATE_MODE thread-safe

The codepaths that reach date_mode_from_type() have been updated to pass "struct date_mode" by value to make them thread safe.

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

* rs/usage-fallback-to-show-message-format (2024-04-05) 1 commit (merged to 'next' on 2024-04-10 at 9a34aed4d5)
+ usage: report vsnprintf(3) failure

vreportf(), which is usede by error() and friends, has been taught to give the error message printf-format string when its vsnprintf() call fails, instead of showing nothing useful to identify the nature of the error.

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

* jc/local-extern-shell-rules (2024-04-05) 8 commits (merged to 'next' on 2024-04-10 at d3a13273e7)
+ t1016: local VAR="VAL" fix
+ t0610: local VAR="VAL" fix
+ t: teach lint that RHS of 'local VAR=VAL' needs to be quoted
+ t: local VAR="VAL" (quote ${magic-reference})
+ t: local VAR="VAL" (quote command substitution)
+ t: local VAR="VAL" (quote positional parameters)
+ CodingGuidelines: quote assigned value in 'local var=$val'
+ CodingGuidelines: describe "export VAR=VAL" rule

Document and apply workaround for a buggy version of dash that mishandles "local var=val" construct.

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

* jc/unleak-core-excludesfile (2024-04-08) 1 commit (merged to 'next' on 2024-04-10 at ffb0c01871)
+ config: do not leak excludes_file

The variable that holds the value read from the core.excludefile configuration variable used to leak, which has been corrected.

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

* la/doc-use-of-contacts-when-contributing (2024-04-12) 8 commits
- SubmittingPatches: demonstrate using git-contacts with git-send-email
- SubmittingPatches: add heading for format-patch and send-email
- SubmittingPatches: dedupe discussion of security patches
- SubmittingPatches: discuss reviewers first
- SubmittingPatches: quote commands
- SubmittingPatches: mention GitGitGadget
- SubmittingPatches: clarify 'git-contacts' location
- MyFirstContribution: mention contrib/contacts/git-contacts

Advertise "git contacts", a tool for newcomers to find people to ask review for their patches, a bit more in our developer documentation.

source: <[email protected]>

* ps/ci-test-with-jgit (2024-04-12) 13 commits
- t0612: add tests to exercise Git/JGit reftable compatibility
- t0610: fix non-portable variable assignment
- t06xx: always execute backend-specific tests
- ci: install JGit dependency
- ci: make Perforce binaries executable for all users
- ci: merge scripts which install dependencies
- ci: fix setup of custom path for GitLab CI
- ci: merge custom PATH directories
- ci: convert "install-dependencies.sh" to use "/bin/sh"
- ci: drop duplicate package installation for "linux-gcc-default"
- ci: skip sudo when we are already root
- ci: expose distro name in dockerized GitHub jobs
- ci: rename "runs_on_pool" to "distro"

Tests to ensure interoperability between reftable written by jgit and our code have been added and enabled in CI.

source: <[email protected]>

* pw/rebase-i-error-message (2024-04-08) 2 commits
- rebase -i: improve error message when picking merge
- rebase -i: pass struct replay_opts to parse_insn_line()

When the user adds to "git rebase -i" instruction to "pick" a merge commit, the error experience is not pleasant. Such an error is now caught earlier in the process that parses the todo list.

Comments?
source: <[email protected]>

* tb/make-indent-conditional-with-non-spaces (2024-04-08) 2 commits (merged to 'next' on 2024-04-10 at 98aa239dc3)
+ Makefile(s): do not enforce "all indents must be done with tab"
+ Makefile(s): avoid recipe prefix in conditional statements

Adjust to an upcoming changes to GNU make that breaks our Makefiles.

Will merge to 'master'.
source: <9d14c08ca6cc06cdf8fb4ba33d2470053dca3966.1712591504.git.me@ttaylorr.com>

* ps/t0610-umask-fix (2024-04-09) 2 commits (merged to 'next' on 2024-04-10 at 659a29b138)
+ t0610: execute git-pack-refs(1) with specified umask
+ t0610: make --shared= tests reusable

The "shared repository" test in the t0610 reftable test failed under restrictive umask setting (e.g. 007), which has been corrected.

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

* ma/win32-unix-domain-socket (2024-04-03) 1 commit (merged to 'next' on 2024-04-09 at b98021a65c)
+ Win32: detect unix socket support at runtime

Windows binary used to decide the use of unix-domain socket at build time, but it learned to make the decision at runtime instead.

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

* ps/reftable-write-optim (2024-04-08) 11 commits
- reftable/block: reuse compressed array
- reftable/block: reuse zstream when writing log blocks
- reftable/writer: reset last_key instead of releasing it
- reftable/writer: unify releasing memory
- reftable/writer: refactorings for writer_flush_nonempty_block()
- reftable/writer: refactorings for writer_add_record()
- refs/reftable: don't recompute committer ident
- reftable: remove name checks
- refs/reftable: skip duplicate name checks
- refs/reftable: perform explicit D/F check when writing symrefs
- refs/reftable: fix D/F conflict error message on ref copy

Code to write out reftable has seen some optimization and simplification.
source: <[email protected]>

* ds/send-email-per-message-block (2024-04-10) 2 commits
- send-email: make it easy to discern the messages for each patch
- send-email: move newline characters out of a few translatable strings

"git send-email" learned to separate its reports on each message it sends out with an extra blank line in between.

Comments?
source: <[email protected]>

* ds/fetch-config-parse-microfix (2024-04-05) 1 commit (merged to 'next' on 2024-04-09 at 585dcadd63)
+ fetch: return when parsing submodule.recurse

A config parser callback function fell through instead of returning after recognising and processing a variable, wasting cycles, which has been corrected.

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

* rs/apply-lift-path-length-limit (2024-04-05) 2 commits (merged to 'next' on 2024-04-09 at 3270d194fd)
+ path: remove mksnpath()
+ apply: avoid fixed-size buffer in create_one_file()

"git apply" has been updated to lift the hardcoded pathname length limit, which in turn allowed a mksnpath() function that is no longer used.

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

* rs/apply-reject-fd-leakfix (2024-04-05) 1 commit (merged to 'next' on 2024-04-09 at 11efa0543c)
+ apply: don't leak fd on fdopen() error

A file descriptor leak in an error codepath, used when "git apply --reject" fails to create the *.rej file, has been corrected.

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

* ba/osxkeychain-updates (2024-04-01) 4 commits (merged to 'next' on 2024-04-10 at 1e7d925a43)
+ osxkeychain: store new attributes
+ osxkeychain: erase matching passwords only
+ osxkeychain: erase all matching credentials
+ osxkeychain: replace deprecated SecKeychain API

Update osxkeychain backend with features required for the recent credential subsystem.

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

* jk/libcurl-8.7-regression-workaround (2024-04-05) 3 commits (merged to 'next' on 2024-04-10 at 3b76577bfc)
+ remote-curl: add Transfer-Encoding header only for older curl
+ INSTALL: bump libcurl version to 7.21.3
+ http: reset POSTFIELDSIZE when clearing curl handle

Fix was added to work around a regression in libcURL 8.7.0 (which has already been fixed in their tip of the tree).

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

* tb/t7700-fixup (2024-04-03) 1 commit
(merged to 'next' on 2024-04-10 at ff1f877ef7)
+ t/t7700-repack.sh: fix test breakages with GIT_TEST_MULTI_PACK_INDEX=1

Test fix.

Will merge to 'master'.
source: <7e8d435d58eea19d2aae0be366720f5956d29a5d.1712075189.git.me@ttaylorr.com>

* gt/add-u-commit-i-pathspec-check (2024-04-03) 3 commits (merged to 'next' on 2024-04-09 at 1a0c757907)
+ builtin/add: error out when passing untracked path with -u
+ builtin/commit: error out when passing untracked path with -i
+ revision: optionally record matches with pathspec elements

"git add -u <pathspec>" and "git commit [-i] <pathspec>" did not diagnose a pathspec element that did not match any files in certain situations, unlike "git add <pathspec>" did.

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

* jt/reftable-geometric-compaction (2024-04-08) 4 commits (merged to 'next' on 2024-04-10 at 7e868a831c)
+ reftable/stack: use geometric table compaction
+ reftable/stack: add env to disable autocompaction
+ reftable/stack: expose option to disable auto-compaction
+ Merge branch 'ps/pack-refs-auto' into jt/reftable-geometric-compaction

The strategy to compact multiple tables of reftables after many operations accumulate many entries has been improved to avoid accumulating too many tables uncollected.

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

* ew/khash-to-khashl (2024-03-28) 3 commits
- khashl: fix ensemble lookups on empty table
- treewide: switch to khashl for memory savings
- list-objects-filter: use kh_size API

The hashtable library "khash.h" has been replaced with "khashl.h" that has better memory usage characteristics.

Needs review.
source: <[email protected]>

* ps/reftable-block-iteration-optim (2024-03-27) 9 commits
- reftable/block: reuse zstream state on inflation
- reftable/block: open-code call to uncompress2()
- reftable/block: reuse uncompressed blocks
- reftable/reader: iterate to next block in place
- reftable/block: move ownership of block reader into struct table_iter
- reftable/block: introduce block_reader_release()
- reftable/block: better grouping of functions
- reftable/block: merge block_iter_seek() and block_reader_seek()
- reftable/block: rename block_reader_start()

The code to iterate over reftable blocks has seen some optimization to reduce memory allocation and deallocation.

Needs review.
source: <[email protected]>

* bc/credential-scheme-enhancement (2024-03-27) 12 commits . credential: add support for multistage credential rounds . t5563: refactor for multi-stage authentication . docs: set a limit on credential line length
. credential: enable state capability
. credential: add an argument to keep state
. http: add support for authtype and credential
. docs: indicate new credential protocol fields
. credential: gate new fields on capability
. credential: add a field for pre-encoded credentials . http: use new headers for each object request
. remote-curl: reset headers on new request
. credential: add an authtype field

The credential helper protocol, together with the HTTP layer, have been enhanced to support authentication schemes different from username & password pair, like Bearer and NTLM.

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

* tb/pseudo-merge-reachability-bitmap (2024-03-20) 24 commits
- t/perf: implement performace tests for pseudo-merge bitmaps
- pseudo-merge: implement support for finding existing merges
- ewah: bitmap_equals_ewah()
- pack-bitmap: extra trace2 information
- pack-bitmap.c: use pseudo-merges during traversal
- t/test-lib-functions.sh: support --date in test_commit_bulk()
- pack-bitmap: implement test helpers for pseudo-merge
- ewah: implement ewah_bitmap_popcount()
- pseudo-merge: implement support for reading pseudo-merge commits
- pack-bitmap.c: read pseudo-merge extension
- pseudo-merge: scaffolding for reads
- pack-bitmap: extract read_bitmap() function
- pack-bitmap-write.c: write pseudo-merge table
- pack-bitmap-write.c: select pseudo-merge commits
- pseudo-merge: implement support for selecting pseudo-merge commits
- pack-bitmap: make bitmap_writer_push_bitmapped_commit() public
- pack-bitmap: implement bitmap_writer_has_bitmapped_object_id()
- pack-bitmap-write: support storing pseudo-merge commits
- pseudo-merge.ch: initial commit
- pack-bitmap: move some initialization to bitmap_writer_init()
- pack-bitmap: drop unused max_bitmaps parameter
- ewah: implement ewah_bitmap_is_subset()
- config: repo_config_get_expiry()
- Documentation/technical: describe pseudo-merge bitmaps format

The pack-bitmap machinery learned to write pseudo-merge bitmaps, which act as imaginary octopus merges covering un-bitmapped reference tips. This enhances bitmap coverage, and thus, performance, for repositories with many references using bitmaps.

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

* la/hide-trailer-info (2024-03-16) 7 commits
- trailer: retire trailer_info_get() from API
- trailer: make trailer_info struct private
- trailer: make parse_trailers() return trailer_info pointer
- interpret-trailers: access trailer_info with new helpers
- sequencer: use the trailer iterator
- trailer: teach iterator about non-trailer lines
- Merge branch 'la/format-trailer-info' into la/hide-trailer-info (this branch uses la/format-trailer-info.)

The trailer API has been reshuffled a bit.

Needs review.
source: <[email protected]>

* ds/doc-config-reflow (2024-03-14) 1 commit
- config.txt: perform some minor reformatting

Reflow a paragraph in the documentation source without any effect to the formatted text.

Will discard.
source: <97bdaf075bf5a68554cca1731eca78aff2662907.1710444774.git.dsimic@manjaro.org>

* la/format-trailer-info (2024-03-15) 5 commits
- trailer: finish formatting unification
- trailer: begin formatting unification
- format_trailer_info(): append newline for non-trailer lines
- format_trailer_info(): drop redundant unfold_value()
- format_trailer_info(): use trailer_item objects (this branch is used by la/hide-trailer-info.)

The code to format trailers have been cleaned up.

Comments?
source: <[email protected]>

* ie/config-includeif-hostname (2024-03-19) 2 commits
- config: learn the "hostname:" includeIf condition
- t: add a test helper for getting hostname

The conditional inclusion mechanism for configuration files learned to switch on the hostname.

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

* js/build-fuzz-more-often (2024-04-11) 2 commits
- fuzz: link fuzz programs with make all on Linux
- ci: also define CXX environment variable

In addition to building the objects needed, try to link the objects that are used in fuzzer tests, to make sure at least they build without bitrot, in Linux CI runs.

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

* sj/userdiff-c-sharp (2024-04-05) 1 commit (merged to 'next' on 2024-04-10 at 56aaf254a7)
+ userdiff: better method/property matching for C#

The userdiff patterns for C# has been updated.

cf. <[email protected]>

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

* cw/git-std-lib (2024-02-28) 4 commits
- SQUASH??? get rid of apparent debugging crufts
- test-stdlib: show that git-std-lib is independent
- git-std-lib: introduce Git Standard Library
- pager: include stdint.h because uintmax_t is used

Split libgit.a out to a separate git-std-lib tor easier reuse.

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

* js/cmake-with-test-tool (2024-02-23) 2 commits
- cmake: let test-tool run the unit tests, too
- Merge branch 'js/unit-test-suite-runner' into js/cmake-with-test-tool (this branch uses js/unit-test-suite-runner.)

"test-tool" is now built in CMake build to also run the unit tests.

May want to roll it into the base topic.
source: <[email protected]>

* js/unit-test-suite-runner (2024-02-23) 8 commits
- ci: use test-tool as unit test runner on Windows
- t/Makefile: run unit tests alongside shell tests
- unit tests: add rule for running with test-tool
- test-tool run-command testsuite: support unit tests
- test-tool run-command testsuite: remove hardcoded filter
- test-tool run-command testsuite: get shell from env
- t0080: turn t-basic unit test into a helper
- Merge branch 'jk/unit-tests-buildfix' into js/unit-test-suite-runner (this branch is used by js/cmake-with-test-tool.)

The "test-tool" has been taught to run testsuite tests in parallel, bypassing the need to use the "prove" tool.

Needs review.
source: <[email protected]>

* bk/complete-dirname-for-am-and-format-patch (2024-01-12) 1 commit
- completion: dir-type optargs for am, format-patch

Command line completion support (in contrib/) has been updated for a few commands to complete directory names where a directory name is expected.

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

* bk/complete-send-email (2024-01-12) 1 commit
- completion: don't complete revs when --no-format-patch

Command line completion support (in contrib/) has been taught to avoid offering revision names as candidates to "git send-email" when the command is used to send pre-generated files.

Expecting a reroll.
cf. <CAC4O8c88Z3ZqxH2VVaNPpEGB3moL5dJcg3cOWuLWwQ_hLrJMtA@mail.gmail.com>
source: <[email protected]>

* tb/path-filter-fix (2024-01-31) 16 commits
- bloom: introduce deinit_bloom_filters()
- commit-graph: reuse existing Bloom filters where possible
- object.h: fix mis-aligned flag bits table
- commit-graph: new Bloom filter version that fixes murmur3
- commit-graph: unconditionally load Bloom filters
- bloom: prepare to discard incompatible Bloom filters
- bloom: annotate filters with hash version
- repo-settings: introduce commitgraph.changedPathsVersion
- t4216: test changed path filters with high bit paths
- t/helper/test-read-graph: implement bloom-filters mode
- bloom.h: make load_bloom_filter_from_graph() public
- t/helper/test-read-graph.c: extract dump_graph_info()
- gitformat-commit-graph: describe version 2 of BDAT
- commit-graph: ensure Bloom filters are read with consistent settings
- revision.c: consult Bloom filters for root commits
- t/t4216-log-bloom.sh: harden test_bloom_filters_not_used()

The Bloom filter used for path limited history traversal was broken on systems whose "char" is unsigned; update the implementation and bump the format version to 2.

Waiting for a final ack?
cf. <[email protected]>
source: <[email protected]>

* jc/rerere-cleanup (2023-08-25) 4 commits
- rerere: modernize use of empty strbuf
- rerere: try_merge() should use LL_MERGE_ERROR when it means an error
- rerere: fix comment on handle_file() helper
- rerere: simplify check_one_conflict() helper function

Code clean-up.

Not ready to be reviewed yet.
source: <[email protected]>

#1 lore raw
Quoted 10 lines · Junio C Hamano

* ta/fast-import-parse-path-fix (2024-04-12) 8 commits
- fast-import: make comments more precise
- fast-import: forbid escaped NUL in paths
- fast-import: document C-style escapes for paths
- fast-import: improve documentation for path quoting
- fast-import: remove dead strbuf
- fast-import: allow unquoted empty path for root
- fast-import: directly use strbufs for paths
- fast-import: tighten path unquoting

Quoted 5 lines

The way "git fast-import" handles paths described in its input has been tightened up and more clearly documented.

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

Yeah, I think the series is good to be merged now.

Quoted 11 lines

* ps/reftable-block-iteration-optim (2024-03-27) 9 commits
- reftable/block: reuse zstream state on inflation
- reftable/block: open-code call to uncompress2()
- reftable/block: reuse uncompressed blocks
- reftable/reader: iterate to next block in place
- reftable/block: move ownership of block reader into struct table_iter
- reftable/block: introduce block_reader_release()
- reftable/block: better grouping of functions
- reftable/block: merge block_iter_seek() and block_reader_seek()
- reftable/block: rename block_reader_start()

Quoted 5 lines

The code to iterate over reftable blocks has seen some optimization to reduce memory allocation and deallocation.

Needs review.
source: <[email protected]>

This series received two favorable reviews [1][2]. Justin pointed out one typo in a commit message that can be fixed like this:

 1:  eb487557a8 =  1:  eb487557a8 reftable/block: rename `block_reader_start()`
 2:  d0b318b8ee =  2:  d0b318b8ee reftable/block: merge `block_iter_seek()` and `block_reader_seek()`
 3:  c3f928d1e9 =  3:  c3f928d1e9 reftable/block: better grouping of functions
 4:  35f1bf5072 =  4:  35f1bf5072 reftable/block: introduce `block_reader_release()`
 5:  e8e8bbae62 =  5:  e8e8bbae62 reftable/block: move ownership of block reader into `struct table_iter`
 6:  685f0a40bc =  6:  685f0a40bc reftable/reader: iterate to next block in place
 7:  a7906a3383 =  7:  a7906a3383 reftable/block: reuse uncompressed blocks
 8:  6635c7b986 =  8:  6635c7b986 reftable/block: open-code call to `uncompress2()`
 9:  587b5601c0 =  9:  587b5601c0 reftable/block: reuse `zstream` state on inflation
10:  cc5ff0d598 ! 10:  935860c567 reftable/block: avoid copying block iterators on seek

@@ Commit message
When seeking a reftable record in a block we need to position the iterator _before_ the sought-after record so that the next call to block_iter_next() would yield that record. To achieve this, the loop
- that performs the linear needs to restore the previous position once it
+ that performs the linear seeks to restore the previous position once it
has found the record.

This is done by advancing two block_iters: one to check whether the

I don't really feel like it is worth it to reroll the whole series just to fix this one typo, but can do so if preferred by you. Just let me know.

Thanks!

Patrick

[1]: <vab3mzg3meohikmfl5v57uxj6w7w2odrx7cvhmoto7am2bl2yt@6l4salel4ko5> [2]: <CAOLa=ZRxQPnPxM+sZtuL-a5DVJL8Xx+D7t2d4cLoPT-hLaK_UA@mail.gmail.com>

#2 lore raw
Quoted 11 lines · Patrick Steinhardt
Quoted 11 lines

* ps/reftable-block-iteration-optim (2024-03-27) 9 commits
- reftable/block: reuse zstream state on inflation
- reftable/block: open-code call to uncompress2()
- reftable/block: reuse uncompressed blocks
- reftable/reader: iterate to next block in place
- reftable/block: move ownership of block reader into struct table_iter
- reftable/block: introduce block_reader_release()
- reftable/block: better grouping of functions
- reftable/block: merge block_iter_seek() and block_reader_seek()
- reftable/block: rename block_reader_start()

Quoted 5 lines
Quoted 5 lines

The code to iterate over reftable blocks has seen some optimization to reduce memory allocation and deallocation.

Needs review.
source: <[email protected]>

The above refers to v1; as ps/reftable-binsearch-updates, which v2 added as its dependency, has been merged to 'master', let me pick that one up.

Thanks.

#3 lore raw
In reply to Junio C Hamano
Quoted 14 lines · Junio C Hamano

* bc/credential-scheme-enhancement (2024-03-27) 12 commits . credential: add support for multistage credential rounds . t5563: refactor for multi-stage authentication . docs: set a limit on credential line length
. credential: enable state capability
. credential: add an argument to keep state
. http: add support for authtype and credential
. docs: indicate new credential protocol fields
. credential: gate new fields on capability
. credential: add a field for pre-encoded credentials . http: use new headers for each object request
. remote-curl: reset headers on new request
. credential: add an authtype field

Quoted 7 lines

The credential helper protocol, together with the HTTP layer, have been enhanced to support authentication schemes different from username & password pair, like Bearer and NTLM.

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

I'm working on a reroll and expect to send it out a little later this week. I believe it's currently finished and I'm running the tests with git rebase -x now, so assuming that passes v2 should be out soon.

Signature · 2 lines
brian m. carlson (they/them or he/him)
Toronto, Ontario, CA
#4 lore raw
Quoted 19 lines · brian m. carlson
Quoted 18 lines · Junio C Hamano

* bc/credential-scheme-enhancement (2024-03-27) 12 commits . credential: add support for multistage credential rounds . t5563: refactor for multi-stage authentication . docs: set a limit on credential line length
. credential: enable state capability
. credential: add an argument to keep state
. http: add support for authtype and credential
. docs: indicate new credential protocol fields
. credential: gate new fields on capability
. credential: add a field for pre-encoded credentials . http: use new headers for each object request
. remote-curl: reset headers on new request
. credential: add an authtype field

The credential helper protocol, together with the HTTP layer, have been enhanced to support authentication schemes different from username & password pair, like Bearer and NTLM.

Quoted 7 lines
Quoted 3 lines

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

I'm working on a reroll and expect to send it out a little later this week. I believe it's currently finished and I'm running the tests with git rebase -x now, so assuming that passes v2 should be out soon.

Thanks.