From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.5 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [IPv6:2604:1380:45d1:ec00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 81BE71F44D for ; Fri, 8 Mar 2024 02:26:54 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=sasl header.b=dZdk38Zn; dkim-atps=neutral Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 89EE91C213E9 for ; Fri, 8 Mar 2024 02:26:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AD6C24B47; Fri, 8 Mar 2024 02:26:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b="dZdk38Zn" Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7FA3D24A0F for ; Fri, 8 Mar 2024 02:26:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=173.228.157.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709864799; cv=none; b=fOq3jtdVXFn6yc4IUhyGNZ54gSODPffsO4SlZ5Z1RmUzeMHbhK9Yzs/YqrEMvNiGrf3CZxyr6QZE9OEwK8MsPU53c5SsRnr4To3Ac6fb+OkBMO8Vgo9gDmxwrdotCvpzL0sSVTks7bBhZ0BgCS4dkvbuIxoA3lWa930VB1qJj9A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709864799; c=relaxed/simple; bh=t3dwawU8ZT9/k8xfwwspmtGa96yTwXi/LzqQVqh6v+I=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=iB8/J5yORwbfHCj2Csr7k4g7PoOmW19aqBEGWAlbDWTzhdFGQ8y0mEq3BLf4pjRjfW5o9NU87/JRgeWNtma+cGoX+yNbkptx+HXnB5a6cYY7iiB64o1wJE3loDmTlsI7Z0tLz4gm9tdS+UQ9g8/4XL6eDqe1bYEV3DI10PAhcm4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com; spf=pass smtp.mailfrom=pobox.com; dkim=pass (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b=dZdk38Zn; arc=none smtp.client-ip=173.228.157.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id DAC972B72F; Thu, 7 Mar 2024 21:26:29 -0500 (EST) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=sasl; bh=t3dwawU8ZT9/k8xfwwspmtGa9 6yTwXi/LzqQVqh6v+I=; b=dZdk38ZnxyZ3cqA4zrCp76oVMVBK6La6T3V550AOJ nrpax6jTY6TdiLZGvQjczaQikV/13fNXZ29/ISOL47xAxisjOI3PLqWiF4g9rJOH XteMWaO9stcfx5JtvPVF1P/PU6A/j80c7ASnltfpBXEJcDS1dWwXubVsv5wtDgW0 HI= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id D2F7F2B72E; Thu, 7 Mar 2024 21:26:29 -0500 (EST) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.125.185.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 53A702B72D; Thu, 7 Mar 2024 21:26:26 -0500 (EST) (envelope-from junio@pobox.com) From: Junio C Hamano To: git@vger.kernel.org Subject: What's cooking in git.git (Mar 2024, #02; Thu, 7) X-master-at: e09f1254c54329773904fe25d7c545a1fb4fa920 X-next-at: c1ea87d7ee147b4fd526f238b8e20889c532d10d Date: Thu, 07 Mar 2024 18:26:24 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Pobox-Relay-ID: 438D97EA-DCF3-11EE-B606-F515D2CDFF5E-77302942!pb-smtp20.pobox.com Content-Transfer-Encoding: quoted-printable 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). The 'maint' branch now points at the 2.44 maintenance track. 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-vcs/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'] * ak/rebase-autosquash (2024-02-27) 1 commit (merged to 'next' on 2024-03-01 at 57a34830b7) + rebase: fix typo in autosquash documentation Originally merged to 'next' on 2024-02-27 Typofix. source: * cc/rev-list-allow-missing-tips (2024-02-28) 5 commits (merged to 'next' on 2024-03-01 at fd7b109d04) + revision: fix --missing=3D[print|allow*] for annotated tags (merged to 'next' on 2024-03-01 at ac0fc94378) + rev-list: allow missing tips with --missing=3D[print|allow*] + t6022: fix 'test' style and 'even though' typo + oidset: refactor oidset_insert_from_set() + revision: clarify a 'return NULL' in get_reference() Originally merged to 'next' on 2024-02-28 "git rev-list --missing=3Dprint" has learned to optionally take "--allow-missing-tips", which allows the objects at the starting points to be missing. source: <20240214142513.4002639-1-christian.couder@gmail.com> * eg/add-uflags (2024-02-29) 1 commit (merged to 'next' on 2024-03-01 at 5dbc997561) + add: use unsigned type for collection of bits Originally merged to 'next' on 2024-02-29 Code clean-up practice. source: <20240229194444.8499-2-giganteeugenio2@gmail.com> * jc/doc-compat-util (2024-02-27) 1 commit (merged to 'next' on 2024-03-01 at 89b76c65d7) + doc: clarify the wording on requirement Originally merged to 'next' on 2024-02-27 Clarify wording in the CodingGuidelines that requires to be the first header file. source: * jc/no-include-of-compat-util-from-headers (2024-02-24) 1 commit (merged to 'next' on 2024-03-01 at ebb921087e) + compat: drop inclusion of Originally merged to 'next' on 2024-02-26 Header file clean-up. source: * jc/no-lazy-fetch (2024-02-27) 3 commits (merged to 'next' on 2024-03-01 at 14303cdbfe) + git: extend --no-lazy-fetch to work across subprocesses + git: document GIT_NO_REPLACE_OBJECTS environment variable + git: --no-lazy-fetch option Originally merged to 'next' on 2024-02-29 "git --no-lazy-fetch cmd" allows to run "cmd" while disabling lazy fetching of objects from the promisor remote, which may be handy for debugging. source: source: source: * jk/reflog-special-cases-fix (2024-02-26) 3 commits (merged to 'next' on 2024-03-01 at 2b67f6e668) + read_ref_at(): special-case ref@{0} for an empty reflog + get_oid_basic(): special-case ref@{n} for oldest reflog entry + Revert "refs: allow @{n} to work with n-sized reflog" Originally merged to 'next' on 2024-02-27 The logic to access reflog entries by date and number had ugly corner cases at the boundaries, which have been cleaned up. source: <20240226100010.GA1214708@coredump.intra.peff.net> * jk/textconv-cache-outside-repo-fix (2024-02-26) 1 commit (merged to 'next' on 2024-03-01 at 8508b83758) + userdiff: skip textconv caching when not in a repository Originally merged to 'next' on 2024-02-26 The code incorrectly attempted to use textconv cache when asked, even when we are not running in a repository, which has been corrected. source: <20240226102729.GB2685773@coredump.intra.peff.net> * jk/upload-pack-bounded-resources (2024-02-28) 9 commits (merged to 'next' on 2024-03-01 at b70b6f0913) + upload-pack: free tree buffers after parsing + upload-pack: use PARSE_OBJECT_SKIP_HASH_CHECK in more places + upload-pack: always turn off save_commit_buffer + upload-pack: disallow object-info capability by default + upload-pack: accept only a single packfile-uri line + upload-pack: use a strmap for want-ref lines + upload-pack: use oidset for deepen_not list + upload-pack: switch deepen-not list to an oid_array + upload-pack: drop separate v2 "haves" array Originally merged to 'next' on 2024-02-29 Various parts of upload-pack has been updated to bound the resource consumption relative to the size of the repository to protect from abusive clients. source: <20240228223700.GA1157826@coredump.intra.peff.net> * jk/upload-pack-v2-capability-cleanup (2024-02-29) 4 commits (merged to 'next' on 2024-03-01 at 2750893db7) + upload-pack: only accept packfile-uris if we advertised it + upload-pack: use existing config mechanism for advertisement + upload-pack: centralize setup of sideband-all config + upload-pack: use repository struct to get config Originally merged to 'next' on 2024-02-29 The upload-pack program, when talking over v2, accepted the packfile-uris protocol extension from the client, even if it did not advertise the capability, which has been corrected. source: <20240228224625.GA1158651@coredump.intra.peff.net> * js/merge-tree-3-trees (2024-02-23) 7 commits (merged to 'next' on 2024-03-01 at a75dc95f04) + fill_tree_descriptor(): mark error message for translation + cache-tree: avoid an unnecessary check + Always check `parse_tree*()`'s return value + t4301: verify that merge-tree fails on missing blob objects + merge-ort: do check `parse_tree()`'s return value + merge-tree: fail with a non-zero exit code on missing tree objects + merge-tree: accept 3 trees as arguments Originally merged to 'next' on 2024-02-28 "git merge-tree" has learned that the three trees involved in the 3-way merge only need to be trees, not necessarily commits. source: source: * js/remove-cruft-files (2024-02-26) 1 commit (merged to 'next' on 2024-03-01 at 63100a274b) + neue: remove a bogus empty file Originally merged to 'next' on 2024-02-26 Remove an empty file that shouldn't have been added in the first place. source: * jt/commit-redundant-scissors-fix (2024-02-27) 2 commits (merged to 'next' on 2024-03-01 at e5983498f1) + commit: unify logic to avoid multiple scissors lines when merging + commit: avoid redundant scissor line with --cleanup=3Dscissors -v Originally merged to 'next' on 2024-02-29 "git commit -v --cleanup=3Dscissors" used to add the scissors line twice in the log message buffer, which has been corrected. source: * kn/for-all-refs (2024-02-23) 6 commits (merged to 'next' on 2024-03-01 at 76a1297ace) + for-each-ref: add new option to include root refs + ref-filter: rename 'FILTER_REFS_ALL' to 'FILTER_REFS_REGULAR' + refs: introduce `refs_for_each_include_root_refs()` + refs: extract out `loose_fill_ref_dir_regular_file()` + refs: introduce `is_pseudoref()` and `is_headref()` + Merge branch 'ps/reftable-backend' into kn/for-all-refs Originally merged to 'next' on 2024-02-27 "git for-each-ref" learned "--include-root-refs" option to show even the stuff outside the 'refs/' hierarchy. source: <20240223100112.44127-1-karthik.188@gmail.com> * ml/log-merge-with-cherry-pick-and-other-pseudo-heads (2024-02-28) 2 com= mits (merged to 'next' on 2024-03-01 at 339111ec08) + revision: implement `git log --merge` also for rebase/cherry-pick/reve= rt + revision: ensure MERGE_HEAD is a ref in prepare_show_merge Originally merged to 'next' on 2024-02-29 "git log --merge" learned to pay attention to CHERRY_PICK_HEAD and other kinds of *_HEAD pseudorefs. source: <20240228-ml-log-merge-with-cherry-pick-and-other-pseudo-heads-v= 6-0-8ec34c052b39@gmail.com> * pb/ort-make-submodule-conflict-message-an-advice (2024-02-26) 1 commit (merged to 'next' on 2024-03-01 at df880cde2e) + merge-ort: turn submodule conflict suggestions into an advice Originally merged to 'next' on 2024-02-27 When a merge conflicted at a submodule, merge-ort backend used to unconditionally give a lengthy message to suggest how to resolve it. Now the message can be squelched as an advice message. source: * ps/reftable-repo-init-fix (2024-02-27) 2 commits (merged to 'next' on 2024-03-01 at abbf85051b) + refs/reftable: don't fail empty transactions in repo without HEAD + Merge branch 'ps/remote-helper-repo-initialization-fix' into ps/reftab= le-repo-init-fix (this branch uses ps/remote-helper-repo-initialization-fix.) Originally merged to 'next' on 2024-02-29 Clear the fallout from a fix for 2.44 regression. source: <95be968e10bd02c64448786e690bbefe5c082577.1709041721.git.ps@pks.= im> * ps/remote-helper-repo-initialization-fix (2024-02-27) 1 commit (merged to 'next' on 2024-03-01 at 7b79ffbd8f) + builtin/clone: allow remote helpers to detect repo (this branch is used by ps/reftable-repo-init-fix.) Originally merged to 'next' on 2024-02-29 A custom remote helper no longer cannot access the newly created repository during "git clone", which is a regression in Git 2.44. This has been corrected. source: <9d888adf92e9a8af7c18847219f97d3e595e3e36.1709041721.git.ps@pks.= im> * rs/fetch-simplify-with-starts-with (2024-02-26) 1 commit (merged to 'next' on 2024-03-01 at 000e015fff) + fetch: convert strncmp() with strlen() to starts_with() Originally merged to 'next' on 2024-02-27 Code simplification. source: * rs/name-rev-with-mempool (2024-02-26) 2 commits (merged to 'next' on 2024-03-01 at d53eac1836) + name-rev: use mem_pool_strfmt() + mem-pool: add mem_pool_strfmt() Originally merged to 'next' on 2024-02-27 Many small allocations "git name-rev" makes have been updated to allocate from a mem-pool. source: <20240225113947.89357-1-l.s.r@web.de> * rs/submodule-prefix-simplify (2024-02-26) 1 commit (merged to 'next' on 2024-03-01 at 05d4d90201) + submodule: use strvec_pushf() for --submodule-prefix Originally merged to 'next' on 2024-02-27 Code simplification. source: <8cd983fb-32b9-41c6-a9e7-a485b190488c@web.de> * sg/upload-pack-error-message-fix (2024-02-26) 1 commit (merged to 'next' on 2024-03-01 at b94664a7a0) + upload-pack: don't send null character in abort message to the client Originally merged to 'next' on 2024-02-27 An error message from "git upload-pack", which responds to "git fetch" requests, had a trialing NUL in it, which has been corrected. source: <20240225183452.1939334-1-szeder.dev@gmail.com> -------------------------------------------------- [New Topics] * ag/t0010-modernize (2024-03-05) 1 commit (merged to 'next' on 2024-03-07 at 38339abc2d) + tests: modernize the test script t0010-racy-git.sh GSoC practice to modernize a test script. Will merge to 'master'. source: * fs/find-end-of-log-message-fix (2024-03-07) 1 commit - wt-status: don't find scissors line beyond buf len The code to find the effective end of log message can fall into an endless loop, which has been corrected. Waiting for review response. source: <20240307183743.219951-1-flosch@nutanix.com> * hd/config-mak-os390 (2024-03-06) 1 commit (merged to 'next' on 2024-03-07 at 289d3ab691) + build: support z/OS (OS/390). Platform specific tweaks for OS/390 has been added to config.mak.uname. Will merge to 'master'. source: * jk/core-comment-string (2024-03-07) 15 commits - config: allow multi-byte core.commentChar - environment: drop comment_line_char compatibility macro - wt-status: drop custom comment-char stringification - sequencer: handle multi-byte comment characters when writing todo list - find multi-byte comment chars in unterminated buffers - find multi-byte comment chars in NUL-terminated strings - prefer comment_line_str to comment_line_char for printing - strbuf: accept a comment string for strbuf_add_commented_lines() - strbuf: accept a comment string for strbuf_commented_addf() - strbuf: accept a comment string for strbuf_stripspace() - environment: store comment_line_char as a string - strbuf: avoid shadowing global comment_line_char name - commit: refactor base-case of adjust_comment_line_char() - strbuf: avoid static variables in strbuf_add_commented_lines() - strbuf: simplify comment-handling in add_lines() helper core.commentChar used to be limited to a single byte, but has been updated to allow an arbitrary multi-byte sequence. Will merge to 'next'? source: <20240307091407.GA2072522@coredump.intra.peff.net> * jk/doc-remote-helpers-markup-fix (2024-03-07) 1 commit - doc/gitremote-helpers: fix missing single-quote Doc mark-up fix. Will merge to 'next'. source: <20240307084313.GA2072022@coredump.intra.peff.net> * js/build-fuzz-more-often (2024-03-05) 3 commits - SQUASH??? - 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. Comments? source: * kh/branch-ref-syntax-advice (2024-03-05) 5 commits (merged to 'next' on 2024-03-07 at 914f01967b) + branch: advise about ref syntax rules + advice: use double quotes for regular quoting + advice: use backticks for verbatim + advice: make all entries stylistically consistent + t3200: improve test style When git refuses to create a branch because the proposed branch name is not a valid refname, an advice message is given to refer the user to exact naming rules. Will merge to 'master'. source: * kh/doc-commentchar-is-a-byte (2024-03-05) 1 commit (merged to 'next' on 2024-03-06 at 5941655c04) + config: document `core.commentChar` as ASCII-only The "core.commentChar" configuration variable only allows an ASCII character, which was not clearly documented, which has been corrected. Will merge to 'master'. source: <9633f9be5ddd9ab3df4b79ee934e1ed47e90bd1d.1709656683.git.code@kh= augsbakk.name> * ps/reftable-block-search-fix (2024-03-07) 2 commits - reftable/block: fix binary search over restart counter - reftable/record: fix memory leak when decoding object records The reftable code has its own custom binary search function whose comparison callback has an unusual interface, which caused the binary search to degenerate into a linear search, which has been corrected. Will merge to 'next'? source: * ps/reftable-reflog-iteration-perf (2024-03-05) 8 commits - refs/reftable: track last log record name via strbuf - reftable/record: use scratch buffer when decoding records - reftable/record: reuse message when decoding log records - reftable/record: reuse refnames when decoding log records - reftable/record: avoid copying author info - reftable/record: convert old and new object IDs to arrays - refs/reftable: reload correct stack when creating reflog iter - Merge branch 'ps/reftable-iteration-perf-part2' into ps/reftable-reflo= g-iteration-perf (this branch uses ps/reftable-iteration-perf-part2.) The code to iterate over reflogs in the reftable has been optimized to reduce memory allocation and deallocation. Needs review. source: * sj/userdiff-c-sharp (2024-03-06) 1 commit - userdiff: better method/property matching for C# The userdiff patterns for C# has been updated. Needs review. source: -------------------------------------------------- [Cooking] * es/config-doc-sort-sections (2024-02-29) 1 commit (merged to 'next' on 2024-03-04 at 0752144ed7) + docs: sort configuration variable groupings alphabetically Doc updates. Will merge to 'master'. source: <20240229190229.20222-1-ericsunshine@charter.net> * kh/doc-dashed-commands-have-not-worked-for-a-long-time (2024-03-01) 1 c= ommit (merged to 'next' on 2024-03-04 at 7e070c67f9) + gitcli: drop mention of =E2=80=9Cnon-dashed form=E2=80=9D Doc update. Will merge to 'master'. source: <5b34bc4e22816f7f19bd26c15a08fe4c749b72f8.1709316230.git.code@kh= augsbakk.name> * jc/xwrite-cleanup (2024-03-02) 3 commits (merged to 'next' on 2024-03-07 at 43e66f7e4d) + repack: check error writing to pack-objects subprocess + sideband: avoid short write(2) + unpack: replace xwrite() loop with write_in_full() Uses of xwrite() helper have been audited and updated for better error checking and simpler code. Will merge to 'master'. source: <20240302190348.3946569-1-gitster@pobox.com> * jc/test-i18ngrep (2024-03-02) 1 commit (merged to 'next' on 2024-03-06 at 2c57ebc706) + test_i18ngrep: hard deprecate and forbid its use With release 2.44 we got rid of all uses of test_i18ngrep and there is no in-flight topic that adds a new use of it. Make a call to test_i18ngrep a hard failure, so that we can remove it at the end of this release cycle. Will merge to 'master'. source: * gt/core-bare-in-templates (2024-03-04) 1 commit (merged to 'next' on 2024-03-06 at e54ac5acf9) + setup: remove unnecessary variable Code simplification. Will merge to 'master'. source: <20240304151811.511780-1-shyamthakkar001@gmail.com> * so/clean-dry-run-without-force (2024-03-04) 2 commits (merged to 'next' on 2024-03-06 at ccf2e123be) + clean: further clean-up of implementation around "--force" + clean: improve -n and -f implementation and documentation The implementation in "git clean" that makes "-n" and "-i" ignore clean.requireForce has been simplified, together with the documentation. Will merge to 'master'. source: <87le6ziqzb.fsf_-_@osv.gnss.ru> source: <20240303220600.2491792-1-gitster@pobox.com> * jh/trace2-missing-def-param-fix (2024-03-07) 3 commits - trace2: emit 'def_param' set with 'cmd_name' event - trace2: avoid emitting 'def_param' set more than once - t0211: demonstrate missing 'def_param' events for certain commands Some trace2 events that lacked def_param have learned to show it, enriching the output. Reviewed-by: Josh Steadmon cf. Will merge to 'next'. source: * ps/reftable-stack-tempfile (2024-03-07) 4 commits - reftable/stack: register compacted tables as tempfiles - reftable/stack: register lockfiles during compaction - reftable/stack: register new tables as tempfiles - lockfile: report when rollback fails The code in reftable backend that creates new table files works better with the tempfile framework to avoid leaving cruft after a failure. Will merge to 'next'? source: * rs/opt-parse-long-fixups (2024-03-03) 6 commits - parse-options: rearrange long_name matching code - parse-options: normalize arg and long_name before comparison - parse-options: detect ambiguous self-negation - parse-options: factor out register_abbrev() and struct parsed_option - parse-options: set arg of abbreviated option lazily - parse-options: recognize abbreviated negated option with arg The parse-options code that deals with abbreviated long option names have been cleaned up. Needs review. source: <20240303121944.20627-1-l.s.r@web.de> * sj/t9117-path-is-file (2024-03-04) 1 commit (merged to 'next' on 2024-03-04 at de5f6a74cb) + t9117: prefer test_path_* helper functions GSoC practice to replace "test -f" with "test_path_is_file". Will merge to 'master'. source: <20240304095436.56399-2-shejialuo@gmail.com> * vm/t7301-use-test-path-helpers (2024-03-06) 1 commit (merged to 'next' on 2024-03-07 at e638654635) + t7301: use test_path_is_(missing|file) GSoC practice to replace "test -f" with "test_path_is_file". Will merge to 'master'. source: <20240304171732.64457-2-vincenzo.mezzela@gmail.com> * 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: * js/merge-base-with-missing-commit (2024-02-29) 11 commits (merged to 'next' on 2024-03-01 at 3e3eabaee9) + commit-reach(repo_get_merge_bases_many_dirty): pass on errors + commit-reach(repo_get_merge_bases_many): pass on "missing commits" err= ors + commit-reach(get_octopus_merge_bases): pass on "missing commits" error= s + commit-reach(repo_get_merge_bases): pass on "missing commits" errors + commit-reach(get_merge_bases_many_0): pass on "missing commits" errors + commit-reach(merge_bases_many): pass on "missing commits" errors + commit-reach(paint_down_to_common): start reporting errors + commit-reach(paint_down_to_common): prepare for handling shallow commi= ts + commit-reach(repo_in_merge_bases_many): report missing commits + commit-reach(repo_in_merge_bases_many): optionally expect missing comm= its + commit-reach(paint_down_to_common): plug two memory leaks Originally merged to 'next' on 2024-02-29 Make sure failure return from merge_bases_many() is properly caught. Needs an incremental fix-up. cf.<20240301065805.GB2680308@coredump.intra.peff.net> source: * rj/complete-worktree-paths-fix (2024-02-27) 1 commit (merged to 'next' on 2024-03-06 at b6ba949383) + completion: fix __git_complete_worktree_paths The logic to complete the command line arguments to "git worktree" subcommand (in contrib/) has been updated to correctly honor things like "git -C dir" etc. Will merge to 'master'. source: * rs/t-ctype-simplify (2024-03-03) 4 commits (merged to 'next' on 2024-03-04 at 9bd84a8877) + t-ctype: avoid duplicating class names + t-ctype: align output of i + t-ctype: simplify EOF check + t-ctype: allow NUL anywhere in the specification string Code simplification to one unit-test program. Will merge to 'master'. source: <20240303101330.20187-1-l.s.r@web.de> * pw/rebase-i-ignore-cherry-pick-help-environment (2024-02-27) 1 commit - rebase -i: stop setting GIT_CHERRY_PICK_HELP Code simplification by getting rid of code that sets an environment variable that is no longer used. Will merge to 'next'. source: * as/option-names-in-messages (2024-03-05) 4 commits (merged to 'next' on 2024-03-07 at 73ab51faba) + revision.c: trivial fix to message + builtin/clone.c: trivial fix of message + builtin/remote.c: trivial fix of error message + transport-helper.c: trivial fix of error message Error message updates. Will merge to 'master'. source: <20240216101647.28837-1-ash@kambanaria.org> * jh/fsmonitor-icase-corner-case-fix (2024-03-06) 14 commits (merged to 'next' on 2024-03-06 at 356eafea7e) + fsmonitor: support case-insensitive events + fsmonitor: refactor bit invalidation in refresh callback + fsmonitor: trace the new invalidated cache-entry count + fsmonitor: return invalidated cache-entry count on non-directory event + fsmonitor: remove custom loop from non-directory path handler + fsmonitor: return invalidated cache-entry count on directory event + fsmonitor: move untracked-cache invalidation into helper functions + fsmonitor: refactor untracked-cache invalidation + dir: create untracked_cache_invalidate_trimmed_path() + fsmonitor: refactor refresh callback for non-directory events + fsmonitor: clarify handling of directory events in callback helper + fsmonitor: refactor refresh callback on directory events + t7527: add case-insensitve test for FSMonitor + name-hash: add index_dir_find() FSMonitor client code was confused when FSEvents were given in a different case on a case-insensitive filesystem, which has been corrected. Acked-by: Patrick Steinhardt cf. Will merge to 'master'. source: * ps/reftable-iteration-perf-part2 (2024-03-04) 13 commits (merged to 'next' on 2024-03-06 at e8ba314585) + refs/reftable: precompute prefix length + reftable: allow inlining of a few functions + reftable/record: decode keys in place + reftable/record: reuse refname when copying + reftable/record: reuse refname when decoding + reftable/merged: avoid duplicate pqueue emptiness check + reftable/merged: circumvent pqueue with single subiter + reftable/merged: handle subiter cleanup on close only + reftable/merged: remove unnecessary null check for subiters + reftable/merged: make subiters own their records + reftable/merged: advance subiter on subsequent iteration + reftable/merged: make `merged_iter` structure private + reftable/pq: use `size_t` to track iterator index (this branch is used by ps/reftable-reflog-iteration-perf.) The code to iterate over refs with the reftable backend has seen some optimization. Will merge to 'master'. source: * 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: * 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: * rj/complete-reflog (2024-03-03) 5 commits (merged to 'next' on 2024-03-06 at 0f1a25debc) + completion: reflog subcommands and options + completion: factor out __git_resolve_builtins + completion: introduce __git_find_subcommand + completion: reflog show + completion: reflog with implicit "show" The command line completion script (in contrib/) learned to complete "git reflog" better. Will merge to 'master'. source: * 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. <40c3a824-a961-490b-94d4-4eb23c8f713d@gmail.com> cf. <6683f24e-7e56-489d-be2d-8afe1fc38d2b@gmail.com> source: * 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. source: * la/trailer-api (2024-03-01) 9 commits (merged to 'next' on 2024-03-06 at f119923ff6) + format_trailers_from_commit(): indirectly call trailer_info_get() + format_trailer_info(): move "fast path" to caller + format_trailers(): use strbuf instead of FILE + trailer_info_get(): reorder parameters + trailer: move interpret_trailers() to interpret-trailers.c + trailer: reorder format_trailers_from_commit() parameters + trailer: rename functions to use 'trailer' + shortlog: add test for de-duplicating folded trailers + trailer: free trailer_info _after_ all related usage Trailer API updates. Acked-by: Christian Couder cf. Will merge to 'master'. source: * 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. source: * eb/hash-transition (2023-10-02) 30 commits - t1016-compatObjectFormat: add tests to verify the conversion between o= bjects - t1006: test oid compatibility with cat-file - t1006: rename sha1 to oid - test-lib: compute the compatibility hash so tests may use it - builtin/ls-tree: let the oid determine the output algorithm - object-file: handle compat objects in check_object_signature - tree-walk: init_tree_desc take an oid to get the hash algorithm - builtin/cat-file: let the oid determine the output algorithm - rev-parse: add an --output-object-format parameter - repository: implement extensions.compatObjectFormat - object-file: update object_info_extended to reencode objects - object-file-convert: convert commits that embed signed tags - object-file-convert: convert commit objects when writing - object-file-convert: don't leak when converting tag objects - object-file-convert: convert tag objects when writing - object-file-convert: add a function to convert trees between algorithm= s - object: factor out parse_mode out of fast-import and tree-walk into in= object.h - cache: add a function to read an OID of a specific algorithm - tag: sign both hashes - commit: export add_header_signature to support handling signatures on = tags - commit: convert mergetag before computing the signature of a commit - commit: write commits for both hashes - object-file: add a compat_oid_in parameter to write_object_file_flags - object-file: update the loose object map when writing loose objects - loose: compatibilty short name support - loose: add a mapping between SHA-1 and SHA-256 for loose objects - repository: add a compatibility hash algorithm - object-names: support input of oids in any supported hash - oid-array: teach oid-array to handle multiple kinds of oids - object-file-convert: stubs for converting from one object format to an= other Teach a repository to work with both SHA-1 and SHA-256 hash algorithms. Will merge to and cook in 'next'. cf. source: <878r8l929e.fsf@gmail.froward.int.ebiederm.org> * 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: <20230824205456.1231371-1-gitster@pobox.com>