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: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 253181F8C6 for ; Thu, 8 Jul 2021 22:28:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230385AbhGHWb3 (ORCPT ); Thu, 8 Jul 2021 18:31:29 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:51359 "EHLO pb-smtp1.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229631AbhGHWb3 (ORCPT ); Thu, 8 Jul 2021 18:31:29 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 1B354DA05F; Thu, 8 Jul 2021 18:28:46 -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 :content-transfer-encoding; s=sasl; bh=gffyPjXnGsshyUU2ceNPuUMgw rzspZoPQseiQguQuZg=; b=Z8ltOZk+4wQHka59LbHAj4kfl67pIjSH77T4CFPm/ SdQX+XzV7AKjyN6AzLW3xAu+plek5l5HnOfGzIhBQPiKGVnIRkmIhYoYfvNxkSTO GtfPFlTDkJkwIomjJprndu9UwP0GolN30Vbo0VZTEcgPwMxnL8ZBGaP0krW1pt58 PY= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 11B64DA05E; Thu, 8 Jul 2021 18:28:46 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.74.3.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 7FD36DA05D; Thu, 8 Jul 2021 18:28:45 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: git@vger.kernel.org Subject: What's cooking in git.git (Jul 2021, #02; Thu, 8) X-master-at: d486ca60a51c9cb1fe068803c3f540724e95e83a X-next-at: 085311d9fa98621e847267e9cea4a891cc4ca32e Date: Thu, 08 Jul 2021 15:28:44 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Pobox-Relay-ID: DB825070-E03B-11EB-9D94-8B3BC6D8090B-77302942!pb-smtp1.pobox.com Content-Transfer-Encoding: quoted-printable 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', which means nothing more than that I have found them of interest for some reason (like "it may have hard-to-resolve conflicts with another topic already in flight" or "this may turn out to be useful"). Do not read too much into a topic being in (or not in) 'seen'. The ones marked with '.' do not appear in any of the integration branches, but I am still holding onto them. 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/cmd-foo-should-return (2021-06-09) 1 commit (merged to 'next' on 2021-07-02 at 4f91c90007) + builtins + test helpers: use return instead of exit() in cmd_* Code clean-up. * ab/config-hooks-path-testfix (2021-06-16) 1 commit (merged to 'next' on 2021-07-01 at 2ab6dbe8af) + pre-commit hook tests: don't leave "actual" nonexisting on failure Test fix. * ab/fix-columns-to-80-during-tests (2021-06-29) 1 commit (merged to 'next' on 2021-07-01 at e8cbef661b) + test-lib.sh: set COLUMNS=3D80 for --verbose repeatability Output from some of our tests were affected by the width of the terminal that they were run in, which has been corrected by exporting a fixed value in the COLUMNS environment. * ab/progress-cleanup (2021-06-08) 1 commit (merged to 'next' on 2021-07-02 at 288570c95a) + read-cache.c: don't guard calls to progress.c API Code clean-up. * ab/xdiff-bug-cleanup (2021-06-08) 1 commit (merged to 'next' on 2021-07-02 at f4920ba6d1) + xdiff: use BUG(...), not xdl_bug(...) Code clean-up. * ah/graph-typofix (2021-06-15) 1 commit (merged to 'next' on 2021-07-01 at c71fb8cbcb) + graph: improve grammar of "invalid color" error message Typofix in an error message. * ah/uninitialized-reads-fix (2021-06-15) 3 commits (merged to 'next' on 2021-07-01 at 61a967c340) + builtin/checkout--worker: zero-initialise struct to avoid MSAN complai= nts + split-index: use oideq instead of memcmp to compare object_id's + bulk-checkin: make buffer reuse more obvious and safer Make the codebase MSAN clean. * ar/doc-libera-chat-in-my-first-contrib (2021-06-09) 1 commit (merged to 'next' on 2021-07-02 at a0e3a1f5f2) + MyFirstContribution: link #git-devel to Libera Chat Update MyFirst document. * ar/mailinfo-memcmp-to-skip-prefix (2021-06-09) 1 commit (merged to 'next' on 2021-07-02 at e5122960c0) + mailinfo: use starts_with() when checking scissors Code clean-up. * ar/more-typofix (2021-06-28) 3 commits (merged to 'next' on 2021-07-01 at 02ca61ee96) + git-worktree.txt: fix typo in example path + t: fix typos in test messages + blame: correct name of config option in docs Typofixes. * ar/test-code-cleanup (2021-06-08) 1 commit (merged to 'next' on 2021-07-02 at 12d23f8a42) + t: fix whitespace around && Test code clean-up. * ar/typofix (2021-06-14) 1 commit (merged to 'next' on 2021-07-01 at 8d10d6d568) + *: fix typos which duplicate a word Typofixes. * ba/object-info (2021-06-08) 1 commit (merged to 'next' on 2021-07-02 at c7fb4f900e) + protocol-caps.h: add newline at end of file Code clean-up. * dd/document-log-decorate-default (2021-06-08) 1 commit (merged to 'next' on 2021-07-02 at 529d71a690) + doc/log: correct default for --decorate Doc clean-up. * dd/svn-test-wo-locale-a (2021-06-08) 1 commit (merged to 'next' on 2021-07-01 at 9fa432af22) + t: use user-specified utf-8 locale for testing svn "git-svn" tests assumed that "locale -a", which is used to pick an available UTF-8 locale, is available everywhere. A knob has been introduced to allow testers to specify a suitable locale to use. * fc/doc-default-to-upstream-config (2021-06-08) 1 commit (merged to 'next' on 2021-07-01 at 3ce7d14f26) + doc: merge: mention default of defaulttoupstream Doc clean-up. * fc/pull-cleanups (2021-06-19) 3 commits (merged to 'next' on 2021-07-01 at f8d7a3fc78) + pull: trivial whitespace style fix + pull: trivial cleanup + pull: cleanup autostash check Code cleanup. * fw/complete-cmd-idx-fix (2021-06-19) 1 commit (merged to 'next' on 2021-07-01 at f16784c4cb) + completion: bash: fix late declaration of __git_cmd_idx Recent update to completion script (in contrib/) broke those who use the __git_complete helper to define completion to their custom command. * jk/bitmap-tree-optim (2021-06-15) 1 commit (merged to 'next' on 2021-07-01 at 2e0f108bb6) + bitmaps: don't recurse into trees already in the bitmap Avoid duplicated work while building reachability bitmaps. * jk/doc-max-pack-size (2021-06-09) 1 commit (merged to 'next' on 2021-07-02 at b272fddb22) + doc: warn people against --max-pack-size Doc update. * jk/revision-squelch-gcc-warning (2021-06-11) 1 commit (merged to 'next' on 2021-07-01 at 28f4da3e7d) + add_pending_object_with_path(): work around "gcc -O3" complaint Warning fix. * jk/test-avoid-globmatch-with-skip-patterns (2021-07-01) 1 commit (merged to 'next' on 2021-07-01 at 139fa916d1) + test-lib: avoid accidental globbing in match_pattern_list() We broke "GIT_SKIP_TESTS=3Dt?000" to skip certain tests in recent update, which got fixed. * jk/test-without-readlink-1 (2021-06-19) 1 commit (merged to 'next' on 2021-07-01 at fb3bf5a6b0) + t: use portable wrapper for readlink(1) Some test scripts assumed that readlink(1) was universally installed and available, which is not the case. * js/no-more-multimail (2021-06-11) 1 commit (merged to 'next' on 2021-07-01 at ed7a4efc75) + multimail: stop shipping a copy Remove multimail from contrib/ * js/stop-exporting-bogus-columns (2021-06-28) 1 commit (merged to 'next' on 2021-07-02 at 7674896d58) + pager: avoid setting COLUMNS when we're guessing its value When we cannot figure out how wide the terminal is, we use a fallback value of 80 ourselves (which cannot be avoided), but when we run the pager, we export it in COLUMNS, which forces the pager to use the hardcoded value, even when the pager is perfectly capable to figure it out itself. Stop exporting COLUMNS when we fall back on the hardcoded default value for our own use. * js/subtree-on-windows-fix (2021-06-15) 2 commits (merged to 'next' on 2021-07-01 at d4e4ccde63) + subtree: fix assumption about the directory separator + subtree: fix the GIT_EXEC_PATH sanity check to work on Windows Update "git subtree" to work better on Windows. * js/trace2-discard-event-docfix (2021-06-04) 1 commit (merged to 'next' on 2021-07-01 at 9fc3c6285e) + docs: fix api-trace2 doc for "too_many_files" event Docfix. * jv/userdiff-csharp-update (2021-06-16) 1 commit (merged to 'next' on 2021-07-01 at a2371d0580) + userdiff: add support for C# record types The userdiff pattern for C# learned the token "record". * jx/sideband-cleanup (2021-06-17) 4 commits (merged to 'next' on 2021-07-01 at 0eb604e8c2) + test: refactor to use "get_abbrev_oid" to get abbrev oid + test: refactor to use "test_commit" to create commits + test: compare raw output, not mangle tabs and spaces + sideband: don't lose clear-to-eol at packet boundary The side-band demultiplexer that is used to display progress output from the remote end did not clear the line properly when the end of line hits at a packet boundary, which has been corrected. Also comes with test clean-ups. * jx/t6020-with-older-bash (2021-06-17) 1 commit (merged to 'next' on 2021-07-01 at 55d71ed779) + t6020: fix incompatible parameter expansion Work around inefficient glob substitution in older versions of bash by rewriting parts of a test. * ms/mergetools-kdiff3-on-windows (2021-06-08) 1 commit (merged to 'next' on 2021-07-02 at 5ca2515f34) + mergetools/kdiff3: make kdiff3 work on Windows too On Windows, mergetool has been taught to find kdiff3.exe just like it finds winmerge.exe. * tb/complete-diff-anchored (2021-05-31) 1 commit (merged to 'next' on 2021-07-01 at 19878daaa9) + completion: add --anchored to diff's options The command line completion (in contrib/) learned that "git diff" takes the "--anchored" option. * tk/partial-clone-repack-doc (2021-06-04) 1 commit (merged to 'next' on 2021-07-01 at fe4c6280bc) + Remove warning that repack only works on non-promisor packfiles Docfix. -------------------------------------------------- [New Topics] * ab/gitignore-discovery-doc (2021-07-06) 1 commit - docs: .gitignore parsing is to the top of the repo Doc update. Will merge to 'next'. * bc/rev-list-without-commit-line (2021-07-06) 1 commit - rev-list: add option for --pretty without header "git rev-list" learns to omit the "commit " header lines from the output with the `--no-commit-header` option. Will merge to 'next'. * ab/imap-send-read-everything-simplify (2021-07-07) 1 commit - imap-send.c: use less verbose strbuf_fread() idiom Code simplification. Will merge to 'next'. * ab/pkt-line-tests (2021-07-07) 5 commits - test-lib-functions.sh: remove unused [de]packetize() functions - tests: replace remaining packetize() with "test-tool pkt-line" - tests: replace [de]packetize() shell+perl test-tool pkt-line - serve tests: use test_cmp in "protocol violations" test - serve tests: add missing "extra delim" test Update tests to cover a bit more protocol bits and unify two similar test helpers into one. Will merge to 'next'. -------------------------------------------------- [Stalled] * hn/reftable (2021-05-20) 27 commits . t1404: annotate test cases with REFFILES . t1401,t2011: parameterize HEAD.lock for REFTABLE . t1301: document what needs to be done for REFTABLE . Add "test-tool dump-reftable" command. . git-prompt: prepare for reftable refs backend . Reftable support for git-core . reftable: add dump utility . reftable: implement stack, a mutable database of reftable files. . reftable: implement refname validation . reftable: add merged table view . reftable: add a heap-based priority queue for reftable records . reftable: reftable file level tests . reftable: read reftable files . reftable: generic interface to tables . reftable: write reftable files . reftable: a generic binary tree implementation . reftable: reading/writing blocks . Provide zlib's uncompress2 from compat/zlib-compat.c . reftable: (de)serialization for the polymorphic record type. . reftable: add blocksource, an abstraction for random access reads . reftable: utility functions . reftable: add error related functionality . reftable: add LICENSE . init-db: set the_repository->hash_algo early on . hash.h: provide constants for the hash IDs . refs/debug: trace into reflog expiry too . refs: document reflog_expire_fn's flag argument (this branch uses hn/refs-iterator-peel-returns-boolean.) The "reftable" backend for the refs API. * ao/p4-avoid-decoding (2021-04-12) 2 commits - git-p4: do not decode data from perforce by default - git-p4: avoid decoding more data from perforce "git p4" in Python-2 days used to accept a lot more kinds of data from Perforce server as uninterrupted byte sequence, but after switching to Python-3, too many things are expected to be in UTF-8, which broke traditional use cases. Waiting for reviews. * tv/p4-fallback-encoding (2021-04-30) 1 commit - git-p4: git-p4.fallbackEncoding to specify non UTF-8 charset "git p4" learns the fallbackEncoding configuration variable to safely accept changeset descriptions that aren't written in UTF-8. Waiting for reviews. -------------------------------------------------- [Cooking] * ab/lib-subtest (2021-07-01) 8 commits - test-lib tests: assert 1 exit code, not non-zero - test-lib tests: refactor common part of check_sub_test_lib_test*() - test-lib tests: avoid subshell for "test_cmp" for readability - test-lib tests: get rid of copy/pasted mock test code - test-lib tests: don't provide a description for the sub-tests - test-lib tests: stop using a subshell in write_sub_test_lib_test() - test-lib tests: split up "write and run" into two functions - test-lib tests: move "run_sub_test" to a new lib-subtest.sh Refactor tests on test framework. What's the review status of this thing? * ab/struct-init (2021-07-01) 5 commits - string-list.h users: change to use *_{nodup,dup}() - string-list.[ch]: add a string_list_init_{nodup,dup}() - dir.[ch]: replace dir_init() with DIR_INIT - *.c *_init(): define in terms of corresponding *_INIT macro - *.h: move some *_INIT to designated initializers Code cleanup around struct_type_init() functions. Will merge to 'next'. * bc/inactive-submodules (2021-07-02) 1 commit - submodule: mark submodules with update=3Dnone as inactive Usability update for inactive submodules. Under review. cf. * en/ort-perf-batch-14 (2021-07-01) 7 commits - merge-ort: restart merge with cached renames to reduce process entry c= ost - merge-ort: avoid recursing into directories when we don't need to - merge-ort: defer recursing into directories when merge base is matched - merge-ort: add a handle_deferred_entries() helper function - merge-ort: add data structures for allowable trivial directory resolve= s - merge-ort: add some more explanations in collect_merge_info_callback() - merge-ort: resolve paths early when we have sufficient information Further optimization on "merge -sort" backend. Reviews? * ar/help-micro-cleanup (2021-07-06) 1 commit - help: convert git_cmd to page in one place Tiny code clean-up. Will merge to 'next'. * ar/submodule-helper-include-cleanup (2021-07-06) 1 commit - submodule--helper: remove redundant include Code clean-up. Will merge to 'next'. * cf/fetch-set-upstream-while-detached (2021-07-06) 1 commit - fetch: fix segfault on --set-upstream while on a detached HEAD "git fetch --set-upstream" while on detached HEAD segfaulted instead of noticing that such an operation did not make sense. Expecting a reroll. * dd/test-stdout-count-lines (2021-07-06) 3 commits - t6402: preserve git exit status code - t6400: preserve git ls-files exit status code - test-lib-functions: introduce test_stdout_line_count Tiny test clean-up. Will merge to 'next'. * hn/refs-iterator-peel-returns-boolean (2021-05-20) 1 commit (merged to 'next' on 2021-07-08 at b9b35881ba) + refs: make explicit that ref_iterator_peel returns boolean (this branch is used by hn/reftable.) Tiny API tweak. Will merge to 'master'. * hn/refs-test-cleanup (2021-07-06) 2 commits - t7509: avoid direct file access for writing CHERRY_PICK_HEAD - t1415: avoid direct filesystem access for writing refs Test clean-up. Will merge to 'next'. * ps/perf-with-separate-output-directory (2021-07-02) 1 commit - perf: fix when running with TEST_OUTPUT_DIRECTORY Test update. What's the status of this one? * rs/khash-alloc-cleanup (2021-07-06) 1 commit - khash: clarify that allocations never fail Code clean-up. Will merge to 'next'. * sm/worktree-add-lock (2021-07-08) 3 commits - worktree: teach `add` to accept --reason with --lock - worktree: default lock string should be marked with `_()` for translat= ion - t2400: remove unneeded `git rev-parse` from '"add" worktree with lock'= test "git worktree add --lock" learned to record why the worktree is locked with a custom message. Expecting a reroll? cf. cf. * ab/bundle-doc (2021-07-02) 3 commits - bundle doc: elaborate on rev<->ref restriction - bundle doc: elaborate on object prerequisites - bundle doc: rewrite the "DESCRIPTION" section Doc update. Expecting a reroll. at least for the second patch. * ab/pack-stdin-packs-fix (2021-06-28) 2 commits - pack-objects: fix segfault in --stdin-packs option - pack-objects tests: cover blindspots in stdin handling Input validation of "git pack-objects --stdin-packs" has been corrected. Expecting a reroll. cf. * bk/doc-commit-typofix (2021-06-28) 1 commit (merged to 'next' on 2021-07-06 at 88580c54ed) + Documentation: fix typo in the --patch option of the commit command Doc typo/grammo-fix. Will merge to 'master'. * dc/p4-binary-submit-fix (2021-06-28) 1 commit (merged to 'next' on 2021-07-06 at dec280fdc6) + git-p4: fix failed submit by skip non-text data files Prevent "git p4" from failing to submit changes to binary file. Will merge to 'master'. * ds/commit-and-checkout-with-sparse-index (2021-06-28) 5 commits - checkout: stop expanding sparse indexes - sparse-index: recompute cache-tree - commit: integrate with sparse-index - p2000: compress repo names - p2000: add 'git checkout -' test and decrease depth (this branch uses ds/status-with-sparse-index.) "git checkout" and "git commit" learn to work without unnecessarily expanding sparse indexes. Comments? * en/merge-dir-rename-corner-case-fix (2021-06-30) 3 commits (merged to 'next' on 2021-07-08 at cf7087576e) + merge-recursive: handle rename-to-self case + merge-ort: ensure we consult df_conflict and path_conflicts + t6423: test directory renames causing rename-to-self The merge code had funny interactions between content based rename detection and directory rename detection. Will merge to 'master'. * ew/many-alternate-optim (2021-07-07) 5 commits - oidtree: a crit-bit tree for odb_loose_cache - oidcpy_with_padding: constify `src' arg - make object_directory.loose_objects_subdir_seen a bitmap - avoid strlen via strbuf_addstr in link_alt_odb_entry - speed up alt_odb_usable() with many alternates Optimization for repositories with many alternate object store. Will merge to 'next'? * jk/log-decorate-optim (2021-06-28) 6 commits (merged to 'next' on 2021-07-08 at a3b6f978ab) + add_ref_decoration(): rename s/type/deco_type/ + load_ref_decorations(): avoid parsing non-tag objects + object.h: add lookup_object_by_type() function + object.h: expand docstring for lookup_unknown_object() + log: avoid loading decorations for userformats that don't need it + pretty.h: update and expand docstring for userformat_find_requirements= () Optimize "git log" for cases where we wasted cycles to load ref decoration data that may not be needed. Will merge to 'master'. * js/ci-windows-update (2021-07-06) 7 commits - ci: accelerate the checkout - ci (vs-build): build with NO_GETTEXT - artifacts-tar: respect NO_GETTEXT - ci (windows): transfer also the Git-tracked files to the test jobs - ci: upgrade to using actions/{up,down}load-artifacts v2 - ci (vs-build): use `cmd` to copy the DLLs, not `powershell` - ci: use the new GitHub Action to download git-sdk-64-minimal GitHub Actions / CI update. Will merge to 'next'. * js/config-mak-windows-pcre-fix (2021-06-28) 1 commit (merged to 'next' on 2021-07-08 at fe457da682) + config.mak.uname: PCRE1 cleanup Whitespace fix. Will merge to 'master'. * js/gfw-system-config-loc-fix (2021-06-28) 3 commits (merged to 'next' on 2021-07-08 at 91a090ab50) + config: normalize the path of the system gitconfig + cmake(windows): set correct path to the system Git config + mingw: move Git for Windows' system config where users expect it Update the location of system-side configuration file on Windows. Will merge to 'master'. * jt/push-negotiation-fixes (2021-06-28) 3 commits - fetch: die on invalid --negotiation-tip hash - send-pack: fix push nego. when remote has refs - send-pack: fix push.negotiate with remote helper Bugfix for common ancestor negotiation recently introduced in "git push" codepath. Comments? * ks/submodule-cleanup (2021-06-28) 1 commit (merged to 'next' on 2021-07-08 at 03ba93067f) + submodule: remove unnecessary `prefix` based option logic Code cleanup. Will merge to 'master'. * rs/grep-parser-fix (2021-06-30) 1 commit (merged to 'next' on 2021-07-06 at 8c582fcd64) + grep: report missing left operand of --and "git grep --and -e foo" ought to have been diagnosed as an error but instead segfaulted, which has been corrected. Will merge to 'master'. * tb/midx-use-checksum (2021-06-28) 4 commits (merged to 'next' on 2021-07-08 at bbaac9c721) + midx: report checksum mismatches during 'verify' + midx: don't reuse corrupt MIDXs when writing + commit-graph: rewrite to use checksum_valid() + csum-file: introduce checksum_valid() When rebuilding the multi-pack index file reusing an existing one, we used to blindly trust the existing file and ended up carrying corrupted data into the updated file, which has been corrected. Will merge to 'master'. * ab/bundle-updates (2021-07-06) 3 commits (merged to 'next' on 2021-07-08 at 0c9c54fad7) + bundle: remove "ref_list" in favor of string-list.c API + bundle.c: use a temporary variable for OIDs and names + bundle cmd: stop leaking memory from parse_options_cmd_bundle() Code clean-up and leak plugging in "git bundle". Will merge to 'master'. * ab/fetch-negotiate-segv-fix (2021-07-08) 3 commits (merged to 'next' on 2021-07-08 at 30dcd90ea6) + fetch: fix segfault in --negotiate-only without --negotiation-tip=3D* + fetch: document the --negotiate-only option + send-pack.c: move "no refs in common" abort earlier Code recently added to support common ancestry negotiation during "git push" did not sanity check its arguments carefully enough. Will merge to 'master'. * ab/make-delete-on-error (2021-06-29) 1 commit (merged to 'next' on 2021-07-08 at 787d70d2d6) + Makefile: add and use the ".DELETE_ON_ERROR" flag Use ".DELETE_ON_ERROR" pseudo target to simplify our Makefile. Will merge to 'master'. * ab/make-tags-cleanup (2021-06-29) 5 commits - Makefile: normalize clobbering & xargs for tags targets - Makefile: don't use "FORCE" for tags targets - Makefile: fix "cscope" target to refer to cscope.out - Makefile: add QUIET_GEN to "cscope" target - Makefile: move ".PHONY: cscope" near its target Build clean-up for "make tags" and friends. Expecting a reroll. Hopefully with a final reroll it would become good enough shape for 'nex= t'? cf. cf. <67c45b13-df8f-8065-377a-fbd2f80992ee@ramsayjones.plus.com> * ew/mmap-failures (2021-06-29) 1 commit (merged to 'next' on 2021-07-08 at e0e19d5d26) + xmmap: inform Linux users of tuning knobs on ENOMEM Error message update. Will merge to 'master'. * tb/multi-pack-bitmaps (2021-06-28) 24 commits - p5326: perf tests for MIDX bitmaps - p5310: extract full and partial bitmap tests - midx: respect 'GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP' - t7700: update to work with MIDX bitmap test knob - t5319: don't write MIDX bitmaps in t5319 - t5310: disable GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP - t0410: disable GIT_TEST_MULTI_PACK_INDEX_WRITE_BITMAP - t5326: test multi-pack bitmap behavior - t/helper/test-read-midx.c: add --checksum mode - t5310: move some tests to lib-bitmap.sh - pack-bitmap: write multi-pack bitmaps - pack-bitmap: read multi-pack bitmaps - pack-bitmap.c: introduce 'bitmap_is_preferred_refname()' - pack-bitmap.c: introduce 'nth_bitmap_object_oid()' - pack-bitmap.c: introduce 'bitmap_num_objects()' - midx: infer preferred pack when not given one - midx: respect 'core.multiPackIndex' when writing - midx: clear auxiliary .rev after replacing the MIDX - midx: make a number of functions non-static - Documentation: describe MIDX-based bitmaps - Documentation: build 'technical/bitmap-format' by default - pack-bitmap-write.c: free existing bitmaps - pack-bitmap-write.c: gracefully fail to write non-closed bitmaps - pack-bitmap.c: harden 'test_bitmap_walk()' to check type bitmaps The reachability bitmap file used to be generated only for a single pack, but now we've learned to generate bitmaps for history that span across multiple packfiles. Comments? * ds/status-with-sparse-index (2021-06-28) 16 commits - fsmonitor: integrate with sparse index - wt-status: expand added sparse directory entries - status: use sparse-index throughout - status: skip sparse-checkout percentage with sparse-index - diff-lib: handle index diffs with sparse dirs - dir.c: accept a directory as part of cone-mode patterns - unpack-trees: handle dir/file conflict of sparse entries - unpack-trees: unpack sparse directory entries - unpack-trees: rename unpack_nondirectories() - unpack-trees: compare sparse directories correctly - unpack-trees: preserve cache_bottom - t1092: add tests for status/add and sparse files - t1092: expand repository data shape - t1092: replace incorrect 'echo' with 'cat' - sparse-index: include EXTENDED flag when expanding - sparse-index: skip indexes with unmerged entries (this branch is used by ds/commit-and-checkout-with-sparse-index.) "git status" codepath learned to work with sparsely populated index without hydrating it fully. Will merge to 'next'? * ab/describe-tests-fix (2021-05-11) 5 commits (merged to 'next' on 2021-07-06 at ba1f7c0364) + describe tests: support -C in "check_describe" + describe tests: fix nested "test_expect_success" call + describe tests: don't rely on err.actual from "check_describe" + describe tests: refactor away from glob matching + describe tests: improve test for --work-tree & --dirty Various updates to tests around "git describe" Will merge to 'master'. * ab/pickaxe-pcre2 (2021-05-11) 22 commits (merged to 'next' on 2021-07-06 at fdb4fdc245) + xdiff-interface: replace discard_hunk_line() with a flag + xdiff users: use designated initializers for out_line + pickaxe -G: don't special-case create/delete + pickaxe -G: terminate early on matching lines + xdiff-interface: allow early return from xdiff_emit_line_fn + xdiff-interface: prepare for allowing early return + pickaxe -S: slightly optimize contains() + pickaxe: rename variables in has_changes() for brevity + pickaxe -S: support content with NULs under --pickaxe-regex + pickaxe: assert that we must have a needle under -G or -S + pickaxe: refactor function selection in diffcore-pickaxe() + perf: add performance test for pickaxe + pickaxe/style: consolidate declarations and assignments + diff.h: move pickaxe fields together again + pickaxe: die when --find-object and --pickaxe-all are combined + pickaxe: die when -G and --pickaxe-regex are combined + pickaxe tests: add missing test for --no-pickaxe-regex being an error + pickaxe tests: test for -G, -S and --find-object incompatibility + pickaxe tests: add test for "log -S" not being a regex + pickaxe tests: add test for diffgrep_consume() internals + pickaxe tests: refactor to use test_commit --append --printf + grep/pcre2 tests: reword comments referring to kwset Rewrite the backend for "diff -G/-S" to use pcre2 engine when available. Will merge to 'master'. * ab/config-based-hooks-base (2021-06-29) 33 commits - hooks: fix a TOCTOU in "did we run a hook?" heuristic - receive-pack: convert receive hooks to hook.h - post-update: use hook.h library - receive-pack: convert 'update' hook to hook.h - hooks: allow callers to capture output - run-command: allow capturing of collated output - reference-transaction: use hook.h to run hooks - transport: convert pre-push hook to use config - hook: convert 'post-rewrite' hook in sequencer.c to hook.h - hook: provide stdin by string_list or callback - run-command: add stdin callback for parallelization - am: convert 'post-rewrite' hook to hook.h - hook: support passing stdin to hooks - run-command: allow stdin for run_processes_parallel - run-command: remove old run_hook_{le,ve}() hook API - receive-pack: convert push-to-checkout hook to hook.h - read-cache: convert post-index-change hook to use config - commit: use hook.h to execute hooks - git-p4: use 'git hook' to run hooks - send-email: use 'git hook run' for 'sendemail-validate' - git hook run: add an --ignore-missing flag - merge: use config-based hooks for post-merge hook - hooks: convert 'post-checkout' hook to hook library - am: convert applypatch hooks to use config - rebase: teach pre-rebase to use hook.h - gc: use hook library for pre-auto-gc hook - hook: add 'run' subcommand - hook-list.h: add a generated list of hooks, like config-list.h - hook.c: add a hook_exists() wrapper and use it in bugreport.c - hook.[ch]: move find_hook() to this new library - Makefile: remove an out-of-date comment - Makefile: stop hardcoding {command,config}-list.h - Makefile: mark "check" target as .PHONY Restructuring of (a subset of) Emily's config-based-hooks series, to demonstrate that a series can be presented as a more logical and focused progression. Waiting for reviews. * ab/doc-retire-alice-bob (2021-06-16) 6 commits - pack-protocol doc: use "www-data" in place of "alice" - doc: replace "alice" and "bob" with "jdoe" and "msmith" - fast-import doc: change "bob" in an example to "file.txt" - daemon doc + code comments: reword "alice" example - gitcvs-migration doc: replace "alice" and "bob" with "you" and "www-da= ta" - gittutorial doc: replace "alice" and "bob" with "you" and "www-data" Documentation update to avoid Alice and Bob in contexts where Eve does not appear in. Will discard. Let's shelve this one for now, as it does not seem to solve any real problems (other than ceasing to use Alice and Bob in contexts that do not call for Eve). * ab/pre-auto-gc-hook-test (2021-06-16) 1 commit (merged to 'next' on 2021-07-06 at 305a15ee1d) + gc tests: add a test for the "pre-auto-gc" hook Test fix. Will merge to 'master'. * en/ort-perf-batch-13 (2021-06-28) 5 commits (merged to 'next' on 2021-07-08 at 39aad121d3) + merge-ort: add prefetching for content merges + diffcore-rename: use a different prefetch for basename comparisons + diffcore-rename: allow different missing_object_cb functions + t6421: add tests checking for excessive object downloads during merge + promisor-remote: output trace2 statistics for number of objects fetche= d Performance tweaks of "git merge -sort" around lazy fetching of objects. Will merge to 'master'. * ab/serve-cleanup (2021-06-28) 8 commits - upload-pack.c: convert to new serve.c "startup" config cb - serve: add support for a "startup" git_config() callback - serve.c: add trace2 regions for advertise & command - serve.c: add call_{advertise,command}() indirection - serve: use designated initializers - transport: use designated initializers - transport: rename "fetch" in transport_vtable to "fetch_refs" - serve: mark has_capability() as static Code clean-up around "git serve". Comments? * jk/union-merge-binary (2021-06-11) 3 commits (merged to 'next' on 2021-07-06 at 5e77055895) + ll_union_merge(): rename path_unused parameter + ll_union_merge(): pass name labels to ll_xdl_merge() + ll_binary_merge(): handle XDL_MERGE_FAVOR_UNION The "union" conflict resultion variant misbehaved when used with binary merge driver. Will merge to 'master'. * jt/partial-clone-submodule-1 (2021-06-28) 5 commits - promisor-remote: teach lazy-fetch in any repo - run-command: refactor subprocess env preparation - submodule: refrain from filtering GIT_CONFIG_COUNT - promisor-remote: support per-repository config - repository: move global r_f_p_c to repo struct Prepare the internals for lazily fetching objects in submodules from their promisor remotes. Will merge to 'next'. * ab/mktag-tests (2021-06-28) 6 commits (merged to 'next' on 2021-07-08 at bfd55b0a38) + mktag tests: test fast-export + mktag tests: test for-each-ref + mktag tests: test update-ref and reachable fsck + mktag tests: test hash-object --literally and unreachable fsck + mktag tests: invert --no-strict test + mktag tests: parse out options in helper Fill test gaps. Will merge to 'master'. * ab/show-branch-tests (2021-06-28) 4 commits (merged to 'next' on 2021-07-08 at 47f90868cf) + show-branch tests: add missing tests + show-branch: don't for space characters + show-branch tests: modernize test code + show-branch tests: rename the one "show-branch" test file Fill test gaps. Will merge to 'master'. * es/superproject-aware-submodules (2021-06-16) 5 commits - SQUASH??? - submodule: cache superproject gitdir during 'update' - submodule: cache superproject gitdir during absorbgitdirs - introduce submodule.superprojectGitDir cache - t7400-submodule-basic: modernize inspect() helper A configuration variable in a submodule points at the location of the superproject it is bound to (RFC). Waiting for reviews. * en/zdiff3 (2021-06-15) 2 commits - update documentation for new zdiff3 conflictStyle - xdiff: implement a zealous diff3, or "zdiff3" "Zealous diff3" style of merge conflict presentation has been added. Expecting a reroll. cf. * pw/diff-color-moved-fix (2021-06-15) 10 commits - diff --color-moved: intern strings - diff --color-moved-ws=3Dallow-indentation-change: improve hash lookups - diff --color-moved: stop clearing potential moved blocks - diff --color-moved: shrink potential moved blocks as we go - diff --color-moved: unify moved block growth functions - diff --color-moved: call comparison function directly - diff --color-moved-ws=3Dallow-indentation-change: simplify and optimiz= e - diff: simplify allow-indentation-change delta calculation - diff --color-moved: avoid false short line matches and bad zebra color= ing - diff --color-moved=3Dzebra: fix alternate coloring Long-overdue correctness and performance update to "diff --color-moved" feature. Expecting a reroll. cf. <094f5e5f-d447-8867-a9a7-be5c8827bba6@gmail.com> * hn/refs-errno-cleanup (2021-07-07) 6 commits - refs: make errno output explicit for refs_resolve_ref_unsafe - refs: explicitly return failure_errno from parse_loose_ref_contents - refs: add failure_errno to refs_read_raw_ref() signature - refs: make errno output explicit for read_raw_ref_fn - refs/files-backend: stop setting errno from lock_ref_oid_basic - refs: remove EINVAL errno output from specification of read_raw_ref_fn Futz with the way 'errno' is relied on in the refs API to carry the failure modes up the callchain. Will merge to 'next'. * ab/test-tool-cache-cleanup (2021-06-08) 4 commits - read-cache perf: add a perf test for refresh_index() - test-tool: migrate read-cache-again to parse_options() - test-tool: migrate read-cache-perf to parse_options() - test-tool: split up test-tool read-cache Test code shuffling. Waiting for reviews. * ab/pack-objects-stdin (2021-06-28) 4 commits - pack-objects.c: make use of REV_INFO_STDIN_LINE_PROCESS - pack-objects.c: do stdin parsing via revision.c's API - revision.h: refactor "disable_stdin" and "read_from_stdin" - upload-pack: run is_repository_shallow() before setup_revisions() Code clean-up. * ar/submodule-add (2021-07-08) 4 commits - submodule--helper: introduce add-clone subcommand - submodule--helper: refactor module_clone() - submodule: prefix die messages with 'fatal' - t7400: test failure to add submodule in tracked path Rewrite of "git submodule" in C continues. Will merge to 'next'. * ds/gender-neutral-doc (2021-06-16) 3 commits - *: fix typos - comments: avoid using the gender of our users - doc: avoid using the gender of other people (this branch is used by ds/gender-neutral-doc-guidelines.) Update the documentation not to assume users are of certain gender and adds to guidelines to do so. Will merge to 'next'. * ds/gender-neutral-doc-guidelines (2021-06-16) 2 commits - SQUASH??? replace neutering tips with that of =C3=86ver - CodingGuidelines: recommend singular they (this branch uses ds/gender-neutral-doc.) Attempt to give a guideline for gender neutral documentation.=20 Comments? * gh/gitweb-branch-sort (2021-06-10) 1 commit - gitweb: use HEAD as secondary sort key in git_get_heads_list() Tie-break branches that point at the same object in the list of branches on GitWeb to show the one pointed at by HEAD early. Waiting for reviews. * lh/systemd-timers (2021-07-02) 3 commits - maintenance: add support for systemd timers on Linux - maintenance: `git maintenance run` learned `--scheduler=3D` - cache.h: Introduce a generic "xdg_config_home_for(=E2=80=A6)" function "git maintenance" scheduler learned to use systemd timers as a possible backend. Waiting for reviews. * fc/completion-updates (2021-06-07) 4 commits - completion: bash: add correct suffix in variables - completion: bash: fix for multiple dash commands - completion: bash: fix for suboptions with value - completion: bash: fix prefix detection in branch.* Command line completion updates. Expecting a reroll. cf. <60be6f7fa4435_db80d208f2@natae.notmuch> * mr/cmake (2021-06-11) 3 commits (merged to 'next' on 2021-07-06 at efc86eb8fb) + cmake: add warning for ignored MSGFMT_EXE + cmake: create compile_commands.json by default + cmake: add knob to disable vcpkg CMake update. Will merge to 'master'. * ab/update-submitting-patches (2021-06-08) 3 commits - SubmittingPatches: remove pine-specific hints from MUA hints - SubmittingPatches: replace discussion of Travis with GitHub Actions - SubmittingPatches: move discussion of Signed-off-by above "send" Reorganize and update the SubmitingPatches document. Expecting a reroll. cf. <20210607172542.GA6312@szeder.dev> cf. * hn/prep-tests-for-reftable (2021-06-02) 22 commits (merged to 'next' on 2021-07-06 at 0d6f79d079) + t1415: set REFFILES for test specific to storage format + t4202: mark bogus head hash test with REFFILES + t7003: check reflog existence only for REFFILES + t7900: stop checking for loose refs + t1404: mark tests that muck with .git directly as REFFILES. + t2017: mark --orphan/logAllRefUpdates=3Dfalse test as REFFILES + t1414: mark corruption test with REFFILES + t1407: require REFFILES for for_each_reflog test + test-lib: provide test prereq REFFILES + t5304: use "reflog expire --all" to clear the reflog + t5304: restyle: trim empty lines, drop ':' before > + t7003: use rev-parse rather than FS inspection + t5000: inspect HEAD using git-rev-parse + t5000: reformat indentation to the latest fashion + t1301: fix typo in error message + t1413: use tar to save and restore entire .git directory + t1401-symbolic-ref: avoid direct filesystem access + t1401: use tar to snapshot and restore repo state + t5601: read HEAD using rev-parse + t9300: check ref existence using test-helper rather than a file system= check + t/helper/ref-store: initialize oid in resolve-ref + t4202: split testcase for invalid HEAD symref and HEAD hash Preliminary clean-up of tests before the main reftable changes hits the codebase. Will merge to 'master'. * zh/cat-file-batch-fix (2021-06-04) 2 commits (merged to 'next' on 2021-07-01 at 28b788e905) + cat-file: merge two block into one + cat-file: handle trivial --batch format with --batch-all-objects (this branch is used by zh/ref-filter-raw-data.) "git cat-file --batch-all-objects"" misbehaved when "--batch" is in use and did not ask for certain object traits. Will merge to 'master'. * fc/push-simple-updates (2021-06-02) 7 commits (merged to 'next' on 2021-07-06 at 95c114f930) + doc: push: explain default=3Dsimple correctly + push: remove unused code in setup_push_upstream() + push: simplify setup_push_simple() + push: reorganize setup_push_simple() + push: copy code to setup_push_simple() + push: hedge code of default=3Dsimple + push: rename !triangular to same_remote (this branch is used by fc/push-simple-updates-cleanup.) Some code and doc clarification around "git push". Will merge to 'master'. * fc/push-simple-updates-cleanup (2021-06-02) 13 commits (merged to 'next' on 2021-07-06 at da7fab5dc4) + push: don't get a full remote object + push: only check same_remote when needed + push: remove trivial function + push: remove redundant check + push: factor out the typical case + push: get rid of all the setup_push_* functions + push: trivial simplifications + push: make setup_push_* return the dst + push: only get the branch when needed + push: factor out null branch check + push: split switch cases + push: return immediately in trivial switch case + push: create new get_upstream_ref() helper (this branch uses fc/push-simple-updates.) Some more code and doc clarification around "git push". Will merge to 'master'. * en/ort-perf-batch-12 (2021-06-09) 4 commits (merged to 'next' on 2021-07-08 at 4807694598) + merge-ort: miscellaneous touch-ups + Fix various issues found in comments + diffcore-rename: avoid unnecessary strdup'ing in break_idx + merge-ort: replace string_list_df_name_compare with faster alternative More fix-ups and optimization to "merge -sort". Will merge to 'master'. * zh/ref-filter-raw-data (2021-07-01) 16 commits - ref-filter: remove grab_oid() function - cat-file: re-implement --textconv, --filters options - cat-file: reuse err buf in batch_object_write() - cat-file: reuse ref-filter logic - cat-file: change batch_objects parameter name - cat-file: add has_object_file() check - ref-filter: modify the error message and value in get_object - ref-filter: add cat_file_mode in struct ref_format - ref-filter: introduce free_ref_array_item_value() function - ref-filter: pass get_object() return value to their callers - ref-filter: add %(rest) atom - ref-filter: use non-const ref_format in *_atom_parser() - ref-filter: --format=3D%(raw) re-support --perl - ref-filter: add %(raw) atom - ref-filter: add obj-type check in grab contents - Merge branch 'zh/cat-file-batch-fix' into zh/ref-filter-raw-data (this branch uses zh/cat-file-batch-fix.) Prepare the "ref-filter" machinery that drives the "--format" option of "git for-each-ref" and its friends to be used in "git cat-file --batch". Heavy performance degradation has been observed with this series. * jh/builtin-fsmonitor (2021-07-01) 34 commits - t7527: test FS event reporing on MacOS WRT case and Unicode - fsmonitor: handle shortname for .git - t7527: test status with untracked-cache and fsmonitor--daemon - fsmonitor: force update index after large responses - fsmonitor: enhance existing comments - fsmonitor--daemon: use a cookie file to sync with file system - fsmonitor--daemon: periodically truncate list of modified files - t7527: create test for fsmonitor--daemon - t/perf/p7519: add fsmonitor--daemon test cases - t/perf: avoid copying builtin fsmonitor files into test repo - t/perf/p7519: speed up test using "test-tool touch" - t/helper/test-touch: add helper to touch a series of files - fsmonitor--daemon: implement handle_client callback - fsmonitor-fs-listen-macos: implement FSEvent listener on MacOS - fsmonitor-fs-listen-macos: add macos header files for FSEvent - fsmonitor-fs-listen-win32: implement FSMonitor backend on Windows - fsmonitor--daemon: create token-based changed path cache - fsmonitor--daemon: define token-ids - fsmonitor--daemon: add pathname classification - fsmonitor: do not try to operate on bare repos - fsmonitor--daemon: implement 'start' command - fsmonitor--daemon: implement 'run' command - fsmonitor-fs-listen-macos: stub in backend for MacOS - fsmonitor-fs-listen-win32: stub in backend for Windows - t/helper/fsmonitor-client: create IPC client to talk to FSMonitor Daem= on - fsmonitor--daemon: implement 'stop' and 'status' commands - fsmonitor--daemon: add a built-in fsmonitor daemon - fsmonitor: use IPC to query the builtin FSMonitor daemon - fsmonitor: config settings are repository-specific - help: include fsmonitor--daemon feature flag in version info - fsmonitor-ipc: create client routines for git-fsmonitor--daemon - fsmonitor--daemon: update fsmonitor documentation - fsmonitor--daemon: man page - simple-ipc: preparations for supporting binary messages. An attempt to write and ship with a watchman equivalent tailored for our use. Will merge to 'next'. * es/trace2-log-parent-process-name (2021-06-09) 1 commit - tr2: log parent process name trace2 logs learned to show parent process name to see in what context Git was invoked. Expecting a reroll. cf. * ab/send-email-optim (2021-05-28) 13 commits (merged to 'next' on 2021-07-08 at 35ac315894) + perl: nano-optimize by replacing Cwd::cwd() with Cwd::getcwd() + send-email: move trivial config handling to Perl + perl: lazily load some common Git.pm setup code + send-email: lazily load modules for a big speedup + send-email: get rid of indirect object syntax + send-email: use function syntax instead of barewords + send-email: lazily shell out to "git var" + send-email: lazily load config for a big speedup + send-email: copy "config_regxp" into git-send-email.perl + send-email: refactor sendemail.smtpencryption config parsing + send-email: remove non-working support for "sendemail.smtpssl" + send-email tests: test for boolean variables without a value + send-email tests: support GIT_TEST_PERL_FATAL_WARNINGS=3Dtrue "git send-email" optimization. Will merge to 'master'. * ab/fsck-unexpected-type (2021-06-28) 21 commits - fsck: report invalid object type-path combinations - fsck: report invalid types recorded in objects - object-store.h: move read_loose_object() below 'struct object_info' - fsck: don't hard die on invalid object types - object-file.c: return -2 on "header too long" in unpack_loose_header() - object-file.c: return -1, not "status" from unpack_loose_header() - object-file.c: guard against future bugs in loose_object_info() - object-file.c: stop dying in parse_loose_header() - object-file.c: split up ternary in parse_loose_header() - object-file.c: simplify unpack_loose_short_header() - object-file.c: add missing braces to loose_object_info() - object-file.c: make parse_loose_header_extended() public - object-file.c: don't set "typep" when returning non-zero - cache.h: move object functions to object-store.h - cat-file tests: test for current --allow-unknown-type behavior - cat-file tests: add corrupt loose object test - rev-list tests: test for behavior with invalid object types - cat-file tests: test that --allow-unknown-type isn't on by default - cat-file tests: test for missing object with -t and -s - fsck tests: add test for fsck-ing an unknown type - fsck tests: refactor one test to use a sub-repo "git fsck" has been taught to report mismatch between expected and actual types of an object better. Needs review.