From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id A14831F910 for ; Tue, 29 Nov 2022 09:40:22 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bjHCWrqy"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230311AbiK2JkI (ORCPT ); Tue, 29 Nov 2022 04:40:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229818AbiK2JkG (ORCPT ); Tue, 29 Nov 2022 04:40:06 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF06763B0 for ; Tue, 29 Nov 2022 01:40:03 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id j12so12854965plj.5 for ; Tue, 29 Nov 2022 01:40:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from:sender:from :to:cc:subject:date:message-id:reply-to; bh=6/bYNdaRLdRTyX9Ry03nbKZOYGYIt7NGXZ8nQWwbW6Q=; b=bjHCWrqysIcQjKKiRjt63K9tt8YLxzRicY0ZCOF8gLy/kmzKEdM2GShWYeH1L03Jrx dY6j6qQkfU2euBWS+OoVGcNbdyE2t7DUmcrNhr8qclGMgdkZUw3MNANyQ+iaiZNS+bNw w9QoyTIg6ez9C6YGbPZoVEo+0uZYXQmLEk9jhdKWHq39xBpnBizzlw5+8OmTbjPP2WdZ heFP9x1E7S/uZPb2VAW7f0XZqpxaO0m8nR1wXsbz+Fxwv0g5xBmS8d/HaWJYGXrWFB6Q 5du903sKf0ye2Hc9CwyMNRzvzOa9uMOCf8gP2lx7zq1O/Q3aSNQBXkCO5v4aQzuxmyxB //6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6/bYNdaRLdRTyX9Ry03nbKZOYGYIt7NGXZ8nQWwbW6Q=; b=EBDzMvXeYFX8xq4I+uvhV4La7STer8LErPjR8Jq/CnpdJqYTIj2viH6x/0nE/5yrtJ Yy5aFIBgxajcDnk+kbMJLic2umddbZL5qZvyf7/upR8jFe+gdmOY0JnJhTRa8fVNKW6Q Dr+iw0dWvC6Lqr1pIOnO2H1dIjSsje1fywIdiD/pGmyWLzAM2uKVR1wOK9H7LSvw1iCZ s91tiNPJNVcjMykCnM6tIv5Sbo47Ac2DRE66oQpYGuJfhHfl4G2xdfeFmNYtDZwpVWxd iN0maAq42qJ4EPDvbb3twy4kqsvgLnTeiXdRD+4xwRBAAKQLTk6wwkB310x+hurIl+mJ 3XxQ== X-Gm-Message-State: ANoB5pmcLt4wfDNVRQuc2YiZ0xaR4RtP5uNcXWvBePth5JoPb6OpwKBk 0YFMQJ/v2UHkp4GzJUiS39F6PgtNIXl6CA== X-Google-Smtp-Source: AA0mqf64AqqtrPy2guguIr6jE4C9OR7z+gHd8KwhzQ4ckJs9G5ephMex5MPuJoFMf+wz/U7icrNgzA== X-Received: by 2002:a17:902:a40a:b0:176:d59e:3aa with SMTP id p10-20020a170902a40a00b00176d59e03aamr35707872plq.31.1669714802319; Tue, 29 Nov 2022 01:40:02 -0800 (PST) Received: from localhost (33.5.83.34.bc.googleusercontent.com. [34.83.5.33]) by smtp.gmail.com with ESMTPSA id k9-20020aa79d09000000b00574de4a2fbasm6237424pfp.196.2022.11.29.01.40.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 01:40:01 -0800 (PST) Sender: Junio C Hamano From: Junio C Hamano To: git@vger.kernel.org Subject: What's cooking in git.git (Nov 2022, #07; Tue, 29) X-master-at: 083e01275b81eb6105247ec522adf280d99f6b56 X-next-at: c39a3162a331d3f49d7e0a5cc5b2e86db4d1a447 Date: Tue, 29 Nov 2022 18:40:00 +0900 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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. The preview release -rc0 for this cycle has been tagged. 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/doc-synopsis-and-cmd-usage (2022-11-27) 1 commit (merged to 'next' on 2022-11-28 at a517ea2f95) + i18n: fix command template placeholder format Doc and message fix. source: * ab/fewer-the-index-macros (2022-11-21) 11 commits (merged to 'next' on 2022-11-23 at de20206cac) + cocci: apply "pending" index-compatibility to some "builtin/*.c" + cache.h & test-tool.h: add & use "USE_THE_INDEX_VARIABLE" + {builtin/*,repository}.c: add & use "USE_THE_INDEX_VARIABLE" + cocci: apply "pending" index-compatibility to "t/helper/*.c" + cocci & cache.h: apply variable section of "pending" index-compatibility + cocci & cache.h: apply a selection of "pending" index-compatibility + cocci: add a index-compatibility.pending.cocci + read-cache API & users: make discard_index() return void + cocci & cache.h: remove rarely used "the_index" compat macros + builtin/{grep,log}.: don't define "USE_THE_INDEX_COMPATIBILITY_MACROS" + cache.h: remove unused "the_index" compat macros Progress on removing 'the_index' convenience wrappers. source: * ah/chainlint-cpuinfo-parse-fix (2022-11-23) 1 commit (merged to 'next' on 2022-11-28 at 1e51eafde5) + chainlint.pl: fix /proc/cpuinfo regexp The format of a line in /proc/cpuinfo that describes a CPU on s390x looked different from everybody else, and the code in chainlint.pl failed to parse it. source: * es/locate-httpd-module-location-in-test (2022-11-22) 1 commit (merged to 'next' on 2022-11-23 at dfa19a744f) + lib-httpd: extend module location auto-detection Add one more candidate directory that may house httpd modules while running tests. source: * ew/prune-with-missing-objects-pack (2022-11-21) 1 commit (merged to 'next' on 2022-11-23 at bd328c5d01) + prune: quiet ENOENT on missing directories "git prune" may try to iterate over .git/objects/pack for trash files to remove in it, and loudly fail when the directory is missing, which is not necessary. The command has been taught to ignore such a failure. source: <20221119201213.2398081-1-e@80x24.org> * gc/resolve-alternate-symlinks (2022-11-25) 1 commit (merged to 'next' on 2022-11-28 at 509d2005aa) + object-file: use real paths when adding alternates Resolve symbolic links when processing the locations of alternate object stores, since failing to do so can lead to confusing and buggy behavior. source: * jh/trace2-timers-and-counters (2022-11-25) 1 commit (merged to 'next' on 2022-11-28 at 2fa64103b7) + trace2 tests: guard pthread test with "PTHREAD" Test fix. source: * jk/parse-object-type-mismatch (2022-11-22) 3 commits (merged to 'next' on 2022-11-22 at 69dc60536b) + parse_object(): simplify blob conditional (merged to 'next' on 2022-11-18 at 1ee133a089) + parse_object(): check on-disk type of suspected blob + parse_object(): drop extra "has" check before checking object type (this branch is used by ab/tag-object-type-errors.) `parse_object()` hardening when checking for the existence of a suspected blob object. source: * jx/ci-ubuntu-fix (2022-11-27) 4 commits (merged to 'next' on 2022-11-28 at 2eaa5b6c61) + ci: install python on ubuntu + ci: use the same version of p4 on both Linux and macOS + ci: remove the pipe after "p4 -V" to catch errors + github-actions: run gcc-8 on ubuntu-20.04 image Adjust the GitHub CI to newer ubuntu release. source: <20221124153934.12470-1-worldhello.net@gmail.com> * km/merge-recursive-typofix (2022-11-27) 1 commit (merged to 'next' on 2022-11-28 at cb6c488e9c) + merge-recursive: fix variable typo in error message Fix an old typo in an error message. source: <20221125173745.738643-1-kyle@kyleam.com> * pw/config-int-parse-fixes (2022-11-09) 3 commits (merged to 'next' on 2022-11-23 at 06ee2fff7b) + git_parse_signed(): avoid integer overflow + config: require at least one digit when parsing numbers + git_parse_unsigned: reject negative values Assorted fixes of parsing end-user input as integers. source: * rs/list-objects-filter-leakfix (2022-11-21) 1 commit (merged to 'next' on 2022-11-23 at 1e148fc7d2) + list-objects-filter: plug combine_filter_data leak Leakfix. source: * sg/plug-line-log-leaks (2022-11-02) 3 commits (merged to 'next' on 2022-11-23 at 5d2e1b065b) + diff.c: use diff_free_queue() + line-log: free the diff queues' arrays when processing merge commits + line-log: free diff queue when processing non-merge commits A handful of leaks in the line-log machinery have been plugged. source: <20221102220142.574890-1-szeder.dev@gmail.com> * zk/push-use-bitmaps (2022-11-22) 1 commit (merged to 'next' on 2022-11-23 at 2ce20bcaf5) + t5516: fail to run in verbose mode Test fix. source: <20221121134040.12260-1-worldhello.net@gmail.com> -------------------------------------------------- [New Topics] * rr/status-untracked-advice (2022-11-25) 1 commit - status: modernize git-status "slow untracked files" advice The advice message given by "git status" when it takes long time to enumerate untracked paths has been updated. Will merge to 'next'? source: * sa/git-var-empty (2022-11-27) 2 commits - var: allow GIT_EDITOR to return null - var: do not print usage() with a correct invocation "git var UNKNOWN_VARIABLE" and "git var VARIABLE" with the variable given an empty value used to behave identically. Now the latter just gives an empty output, while the former still gives an error message. Will merge to 'next'? source: * jx/t1301-updates (2022-11-29) 3 commits - t1301: do not change $CWD in "shared=all" test case - t1301: use test_when_finished for cleanup - t1301: fix wrong template dir for git-init Test updates. Seems to break CI. source: <20221127145130.16155-1-worldhello.net@gmail.com> * km/send-email-with-v-reroll-count (2022-11-27) 1 commit - send-email: relay '-v N' to format-patch "git send-email -v 3" used to be expanded to "git send-email --validate 3" when the user meant to pass them down to "format-patch", which has been corrected. Seems to break CI. source: <87edtp5uws.fsf@kyleam.com> * ps/gnumake-4.4-fix (2022-11-28) 1 commit (merged to 'next' on 2022-11-29 at 1151bc06fc) + Makefile: avoid multiple patterns when recipes generate one file Adjust Makefile for GNU make 4.4 Will cook in 'next'. source: <20221127224251.2508200-2-psmith@gnu.org> * so/diff-merges-more (2022-11-28) 5 commits - diff-merges: issue warning on lone '-m' option - diff-merges: support list of values for --diff-merges - diff-merges: implement log.diffMergesForce config - diff-merges: implement log.diffMerges-m-imply-p config - diff-merges: implement [no-]hide option and log.diffMergesHide config Assorted updates to "--diff-merges=X" option. Seems to break CI. cf. https://github.com/git/git/actions/runs/3560918726 source: <20221127093721.31012-1-sorganov@gmail.com> -------------------------------------------------- [Stalled] * ms/sendemail-validate-headers (2022-11-11) 1 commit . Expose header information to git-send-email's sendemail-validate hook Expecting a reroll. Appears to break t9001 completely? source: <20221111194223.644845-2-michael.strawbridge@amd.com> * hl/archive-recursive (2022-10-19) 10 commits . fixup! archive: add tests for git archive --recurse-submodules . 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. "git archive" has been taught "--recurse-submodules" option to create a tarball that includes contents from submodules. Expecting a reroll. Seems to break win+VS test(8). cf. https://github.com/git/git/actions/runs/3293333066 whose only difference from https://github.com/git/git/actions/runs/3293553109 is the inclusion of this topic. 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: * cw/submodule-status-in-parallel (2022-11-08) 6 commits - diff-lib: parallelize run_diff_files for submodules - diff-lib: refactor match_stat_with_submodule - submodule: move status parsing into function - submodule: strbuf variable rename - run-command: add duplicate_output_fn to run_processes_parallel_opts - Merge branch 'ab/run-hook-api-cleanup' into cw/submodule-status-in-parallel Allow the internal "diff-files" engine to run "how has this submodule changed?" in parallel to speed up "git status". Waiting for review. source: <20221020232532.1128326-1-calvinwan@google.com> * js/bisect-in-c (2022-08-30) 17 commits . bisect: no longer try to clean up left-over `.git/head-name` files . bisect: remove Cogito-related code . Turn `git bisect` into a full built-in . bisect: move even the command-line parsing to `bisect--helper` . bisect--helper: make `state` optional . bisect--helper: calling `bisect_state()` without an argument is a bug . bisect: avoid double-quoting when printing the failed command . bisect run: fix the error message . bisect: verify that a bogus option won't try to start a bisection . bisect--helper: migrate to OPT_SUBCOMMAND() . bisect--helper: make the order consistently `argc, argv` . bisect--helper: make `terms` an explicit singleton . bisect--helper: simplify exit code computation . bisect--helper: really retire `--bisect-autostart` . bisect--helper: really retire --bisect-next-check . bisect--helper: retire the --no-log option . Merge branch 'sg/parse-options-subcommand' into js/bisect-in-c Final bits of "git bisect.sh" have been rewritten in C. Temporarily ejected from 'seen'. Waiting for a response on how this topic interacts with 'dd/git-bisect-builtin'. cf. 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: * ed/fsmonitor-inotify (2022-11-25) 6 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 Bundled fsmonitor for Linux using inotify API. Needs review on the updated round. source: * 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> * 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] * ab/config-multi-and-nonbool (2022-11-27) 9 commits - for-each-repo: with bad config, don't conflate and - config API: add "string" version of *_value_multi(), fix segfaults - config API users: test for *_get_value_multi() segfaults - for-each-repo: error on bad --config - config API: have *_multi() return an "int" and take a "dest" - versioncmp.c: refactor config reading next commit - config tests: add "NULL" tests for *_get_value_multi() - config tests: cover blind spots in git_die_config() tests - for-each-repo tests: test bad --config keys Assorted config API updates. Waiting for review. source: * yn/git-jump-emacs (2022-11-27) 3 commits (merged to 'next' on 2022-11-29 at d0960938a0) + git-jump: invoke emacs/emacsclient + git-jump: move valid-mode check earlier + git-jump: add an optional argument '--stdout' "git jump" (in contrib/) learned to present the "quickfix list" to its standard output (instead of letting it consumed by the editor it invokes), and learned to also drive emacs/emacsclient. Will cook in 'next'. source: * sa/cat-file-mailmap--batch-check (2022-11-21) 2 commits - cat-file: add mailmap support to --batch-check option - cat-file: add mailmap support to -s option 'cat-file' gains mailmap support for its '--batch-check' and '-s' options. Seems to break CI. cf. https://github.com/git/git/actions/runs/3560918726 source: <20221120074852.121346-1-siddharthasthana31@gmail.com> * ab/tag-object-type-errors (2022-11-22) 5 commits - tag: don't emit potentially incorrect "object is a X, not a Y" - tag: don't misreport type of tagged objects in errors - object tests: add test for unexpected objects in tags - object-file.c: free the "t.tag" in check_tag() - Merge branch 'jk/parse-object-type-mismatch' into ab/tag-object-type-errors Hardening checks around mismatched object types when one of those objects is a tag. Needs review. source: * js/range-diff-mbox (2022-11-23) 1 commit - range-diff: support reading mbox files 'git range-diff' gained support for reading either side from an .mbox file instead of a revision range. Expecting review responses. source: * rj/branch-copy-and-rename (2022-11-17) 2 commits - branch: clear target branch configuration before copying or renaming - branch: force-copy a branch to itself via @{-1} is a no-op Fix a pair of bugs in 'git branch'. Waiting for review discussion to settle. source: * tl/ls-tree--pattern (2022-11-17) 6 commits - ls-tree: introduce '--pattern' option - ls-tree: introduce 'match_pattern()' function - ls-tree: improving cohension in the print code - ls-tree: optimize params of 'show_tree_common_default_long()' - t3104: remove shift code in 'test_ls_tree_format' - ls-tree: cleanup the redundant SPACE A synonym for "ls-tree | grep ", "ls-tree --pattern=" was introduced. Waiting for review response, but leaning negative. Seems to break CI. cf. https://github.com/git/git/actions/runs/3560918726 source: <20221117113023.65865-1-tenglong.tl@alibaba-inc.com> * tr/am--no-verify (2022-11-29) 1 commit - am: Allow passing --no-verify flag Conditionally skip the pre-applypatch and applypatch-msg hooks when applying patches with 'git am'. Expecting a (hopefully final) reroll. source: <20221128174825.1510407-1-thierry.reding@gmail.com> * ab/remove--super-prefix (2022-11-21) 12 commits . fetch: rename "--submodule-prefix" to "--super-prefix" . read-tree: add "--super-prefix" option, eliminate global . submodule--helper: convert "{update,clone}" to their own "--super-prefix" . submodule--helper: convert "status" to its own "--super-prefix" . submodule--helper: convert "sync" to its own "--super-prefix" . submodule--helper: convert "foreach" to its own "--super-prefix" . submodule--helper: don't use global --super-prefix in "absorbgitdirs" . submodule.c & submodule--helper: pass along "super_prefix" param . read-tree + fetch tests: test failing "--super-prefix" interaction . Merge branch 'ab/submodule-no-abspath' into ab/remove--super-prefix (merged to 'next' on 2022-11-18 at 34d0accc7b) + submodule--helper absorbgitdirs: no abspaths in "Migrating git..." . Merge branch 'ab/submodule-helper-prep-only' into ab/remove--super-prefix Remove the top-level `--super-prefix` option. source: * ab/submodule-no-abspath (2022-11-23) 2 commits (merged to 'next' on 2022-11-23 at 97b6096e7c) + submodule absorbgitdirs: use relative and paths (merged to 'next' on 2022-11-18 at 34d0accc7b) + submodule--helper absorbgitdirs: no abspaths in "Migrating git..." Remove an absolute path in the "Migrating git directory" message. Will cook in 'next', but leaning negative. source: source: * ew/format-patch-mboxrd (2022-11-14) 1 commit - format-patch: add --mboxrd alias for --pretty=mboxrd Teach `format-patch` a convenient alias for `--pretty=mboxrd`. Waiting for discussion to settle. source: <20221114094114.18986-1-e@80x24.org> * js/drop-mingw-test-cmp (2022-11-14) 2 commits - tests(mingw): avoid very slow `mingw_test_cmp` - t0021: use Windows-friendly `pwd` Use `git diff --no-index` as a test_cmp on Windows. Waiting for review response. source: * mc/switch-advice (2022-11-09) 1 commit - po: use `switch` over `checkout` in error message Use 'switch' instead of 'checkout' in an error message. Waiting for review response. source: * rs/multi-filter-args (2022-11-21) 3 commits - Revert "pack-objects: lazily set up "struct rev_info", don't leak" - t5317: demonstrate failure to handle multiple --filter options - t5317: stop losing return codes of git ls-files Fix a bug where `pack-objects` would not respect multiple `--filter` arguments when invoked directly. source: * ab/various-leak-fixes (2022-11-21) 16 commits (merged to 'next' on 2022-11-21 at eff484a27c) + built-ins: use free() not UNLEAK() if trivial, rm dead code + revert: fix parse_options_concat() leak + cherry-pick: free "struct replay_opts" members + rebase: don't leak on "--abort" + connected.c: free the "struct packed_git" + sequencer.c: fix "opts->strategy" leak in read_strategy_opts() + ls-files: fix a --with-tree memory leak + revision API: call graph_clear() in release_revisions() + unpack-file: fix ancient leak in create_temp_file() + built-ins & libs & helpers: add/move destructors, fix leaks + dir.c: free "ident" and "exclude_per_dir" in "struct untracked_cache" + read-cache.c: clear and free "sparse_checkout_patterns" + commit: discard partial cache before (re-)reading it + {reset,merge}: call discard_index() before returning + tests: mark tests as passing with SANITIZE=leak + Merge branch 'pw/rebase-no-reflog-action' into ab/various-leak-fixes Various leak fixes. Will cook in 'next'. source: * aw/complete-case-insensitive (2022-11-07) 2 commits - completion: add case-insensitive match of pseudorefs - completion: add optional ignore-case when matching refs Introduce a case insensitive mode to the Bash completion helpers. Waiting for review. Seems to break CI. source: * dd/git-bisect-builtin (2022-11-15) 13 commits (merged to 'next' on 2022-11-15 at e16e754058) + bisect; remove unused "git-bisect.sh" and ".gitignore" entry (merged to 'next' on 2022-11-14 at fc304fb52f) + Turn `git bisect` into a full built-in + bisect--helper: log: allow arbitrary number of arguments + bisect--helper: handle states directly + bisect--helper: emit usage for "git bisect" + bisect test: test exit codes on bad usage + bisect--helper: identify as bisect when report error + bisect-run: verify_good: account for non-negative exit status + bisect run: keep some of the post-v2.30.0 output + bisect: fix output regressions in v2.30.0 + bisect: refactor bisect_run() to match CodingGuidelines + bisect tests: test for v2.30.0 "bisect run" regressions + Merge branch 'dd/bisect-helper-subcommand' into dd/git-bisect-builtin `git bisect` becomes a builtin. Will cook in 'next'. source: * ds/packed-refs-v2 (2022-11-07) 30 commits - refs: skip hashing when writing packed-refs v2 - p1401: create performance test for ref operations - ci: run GIT_TEST_PACKED_REFS_VERSION=2 in some builds - t*: skip packed-refs v2 over http tests - t3210: require packed-refs v1 for some tests - t5502: add PACKED_REFS_V1 prerequisite - t5312: allow packed-refs v2 format - t1409: test with packed-refs v2 - packed-backend: create GIT_TEST_PACKED_REFS_VERSION - packed-refs: write prefix chunks - packed-refs: read optional prefix chunks - packed-refs: read file format v2 - packed-refs: write file format version 2 - packed-backend: create shell of v2 writes - config: add config values for packed-refs v2 - packed-backend: create abstraction for writing refs - packed-backend: extract iterator/updates merge - packed-backend: extract add_write_error() - refs: extract packfile format to new file - chunk-format: parse trailing table of contents - chunk-format: allow trailing table of contents - chunk-format: store chunk offset during write - chunk-format: document trailing table of contents - chunk-format: number of chunks is optional - refs: allow loose files without packed-refs - repository: wire ref extensions to ref backends - config: fix multi-level bulleted list - extensions: add refFormat extension - read-cache: add index.computeHash config option - hashfile: allow skipping the hash function Waiting for review. source: * ja/worktree-orphan (2022-11-10) 2 commits - worktree add: add --orphan flag - worktree add: Include -B in usage docs 'git worktree add' learned how to create a worktree based on an orphaned branch with `--orphan`. Expecting another round? source: <20221110233137.10414-1-jacobabel@nullpo.dev> * tb/ci-concurrency (2022-11-08) 1 commit - ci: avoid unnecessary builds Avoid unnecessary builds in CI, with settings configured in ci-config. Waiting for review. source: * tl/notes--blankline (2022-11-09) 5 commits - notes.c: introduce "--no-blank-line" option - notes.c: provide tips when target and append note are both empty - notes.c: drop unreachable code in 'append_edit()' - notes.c: cleanup for "designated init" and "char ptr init" - notes.c: cleanup 'strbuf_grow' call in 'append_edit' 'git notes append' was taught '--[no-]blank-line' to conditionally add a LF between a new and existing note. Expecting a reroll. source: * ds/bundle-uri-4 (2022-11-16) 9 commits - clone: unbundle the advertised bundles - bundle-uri: download bundles from an advertised list - bundle-uri: allow relative URLs in bundle lists - strbuf: introduce strbuf_strip_file_from_path() - bundle-uri client: add boolean transfer.bundleURI setting - bundle-uri: serve bundle.* keys from config - bundle-uri client: add helper for testing server - bundle-uri client: add minimal NOOP client - protocol v2: add server-side "bundle-uri" skeleton Bundle URIs part 4. Waiting for review. Seems to break CI. cf. https://github.com/git/git/actions/runs/3560918726 source: * tl/pack-bitmap-absolute-paths (2022-11-29) 4 commits - pack-bitmap.c: trace bitmap ignore logs when midx-bitmap is found - pack-bitmap.c: break out of the bitmap loop early if not tracing (merged to 'next' on 2022-11-14 at 34eb0ea05a) + pack-bitmap.c: avoid exposing absolute paths + pack-bitmap.c: remove unnecessary "open_pack_index()" calls The pack-bitmap machinery is taught to log the paths of redundant bitmap(s) to trace2 instead of stderr. Will merge to 'next'. source: * ab/cmake-nix-and-ci (2022-11-04) 14 commits (merged to 'next' on 2022-11-08 at 6ef4e93b36) + CI: add a "linux-cmake-test" to run cmake & ctest on linux + cmake: copy over git-p4.py for t983[56] perforce test + cmake: only look for "sh" in "C:/Program Files" on Windows + cmake: increase test timeout on Windows only + cmake: support GIT_TEST_OPTS, abstract away WIN32 defaults + Makefile + cmake: use environment, not GIT-BUILD-DIR + test-lib.sh: support a "GIT_TEST_BUILD_DIR" + cmake: set "USE_LIBPCRE2" in "GIT-BUILD-OPTIONS" for test-lib.sh + cmake & test-lib.sh: add a $GIT_SOURCE_DIR variable + cmake: chmod +x the bin-wrappers/* & SCRIPT_{SH,PERL} & git-p4 + cmake: don't copy chainlint.pl to build directory + cmake: update instructions for portable CMakeLists.txt + cmake: use "-S" and "-B" to specify source and build directories + cmake: don't invoke msgfmt with --statistics Fix assorted issues with CTest on *nix machines. Will cook in 'next'. source: * ab/make-bin-wrappers (2022-10-31) 4 commits . Makefile: simplify $(test_bindir_programs) rule by splitting it up . Makefile: rename "test_bindir_programs" variable, pre-declare . Makefile: define "TEST_{PROGRAM,OBJS}" variables earlier . Makefile: factor sed-powered '#!/bin/sh' munging into a variable Resolve issues with the bin-wrappers/% rules where "make bin-wrappers/git" would generate the script but not "git" itself. Waiting for review discussion to settle, but leaning negative. source: * kz/merge-tree-merge-base (2022-11-25) 3 commits (merged to 'next' on 2022-11-25 at 298ca8e2e8) + docs: fix description of the `--merge-base` option (merged to 'next' on 2022-11-14 at 76d48ae21f) + merge-tree.c: allow specifying the merge-base when --stdin is passed + merge-tree.c: add --merge-base= option "merge-tree" learns a new `--merge-base` option. Will cook in 'next'. source: source: * po/pretty-hard-trunc (2022-11-13) 1 commit - pretty-formats: add hard truncation, without ellipsis, options Add a new pretty format which truncates without ellipsis. Waiting for review. source: <20221112143616.1429-1-philipoakley@iee.email> * rr/long-status-advice (2022-11-15) 1 commit - status: long status advice adapted to recent capabilities The advice message emitted by a slow "status" run is amended to mention fsmonitor. Waiting for reviewer feedback on the updated round. source: * gc/submodule-clone-update-with-branches (2022-10-30) 8 commits - clone, submodule update: create and check out branches - submodule--helper: remove update_data.suboid - submodule update: refactor update targets - submodule: return target of submodule symref - t5617: drop references to remote-tracking branches - submodule--helper clone: create named branch - 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. Waiting for review on the updated round. source: * cc/filtered-repack (2022-11-23) 2 commits - repack: add --filter= option - pack-objects: allow --filter without --stdout "git repack" learns to discard objects that ought to be retrievable again from the promissor remote. Needs review. Seems to break CI. cf. https://github.com/git/git/actions/runs/3560918726 source: <20221122175150.366828-1-christian.couder@gmail.com> * mc/credential-helper-auth-headers (2022-11-02) 11 commits - t5556: add HTTP authentication tests - test-http-server: add simple authentication - test-http-server: pass Git requests to http-backend - test-http-server: add HTTP request parsing - test-http-server: add HTTP error response function - test-http-server: add stub HTTP server test helper - 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 Extending credential helper protocol. Needs review. Seems to break CI. cf. https://github.com/git/git/actions/runs/3562942886/jobs/5985179202 source: