From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01C04C4332F for ; Mon, 17 Oct 2022 23:07:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231224AbiJQXHm (ORCPT ); Mon, 17 Oct 2022 19:07:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231174AbiJQXHZ (ORCPT ); Mon, 17 Oct 2022 19:07:25 -0400 Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6556C10570 for ; Mon, 17 Oct 2022 16:07:02 -0700 (PDT) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 6C49B1B47F9; Mon, 17 Oct 2022 19:05:45 -0400 (EDT) (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; s=sasl; bh=T Us2LcyI0XXMfwOPBlaPmFs6tOc6BWqlYRQ2RYkl86o=; b=XJAtPchtDxmvsSHSr C4o+X8SO/OsBtj8ZgUthyJVnmz+Ywd2mK5oA/n/+nOeFbukWi477QTTnfais0Vmh NzcBPWIhB4NTZzwC1rmqv85o0cL3EUl3pejTmWGhuH12b+Es4P+lvMF63UdMLWZz EpcjqvI9Z5SLMkc0yox8jDxVdA= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 641AF1B47F7; Mon, 17 Oct 2022 19:05:45 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.83.5.33]) (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 87DCA1B47C6; Mon, 17 Oct 2022 19:05:42 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: git@vger.kernel.org Subject: What's cooking in git.git (Oct 2022, #05; Mon, 17) X-master-at: 4732897cf0a255a23dca9e97b65cea40cd06c5a8 X-next-at: dd413c855b302a56aeac19873e6e9185f4eb5395 Date: Mon, 17 Oct 2022 16:05:41 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 39764292-4E70-11ED-BFA8-C2DA088D43B2-77302942!pb-smtp20.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org 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. A topic without enough support may be discarded after a long period of no activity. Some topics outside 'next' have been expecting updates for too long and we may want to discard them, unless they see some activities. 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'] * ab/unused-annotation (2022-10-05) 1 commit (merged to 'next' on 2022-10-11 at c3099ad3ab) + git-compat-util.h: GCC deprecated message arg only in GCC 4.5+ Compilation fix for ancient compilers. source: <20221005221928.703750-1-asedeno@google.com> * dd/document-runtime-prefix-better (2022-10-05) 1 commit (merged to 'next' on 2022-10-11 at 9f4a3bb7bd) + Makefile: clarify runtime relative gitexecdir Update comment in the Makefile about the RUNTIME_PREFIX config knob. source: <20221006013205.15015-1-congdanhqx@gmail.com> * ed/fsmonitor-on-networked-macos (2022-10-10) 7 commits (merged to 'next' on 2022-10-11 at 32076d13b7) + fsmonitor: fix leak of warning message + fsmonitor: add documentation for allowRemote and socketDir options + fsmonitor: check for compatability before communicating with fsmonitor + fsmonitor: deal with synthetic firmlinks on macOS + fsmonitor: avoid socket location check if using hook + fsmonitor: relocate socket file if .git directory is remote + fsmonitor: refactor filesystem checks to common interface (this branch is used by ed/fsmonitor-inotify.) By default, use of fsmonitor on a repository on networked filesystem is disabled. Add knobs to make it workable on macOS. source: * jc/branch-description-unset (2022-09-30) 1 commit (merged to 'next' on 2022-10-11 at 3f81ee978b) + branch: do not fail a no-op --edit-desc "GIT_EDITOR=: git branch --edit-description" resulted in failure, which has been corrected. source: * jc/tmp-objdir (2022-09-30) 1 commit (merged to 'next' on 2022-10-11 at 17d0843c43) + tmp-objdir: skip clean up when handling a signal The code to clean temporary object directories (used for quarantine) tried to remove them inside its signal handler, which was a no-no. source: * jc/use-of-uc-in-log-messages (2022-10-07) 1 commit (merged to 'next' on 2022-10-11 at 0b8c91d7e2) + SubmittingPatches: use usual capitalization in the log message body Clarify that "the sentence after : prefix does not begin with a capital letter" rule applies only to the commit title. source: * jk/cleanup-callback-parameters (2022-10-06) 4 commits (merged to 'next' on 2022-10-11 at a3350d66b6) + attr: drop DEBUG_ATTR code + commit: avoid writing to global in option callback + multi-pack-index: avoid writing to global in option callback + test-submodule: inline resolve_relative_url() function Code clean-up. source: source: * jt/promisor-remote-fetch-tweak (2022-10-05) 2 commits (merged to 'next' on 2022-10-11 at e93567bc8f) + promisor-remote: die upon failing fetch + promisor-remote: remove a return value Remove error detection from a function that fetches from promisor remotes, and make it die when such a fetch fails to bring all the requested objects, to give an early failure to various operations. source: * pw/remove-rebase-p-test (2022-10-10) 1 commit (merged to 'next' on 2022-10-11 at 000bd34796) + t3435: remove redundant test case Remove outdated test. source: * rj/branch-edit-desc-unborn (2022-10-07) 1 commit (merged to 'next' on 2022-10-11 at de3eccde7c) + branch: description for non-existent branch errors "git branch --edit-description" on an unborh branch misleadingly said that no such branch exists, which has been corrected. source: <8d627a2c-923f-181f-a03b-15f370c4dd0f@gmail.com> * rs/bisect-start-leakfix (2022-10-07) 1 commit (merged to 'next' on 2022-10-11 at 07f87534c1) + bisect--helper: plug strvec leak Code clean-up that results in plugging a leak. source: <1965b54b-122a-c965-f886-1a7dd6afbfb4@web.de> * rs/use-fspathncmp (2022-10-08) 1 commit (merged to 'next' on 2022-10-11 at 11cbd1ce81) + dir: use fspathncmp() in pl_hashmap_cmp() Code clean-up. source: -------------------------------------------------- [New Topics] * gc/bare-repo-discovery (2022-10-13) 1 commit (merged to 'next' on 2022-10-17 at 3de2be7c14) + config: respect includes in protected config Allow configuration files in "protected" scopes to include other configuration files. Will merge to 'master'. source: * jh/trace2-timers-and-counters (2022-10-13) 7 commits - trace2: add global counter mechanism - trace2: add stopwatch timers - trace2: convert ctx.thread_name from strbuf to pointer - trace2: rename the thread_name argument to trace2_thread_start - api-trace2.txt: elminate section describing the public trace2 API - tr2tls: clarify TLS terminology - trace2: use size_t alloc,nr_open_regions in tr2tls_thread_ctx Two new facilities, "timer" and "counter", are introduced to the trace2 API. source: * tb/midx-bitmap-selection-fix (2022-10-13) 4 commits - pack-bitmap-write.c: instrument number of reused bitmaps - midx.c: instrument MIDX and bitmap generation with trace2 regions - midx.c: consider annotated tags during bitmap selection - midx.c: fix whitespace typo A bugfix with tracing support in midx codepath Will merge to 'next'. source: * tb/remove-unused-pack-bitmap (2022-10-13) 1 commit - builtin/repack.c: remove redundant pack-based bitmaps When creating a multi-pack bitmap, remove per-pack bitmap files unconditionally as they will never be consulted. Will merge to 'next'? source: <393fd4c6db78cd694e6d4dfcf24f17e2850ccd99.1665601403.git.me@ttaylorr.com> * nw/t1002-cleanup (2022-10-14) 1 commit - t1002: modernize outdated conditional source: * zh/patch-id (2022-10-14) 7 commits - documentation: format-patch: clarify requirements for patch-ids to match - builtin: patch-id: remove unused diff-tree prefix - builtin: patch-id: add --include-whitespace as a command mode - patch-id: fix patch-id for mode changes - builtin: patch-id: fix patch-id with binary diffs - patch-id: use stable patch-id for rebases - patch-id: fix stable patch id for binary / header-only source: * hl/archive-recursive (2022-10-16) 9 commits - archive: add tests for git archive --recurse-submodules - archive: add --recurse-submodules to git-archive command - archive: remove global repository from archive_args - archive: pass repo objects to write_archive handlers - tree: add repository parameter to read_tree_fn_t - tree: handle submodule case for read_tree_at properly - tree: increase test coverage for tree.c - tree: update cases to use repo_ tree methods - tree: do not use the_repository for tree traversal methods. source: -------------------------------------------------- [Stalled] * ag/merge-strategies-in-c (2022-08-10) 14 commits - sequencer: use the "octopus" strategy without forking - sequencer: use the "resolve" strategy without forking - merge: use the "octopus" strategy without forking - merge: use the "resolve" strategy without forking - merge-octopus: rewrite in C - merge-recursive: move better_branch_name() to merge.c - merge-resolve: rewrite in C - merge-one-file: rewrite in C - update-index: move add_cacheinfo() to read-cache.c - merge-index: add a new way to invoke `git-merge-one-file' - merge-index: drop the index - merge-index: libify merge_one_path() and merge_all() - t6060: add tests for removed files - t6060: modify multiple files to expose a possible issue with merge-index An attempt to rewrite remaining merge strategies from shell to C. Needs more work. At the minimum, we should lose 11/14 and possibly 08/14. cf. source: <20220809185429.20098-1-alban.gruin@gmail.com> * po/glossary-around-traversal (2022-07-09) 3 commits - glossary: add reachability bitmap description - glossary: add commit graph description - glossary: add Object DataBase (ODB) abbreviation The glossary entries for "commit-graph file" and "reachability bitmap" have been added. Expecting a reroll. cf. source: * js/cmake-updates (2022-08-24) 5 commits - cmake: increase time-out for a long-running test - cmake: avoid editing t/test-lib.sh - add -p: avoid ambiguous signed/unsigned comparison - cmake: copy the merge tools for testing - cmake: make it easier to diagnose regressions in CTest runs Update to build procedure with VS using CMake/CTest. Expecting a reroll. cf. <3df77ffd-85a2-3a54-9005-34a24ec6e82d@github.com> cf. <531620e1-de4c-74aa-c840-c12ce81f8740@github.com> and others source: * gc/submodule-clone-update-with-branches (2022-08-29) 6 commits - clone, submodule update: check out branches - submodule--helper: refactor up-to-date criterion - submodule: return target of submodule symref - t5617: drop references to remote-tracking branches - repo-settings: add submodule_propagate_branches - clone: teach --detach option "git clone --recurse-submodules" and "git submodule update" learns to honor the "propagete branches" option. Expecting a reroll. cf. <20220901200047.515294-1-jonathantanmy@google.com> and others source: * tb/diffstat-with-utf8-strwidth (2022-09-14) 1 commit - diff.c: use utf8_strwidth() to count display width "git diff --stat" etc. were invented back when everything was ASCII and strlen() was a way to measure the display width of a string; adjust them to compute the display width assuming UTF-8 pathnames. Expecting a reroll. source: <20220914151333.3309-1-tboegi@web.de> * mj/credential-helper-auth-headers (2022-09-13) 8 commits - http: set specific auth scheme depending on credential - http: move proactive auth to first slot creation - http: store all request headers on active_request_slot - credential: add WWW-Authenticate header to cred requests - http: read HTTP WWW-Authenticate response headers - osxkeychain: clarify that we ignore unknown lines - netrc: ignore unknown lines (do not die) - wincred: ignore unknown lines (do not die) Extending credential helper protocol. Expecting a reroll. A separate non-RFC submission of the first three is expected. cf. source: * cw/submodule-status-in-parallel (2022-09-23) 4 commits . diff-lib: parallelize run_diff_files for submodules . diff-lib: refactor functions . submodule: move status parsing into function . run-command: add pipe_output to run_processes_parallel Allow the internal "diff-files" engine to run "how has this submodule changed?" in parallel to speed up "git status". Breaks its self check. cf. https://github.com/git/git/actions/runs/3115673002/jobs/5052804463 source: <20220922232947.631309-1-calvinwan@google.com> * es/mark-gc-cruft-as-experimental (2022-08-03) 2 commits - config: let feature.experimental imply gc.cruftPacks=true - gc: add tests for --cruft and friends Enable gc.cruftpacks by default for those who opt into feature.experimental setting. Expecting a reroll. cf. <220804.86a68ke9d5.gmgdl@evledraar.gmail.com> cf. <6803b725-526e-a1c8-f15c-a9ed4a144d4c@github.com> source: <20220803205721.3686361-1-emilyshaffer@google.com> * es/doc-creation-factor-fix (2022-07-28) 2 commits - range-diff: clarify --creation-factor= - format-patch: clarify --creation-factor= Expecting a reroll by somebody more familiar with the logic cf. source: <7229p500-p2r4-on87-6802-8o90s36rr3s4@tzk.qr> * cw/remote-object-info (2022-08-13) 7 commits . SQUASH??? . cat-file: add remote-object-info to batch-command . transport: add client support for object-info . serve: advertise object-info feature . protocol-caps: initialization bug fix . fetch-pack: move fetch initialization . fetch-pack: refactor packet writing A client component to talk with the object-info endpoint. Expecting a reroll. Under SANITIZE=address, t1006-cat-file.sh finds a breakage. cf. <20220728230210.2952731-1-calvinwan@google.com> cf. source: <20220728230210.2952731-1-calvinwan@google.com> -------------------------------------------------- [Cooking] * pw/rebase-keep-base-fixes (2022-10-17) 8 commits - rebase --keep-base: imply --no-fork-point - rebase --keep-base: imply --reapply-cherry-picks - rebase: factor out branch_base calculation - rebase: rename merge_base to branch_base - rebase: store orig_head as a commit - rebase: be stricter when reading state files containing oids - t3416: set $EDITOR in subshell - t3416: tighten two tests (this branch is used by pw/rebase-reflog-fixes.) "git rebase --keep-base" used to discard the commits that are already cherry-picked to the upstream, even when "keep-base" meant that the base, on top of which the history is being rebuilt, does not yet include these cherry-picked commits. The --keep-base option now implies --reapply-cherry-picks and --no-fork-point options. Will merge to 'next'?? source: * ab/grep-simplify-extended-expression (2022-10-11) 1 commit (merged to 'next' on 2022-10-13 at 07993f09bc) + grep.c: remove "extended" in favor of "pattern_expression", fix segfault Giving "--invert-grep" and "--all-match" without "--grep" to the "git log" command resulted in an attempt to access grep pattern expression structure that has not been allocated, which has been corrected. Will merge to 'master'. source: * rs/archive-dedup-printf (2022-10-11) 1 commit (merged to 'next' on 2022-10-13 at af770cf00f) + archive: deduplicate verbose printing Code simplification. Will merge to 'master'. source: * pw/rebase-reflog-fixes (2022-10-17) 9 commits - rebase: cleanup action handling - rebase --abort: improve reflog message - rebase --apply: make reflog messages match rebase --merge - rebase --apply: respect GIT_REFLOG_ACTION - rebase --merge: fix reflog message after skipping - rebase --merge: fix reflog when continuing - t3406: rework rebase reflog tests - rebase --apply: remove duplicated code - Merge branch 'pw/rebase-keep-base-fixes' into pw/rebase-reflog-fixes (this branch uses pw/rebase-keep-base-fixes.) Fix some bugs in the reflog messages when rebasing and changes the reflog messages of "rebase --apply" to match "rebase --merge" with the aim of making the reflog easier to parse. Will merge to 'next'?? source: * sd/doc-smtp-encryption (2022-10-12) 1 commit - docs: git-send-email: difference between ssl and tls smtp-encryption Expecting a reroll?? cf. <19e5b678-6014-d783-347f-9169371aaa09@iee.email> source: <20221012150619.12877-1-sndanailov@wired4ever.net> * ab/coding-guidelines-c99 (2022-10-11) 5 commits (merged to 'next' on 2022-10-13 at c6b2b74dfb) + CodingGuidelines: recommend against unportable C99 struct syntax + CodingGuidelines: mention C99 features we can't use + CodingGuidelines: allow declaring variables in for loops + CodingGuidelines: mention dynamic C99 initializer elements + CodingGuidelines: update for C99 Update CodingGuidelines to clarify what features to use and avoid in C99. Will merge to 'master'. source: <20221010203800.2154698-1-gitster@pobox.com> * jc/symbolic-ref-no-recurse (2022-10-09) 1 commit (merged to 'next' on 2022-10-13 at 532a3f6a5f) + symbolic-ref: teach "--[no-]recurse" option After checking out a "branch" that is a symbolic-ref that points at another branch, "git symbolic-ref HEAD" reports the underlying branch, not the symbolic-ref the user gave checkout as argument. The command learned the "--no-recurse" option to stop after dereferencing a symbolic-ref only once. Will merge to 'master'. source: * ds/cmd-main-reorder (2022-10-08) 1 commit (merged to 'next' on 2022-10-14 at d7f07dbecf) + git.c: improve code readability in cmd_main() Code clean-up. Will merge to 'master'. source: * ed/fsmonitor-inotify (2022-10-14) 7 commits - fsmonitor: update doc for Linux - fsmonitor: test updates - fsmonitor: enable fsmonitor for Linux - fsmonitor: implement filesystem change listener for Linux - fsmonitor: determine if filesystem is local or remote - fsmonitor: prepare to share code between Mac OS and Linux - Merge branch 'ed/fsmonitor-on-networked-macos' into ed/fsmonitor-inotify Bundled fsmonitor for Linux using inotify API. Needs review. Occasional breakages of t7527.16? source: * en/sparse-checkout-design (2022-10-08) 1 commit - sparse-checkout.txt: new document with sparse-checkout directions Design doc. Needs review. source: * jc/more-sanitizer-at-ci (2022-10-11) 1 commit - ci: add address and undefined sanitizer tasks Enable address and undefined sanitizer tasks at GitHub Actions CI. With this p4 tests seem to die with the server side going away. source: * jh/struct-zero-init-with-older-clang (2022-10-10) 1 commit (merged to 'next' on 2022-10-13 at 393abc3019) + config.mak.dev: disable suggest braces error on old clang versions Work around older clang that warns against C99 zero initialization syntax for struct. Will merge to 'master'. source: * od/ci-use-checkout-v3-when-applicable (2022-10-10) 2 commits . ci(main): linux32 uses actions/checkout@v2 . ci(main): upgrade actions/checkout to v3 Attempt to update GitHub CI to use actions/checkout@v3 Expecting a reroll. Seems to break the CI completely. source: * ab/run-hook-api-cleanup (2022-10-12) 15 commits - run-command.c: remove "max_processes", add "const" to signal() handler - run-command.c: pass "opts" further down, and use "opts->processes" - run-command.c: use "opts->processes", not "pp->max_processes" - run-command.c: don't copy "data" to "struct parallel_processes" - run-command.c: don't copy "ungroup" to "struct parallel_processes" - run-command.c: don't copy *_fn to "struct parallel_processes" - run-command.c: make "struct parallel_processes" const if possible - run-command API: move *_tr2() users to "run_processes_parallel()" - run-command API: have run_process_parallel() take an "opts" struct - run-command.c: use designated init for pp_init(), add "const" - run-command API: don't fall back on online_cpus() - run-command API: make "n" parameter a "size_t" - run-command tests: use "return", not "exit" - run-command API: have "run_processes_parallel{,_tr2}()" return void - run-command test helper: use "else if" pattern Move a global variable added as a hack during regression fixes to its proper place in the API. Will merge to 'next'. source: * pw/test-todo (2022-10-06) 3 commits - test_todo: allow [verbose] test as the command - test_todo: allow [!] grep as the command - tests: add test_todo() to mark known breakages RFC for test framework improvement. Needs review. source: * rj/branch-edit-description-with-nth-checkout (2022-10-10) 1 commit (merged to 'next' on 2022-10-14 at 90850a2211) + branch: support for shortcuts like @{-1}, completed "git branch --edit-description @{-1}" is now a way to edit branch description of the branch you were on before switching to the current branch. Will merge to 'master'. source: * rs/diff-caret-bang-with-parents (2022-10-01) 3 commits (merged to 'next' on 2022-10-17 at 24609eb777) + diff: support ^! for merges + revisions.txt: unspecify order of resolved parts of ^! + revision: use strtol_i() for exclude_parent "git diff rev^!" did not show combined diff to go to the rev from its parents. Will merge to 'master'. source: <16c49d20-cafc-4b48-3c6b-e11c74c29abb@web.de> * ab/doc-synopsis-and-cmd-usage (2022-10-13) 34 commits - tests: assert consistent whitespace in -h output - tests: start asserting that *.txt SYNOPSIS matches -h output - doc txt & -h consistency: make "worktree" consistent - worktree: define subcommand -h in terms of command -h - reflog doc: list real subcommands up-front - doc txt & -h consistency: make "commit" consistent - doc txt & -h consistency: make "diff-tree" consistent - doc txt & -h consistency: use "[