From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 7C6171F542 for ; Tue, 13 Jun 2023 02:28:18 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=XNzZR9fe; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbjFMC2L (ORCPT ); Mon, 12 Jun 2023 22:28:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232117AbjFMC2J (ORCPT ); Mon, 12 Jun 2023 22:28:09 -0400 Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3E2F10EC for ; Mon, 12 Jun 2023 19:28:05 -0700 (PDT) Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-1a6945925ddso1598986fac.1 for ; Mon, 12 Jun 2023 19:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686623284; x=1689215284; h=mime-version:user-agent:message-id:date:subject:to:from:sender:from :to:cc:subject:date:message-id:reply-to; bh=yRHZDvTGCOOlFhClXVXDlDW0Re6Vt1i0gOpQxSlXEAk=; b=XNzZR9feWMpU2Yj9uqPIlv3B+zimLn/BDqHvk1muNQp/dhZmfvO1soZu4baOF+PpZT g4fWUhw/lsoc9uIycAJob9y5YiB19tBzMwS9byuxY9MRBCr8w0IZDunJffHV8oK4PdRH L82Tt7YOG1ZSinXlVEOQi5JuQUXLX/sYPCColxk39tQ+b5N6ope76X3Bqk2atjXl0MDI KDoVHVx4FcaVqlfcneD1ewDLX5e6viPtEHCJPkIND6SwzSEwYFMbUYPQs0bqOW2Zd2b+ sVT0mbc0ru+65N5dUBju9C/mhouQahBuRxBX4xL198nlDKN7g64Yu72+FY2oil7lwSze NHKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686623284; x=1689215284; 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=yRHZDvTGCOOlFhClXVXDlDW0Re6Vt1i0gOpQxSlXEAk=; b=LLlrnDKJ1Mj/w4oeZhXqoE3ex8gDJLUAMF2RYCIKTKUfkNRgps0RWjP9x2p0Ih7lat 0NR6+oaoID4ODAX1DtRKQmz+2LBrefb6YQ7M682QBy6l+MyyknNoOciUp53kStWXNCbZ q2Ob2zvHNWlfhDha9Dp0CMr/M3QvO/hfteBzRb2XNOZ+nOzEa2OY1PT/Uytxz5jOwnwQ skTkzwiXb1C1YDHqg44hUI1tiD4JaM0SUs1VsAA9Z+OSI1Ep0eSkpfB/2ECn8/mDVN0r DdsNxUWe4qRD7nnCLM+6JKHm7uLduzlMdzTRKRbkiSNLei3FHY+Q0gF8KNpoFRMBFExp DW4Q== X-Gm-Message-State: AC+VfDyg5ubmmHGQBMIdvmChcSBUbViEvOgm9lVQk4ASPxy3LYt809TG XXdD38Riof+1A+TdOtoEJ1ioAVC2rd0= X-Google-Smtp-Source: ACHHUZ57LSST+5XWPthiZOhJ1j0ec5Gj3Uw4JK2Rjl3qvWQfBXFII+0z/hTwo67hVYA5nTYsnte2zQ== X-Received: by 2002:a54:4f84:0:b0:39c:4563:d23c with SMTP id g4-20020a544f84000000b0039c4563d23cmr5866710oiy.46.1686623283265; Mon, 12 Jun 2023 19:28:03 -0700 (PDT) Received: from localhost (128.65.83.34.bc.googleusercontent.com. [34.83.65.128]) by smtp.gmail.com with ESMTPSA id l18-20020a170903245200b001b3ec39f40asm214409pls.270.2023.06.12.19.28.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 19:28:02 -0700 (PDT) Sender: Junio C Hamano From: Junio C Hamano To: git@vger.kernel.org Subject: What's cooking in git.git (Jun 2023, #03; Mon, 12) X-master-at: fe86abd7511a9a6862d5706c6fa1d9b57a63ba09 X-next-at: 0019c0ddb0f4de1640983ab94f7f6608e68b7c17 Date: Mon, 12 Jun 2023 19:28:02 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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 and may be annotated with an URL to a message that raises issues but they are no means exhaustive. A topic without enough support may be discarded after a long period of no activity (of course they can be resubmit when new interests arise). Sorry for being rather quiet for a few weeks. I was visiting Japan, attending a couple of memorial services, and then got sick and was in bed for about a week X-<. It makes you feel really old when a friend from your highschool days passes away. I think I've caught up with the list traffic, but stale topics may want to be re-sent. 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/ -------------------------------------------------- [New Topics] * as/dtype-compilation-fix (2023-06-12) 1 commit - statinfo.h: move DTYPE defines from dir.h Compilation fix for platforms without D_TYPE in struct dirent. Will merge to 'next'. source: <20230606205935.3183276-1-asedeno@google.com> * la/docs-typofixes (2023-06-12) 1 commit - docs: typofixes Typofixes. Will merge to 'next'. source: * mh/mingw-case-sensitive-build (2023-06-12) 1 commit - mingw: use lowercase includes for some Windows headers Names of MinGW header files are spelled in mixed case in some source files, but the build host can be using case sensitive filesystem with header files with their name spelled in all lowercase. Needs review. source: <20230604211934.1365289-1-mh@glandium.org> * pb/complete-diff-options (2023-06-12) 25 commits - diff.c: mention completion above add_diff_options - completion: complete --remerge-diff - completion: complete --diff-merges, its options and --no-diff-merges - completion: move --pickaxe-{all,regex} to __git_diff_common_options - completion: complete --ws-error-highlight - completion: complete --unified - completion: complete --patch-with-raw - completion: complete --output-indicator-{context,new,old} - completion: complete --output - completion: complete --no-stat - completion: complete --no-relative - completion: complete --line-prefix - completion: complete --ita-invisible-in-index and --ita-visible-in-index - completion: complete --irreversible-delete - completion: complete --ignore-matching-lines - completion: complete --function-context - completion: complete --find-renames - completion: complete --find-object - completion: complete --find-copies - completion: complete --default-prefix - completion: complete --compact-summary - completion: complete --combined-all-paths - completion: complete --cc - completion: complete --break-rewrites - completion: add comments describing __git_diff_* globals Completion updates. Expecting a reroll. cf. <5cba334c-4d75-0dac-20c6-9e3def1f224a@gmail.com> source: * rj/leakfixes (2023-06-12) 6 commits - branch: fix a leak in setup_tracking - branch: fix a leak in check_tracking_branch - branch: fix a leak in inherit_tracking - branch: fix a leak in dwim_and_setup_tracking - remote: fix a leak in query_matches_negative_refspec - config: fix a leak in git_config_copy_or_rename_section_in_file Leakfixes (subset) Will merge to 'next'. source: <9eb931e7-dd18-8ce8-4d4a-cf3d85066189@gmail.com> * rs/run-command-exec-error-on-noent (2023-06-12) 2 commits - run-command: report exec error even on ENOENT - t1800: loosen matching of error message for bad shebang Simplify error message when run-command fails to start a command. Will merge to 'next'. source: <14e1be60-3765-0ba5-00f5-2848bb57bf53@web.de> * sl/worktree-sparse (2023-06-12) 1 commit - worktree: integrate with sparse-index "git worktree" learned to work better with sparse index feature. Will merge to 'next'. source: <20230606172633.669916-1-cheskaqiqi@gmail.com> * tb/collect-pack-filenames-fix (2023-06-12) 1 commit - builtin/repack.c: only collect fully-formed packs Avoid breakage of "git pack-objects --cruft" due to inconsistency between the way the code enumerates packfiles in the repository. Will merge to 'next'? source: <20230607101617.ges6tnMry4E52lDGld43QgtNUsIS4YQq6w-t71hEfkQ@z> * tb/open-midx-bitmap-fallback (2023-06-12) 1 commit - pack-bitmap.c: gracefully degrade on failure to load MIDX'd pack Gracefully deal with a stale MIDX file that lists a packfile that no longer exists. Will merge to 'next'. source: * tz/lib-gpg-prereq-fix (2023-06-12) 1 commit - t/lib-gpg: require GPGSSH for GPGSSH_VERIFYTIME prereq Test update. Will merge to 'next'. source: <20230606214707.55739-1-tmz@pobox.com> -------------------------------------------------- [Stalled] * ed/fsmonitor-windows-named-pipe (2023-03-24) 1 commit - fsmonitor: handle differences between Windows named pipe functions Fix fsmonitor on Windows when the filesystem path contains certain characters. Expecting a reroll. cf. source: * rn/sparse-diff-index (2023-04-10) 1 commit - diff-index: enable sparse index "git diff-index" command has been taught to work better with the sparse index. Expecting a reroll. cf. <62821012-4fc3-5ad8-695c-70f7ab14a8c9@github.com> source: <20230408112342.404318-1-nanth.raghul@gmail.com> * es/recurse-submodules-option-is-a-bool (2023-04-10) 1 commit - usage: clarify --recurse-submodules as a boolean The "--[no-]recurse-submodules" option of "git checkout" and others supported an undocumented syntax --recurse-submodules= where the value can spell a Boolean in various ways. The support for the syntax is being dropped. Expecting a reroll. cf. source: * tb/pack-bitmap-index-seek (2023-03-20) 6 commits - pack-bitmap.c: factor out `bitmap_index_seek_commit()` - pack-bitmap.c: use `bitmap_index_seek()` where possible - pack-bitmap.c: factor out manual `map_pos` manipulation - pack-bitmap.c: drop unnecessary 'inline's - pack-bitmap.c: hide bitmap internals in `read_be32()` - pack-bitmap.c: hide bitmap internals in `read_u8()` Clean-up the pack-bitmap codepath. Kicked back to 'seen' out of 'next'. There is a BUG() on data errors that needs to be fixed. source: * cb/checkout-same-branch-twice (2023-03-22) 2 commits - SQUASH??? the test marked to expect failure passes from day one - checkout/switch: disallow checking out same branch in multiple worktrees "git checkout -B $branch" failed to protect against checking out a branch that is checked out elsewhere, unlike "git branch -f" did. Expecting a hopefully minor and final reroll. cf. source: <20230120113553.24655-1-carenas@gmail.com> * tk/pull-conflict-suggest-rebase-merge-not-rebase-true (2023-02-13) 1 commit - pull: conflict hint pull.rebase suggestion should offer "merges" vs "true" In an advice message after failed non-ff pull, we used to suggest setting pull.rebase=true, but these days pull.rebase=merges may be more inline with the original spirit of "rebuild your side on top of theirs". May want to discard. This is too much of a departure from the existing practice. cf. cf. source: * ab/tag-object-type-errors (2023-05-10) 4 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 - 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. source: * ad/test-record-count-when-harness-is-in-use (2022-12-25) 1 commit - test-lib: allow storing counts with test harnesses Allow summary results from tests to be written to t/test-results directory even when a test harness like 'prove' is in use. Expecting a reroll. cf. source: <20221224225200.1027806-1-adam@dinwoodie.org> * so/diff-merges-more (2022-12-18) 5 commits - diff-merges: improve --diff-merges documentation - diff-merges: issue warning on lone '-m' option - diff-merges: support list of values for --diff-merges - 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. May want to discard. Breaking compatibility does not seem worth it. source: <20221217132955.108542-1-sorganov@gmail.com> * ab/imap-send-requires-curl (2023-02-02) 6 commits - imap-send: correctly report "host" when using "tunnel" - imap-send: remove old --no-curl codepath - imap-send: make --curl no-optional - imap-send: replace auto-probe libcurl with hard dependency - imap-send doc: the imap.sslVerify is used with imap.tunnel - imap-send: note "auth_method", not "host" on auth method failure Give a hard dependency on cURL library to build "git imap-send", and remove the code to interact with IMAP server without using cURL. Expecting a reroll. The 'tunnel' part is still iffy. cf. <230203.86bkmabfjr.gmgdl@evledraar.gmail.com> source: * cw/submodule-status-in-parallel (2023-03-02) 6 commits - diff-lib: parallelize run_diff_files for submodules - diff-lib: refactor out diff_change logic - submodule: refactor is_submodule_modified() - submodule: move status parsing into function - submodule: rename strbuf variable - run-command: add on_stderr_output_fn to run_processes_parallel_opts "git submodule status" learned to run the comparison in submodule repositories in parallel. Expecting a reroll. cf. cf. <230307.865ybc273g.gmgdl@evledraar.gmail.com> source: <20230302215237.1473444-1-calvinwan@google.com> -------------------------------------------------- [Cooking] * jk/ci-use-clang-for-sanitizer-jobs (2023-06-03) 3 commits - ci: drop linux-clang job - ci: run ASan/UBSan in a single job - ci: use clang for ASan/UBSan checks Clang's sanitizer implementation seems to work better than GCC's. Will merge to 'next'. source: <20230601180220.GA4167745@coredump.intra.peff.net> * jk/log-follow-with-non-literal-pathspec (2023-06-03) 3 commits - diff: detect pathspec magic not supported by --follow - diff: factor out --follow pathspec check - pathspec: factor out magic-to-name function "git [-c log.follow=true] log [--follow] ':(glob)f**'" used to barf. Will merge to 'next'. source: <20230601173724.GA4158369@coredump.intra.peff.net> * kh/use-default-notes-doc (2023-06-06) 2 commits - notes: move the documentation to the struct - notes: update documentation for `use_default_notes` Will merge to 'next'. source: * ps/cat-file-null-output (2023-06-12) 5 commits - cat-file: add option '-Z' that delimits input and output with NUL - cat-file: simplify reading from standard input - strbuf: provide CRLF-aware helper to read until a specified delimiter - t1006: modernize test style to use `test_cmp` - t1006: don't strip timestamps from expected results "git cat-file --batch" and friends learned "-Z" that uses NUL delimiter for both input and output. Will merge to 'next'. source: * tl/quote-problematic-arg-for-clarity (2023-06-03) 1 commit - surround %s with quotes when failed to lookup commit Error message fix. Will merge to 'next'. source: <1f7c62a8870433792076fae30d6c4dc4b61a00d8.1685366301.git.dyroneteng@gmail.com> * ds/add-i-color-configuration-fix (2023-06-12) 2 commits - add: test use of brackets when color is disabled - add: check color.ui for interactive add The reimplemented "git add -i" did not honor color.ui configuration. Will merge to 'next'. source: * ks/ref-filter-signature (2023-06-06) 2 commits - ref-filter: add new "signature" atom - t/lib-gpg: introduce new prereq GPG2 The "git for-each-ref" family of commands learned placeholders related to GPG signature verification. Needs review. source: <20230604185815.15761-1-five231003@gmail.com> * mh/commit-reach-get-reachable-plug-leak (2023-06-04) 1 commit - commit-reach: fix memory leak in get_reachable_subset() Plug memory leak. Will merge to 'next'. source: <20230603002819.1122129-1-mh@glandium.org> * ds/disable-replace-refs (2023-06-12) 3 commits - repository: create read_replace_refs setting - replace-objects: create wrapper around setting - repository: create disable_replace_refs() (this branch uses tb/pack-bitmap-traversal-with-boundary.) Introduce a mechanism to disable replace refs globally and per repository. Will merge to 'next'. source: * tz/test-fix-pthreads-prereq (2023-05-26) 1 commit - trace2 tests: fix PTHREADS prereq Test fix. Will merge to 'next'. source: <20230525031218.3554586-1-tmz@pobox.com> * tz/test-ssh-verifytime-fix (2023-05-26) 1 commit - t/lib-gpg: fix ssh-keygen -Y check-novalidate with openssh-9.0 Test fix. Will merge to 'next'. source: <20230525031026.3554406-1-tmz@pobox.com> * vd/worktree-config-is-per-repository (2023-05-26) 3 commits - repository: move 'repository_format_worktree_config' to repo scope - config: pass 'repo' directly to 'config_with_options()' - config: use gitdir to get worktree config The value of config.worktree is per-repository, but has been kept in a singleton global variable per process. This has been OK as most Git operations interacted with a single repository at a time, but not right for operations like recursive "grep" that want to access multiple repositories from a single process without forking. The global variable has been eliminated and made into a member in the per-repository data structure. Will merge to 'next'. cf. <3145f4f3-7bd4-8a1b-4943-11b7d22b60c6@github.com> cf. source: * tb/submodule-null-deref-fix (2023-05-25) 1 commit - builtin/submodule--helper.c: handle missing submodule URLs "git submodule" code trusted the data coming from the config (and the in-tree .gitmodules file) too much without validating, leading to NULL dereference if the user mucks with a repository (e.g. submodule..url is removed). This has been corrected. Will merge to 'next'. source: * jc/test-modernization-2 (2023-05-23) 10 commits - t9400-git-cvsserver-server: modernize test format - t9200-git-cvsexportcommit: modernize test format - t9104-git-svn-follow-parent: modernize test format - t9100-git-svn-basic: modernize test format - t7700-repack: modernize test format - t7600-merge: modernize test format - t7508-status: modernize test format - t7201-co: modernize test format - t7111-reset-table: modernize test format - t7110-reset-merge: modernize test format (this branch uses jc/test-modernization.) Test style updates. Will merge to 'next'. source: * jt/path-filter-fix (2023-06-12) 4 commits - commit-graph: new filter ver. that fixes murmur3 - repo-settings: introduce commitgraph.changedPathsVersion - t4216: test changed path filters with high bit paths - gitformat-commit-graph: describe version 2 of BDAT The Bloom filter used for path limited history traversal was broken on systems whose "char" is unsigned; update the implementation and bump the format version to 2. Will merge to 'next'? source: * tk/cherry-pick-sequence-requires-clean-worktree (2023-06-01) 1 commit - cherry-pick: refuse cherry-pick sequence if index is dirty "git cherry-pick A" that replays a single commit stopped before clobbering local modification, but "git cherry-pick A..B" did not, which has been corrected. Expecting a reroll. cf. <999f12b2-38d6-f446-e763-4985116ad37d@gmail.com> source: * mh/credential-libsecret-attrs (2023-05-17) 1 commit - credential/libsecret: store new attributes The way authentication related data other than passwords (e.g. oath token and password expiration data) are stored in libsecret keyrings has been rethought. Needs review. source: * ps/fetch-cleanups (2023-05-17) 9 commits - fetch: use `fetch_config` to store "submodule.fetchJobs" value - fetch: use `fetch_config` to store "fetch.parallel" value - fetch: use `fetch_config` to store "fetch.recurseSubmodules" value - fetch: use `fetch_config` to store "fetch.showForcedUpdates" value - fetch: use `fetch_config` to store "fetch.pruneTags" value - fetch: use `fetch_config` to store "fetch.prune" value - fetch: pass through `fetch_config` directly - fetch: drop unneeded NULL-check for `remote_ref` - fetch: drop unused DISPLAY_FORMAT_UNKNOWN enum value Code clean-up. Will merge to 'next'. cf. <20230519002128.GD2442034@coredump.intra.peff.net> source: * sl/diff-tree-sparse (2023-05-18) 1 commit (merged to 'next' on 2023-05-24 at 5d4f2dec4d) + diff-tree: integrate with sparse index "git diff-tree" has been taught to take advantage of the sparse-index feature. Will merge to 'master'. cf. <2a2b7223-bb5d-65f9-95bb-9be45d329c87@github.com> source: <20230518154454.475487-1-cheskaqiqi@gmail.com> * jk/format-patch-message-id-unleak (2023-05-19) 2 commits (merged to 'next' on 2023-05-23 at 44b9e1ab91) + format-patch: free elements of rev.ref_message_ids list + format-patch: free rev.message_id when exiting Leakfix. Will merge to 'master'. source: <20230519000239.GA1975039@coredump.intra.peff.net> * jc/test-modernization (2023-05-19) 20 commits - t7101-reset-empty-subdirs: modernize test format - t6050-replace: modernize test format - t5306-pack-nobase: modernize test format - t5303-pack-corruption-resilience: modernize test format - t5301-sliding-window: modernize test format - t5300-pack-object: modernize test format - t4206-log-follow-harder-copies: modernize test format - t4202-log: modernize test format - t4004-diff-rename-symlink: modernize test format - t4003-diff-rename-1: modernize test format - t4002-diff-basic: modernize test format - t3903-stash: modernize test format - t3700-add: modernize test format - t3500-cherry: modernize test format - t1006-cat-file: modernize test format - t1002-read-tree-m-u-2way: modernize test format - t1001-read-tree-m-2way: modernize test format - t3210-pack-refs: modernize test format - t0030-stripspace: modernize test format - t0000-basic: modernize test format (this branch is used by jc/test-modernization-2.) Will merge to 'next'. source: * ja/worktree-orphan (2023-05-17) 8 commits - worktree add: emit warn when there is a bad HEAD - worktree add: extend DWIM to infer --orphan - worktree add: introduce "try --orphan" hint - worktree add: add --orphan flag - t2400: add tests to verify --quiet - t2400: refactor "worktree add" opt exclusion tests - t2400: cleanup created worktree in test - worktree add: include -B in usage docs 'git worktree add' learned how to create a worktree based on an orphaned branch with `--orphan`. Will merge to 'next'. source: <20230517214711.12467-1-jacobabel@nullpo.dev> * kh/keep-tag-editmsg-upon-failure (2023-05-16) 3 commits (merged to 'next' on 2023-05-19 at fc0fe3173d) + tag: keep the message file in case ref transaction fails + t/t7004-tag: add regression test for successful tag creation + doc: tag: document `TAG_EDITMSG` "git tag" learned to leave the "$GIT_DIR/TAG_EDITMSG" file when the command failed, so that the user can salvage what they typed. Will merge to 'master'. source: * sa/doc-ls-remote (2023-05-19) 6 commits (merged to 'next' on 2023-05-20 at d577bf75a0) + ls-remote doc: document the output format + ls-remote doc: explain what each example does + ls-remote doc: show peeled tags in examples + ls-remote doc: remove redundant --tags example + show-branch doc: say , not + show-ref doc: update for internal consistency Doc update. Will merge to 'master'. source: * tb/refs-exclusion-and-packed-refs (2023-06-12) 16 commits - ls-refs.c: avoid enumerating hidden refs where possible - upload-pack.c: avoid enumerating hidden refs where possible - builtin/receive-pack.c: avoid enumerating hidden references - refs.h: let `for_each_namespaced_ref()` take excluded patterns - refs/packed-backend.c: ignore complicated hidden refs rules - revision.h: store hidden refs in a `strvec` - refs/packed-backend.c: add trace2 counters for jump list - refs/packed-backend.c: implement jump lists to avoid excluded pattern(s) - refs/packed-backend.c: refactor `find_reference_location()` - refs: plumb `exclude_patterns` argument throughout - builtin/for-each-ref.c: add `--exclude` option - ref-filter.c: parameterize match functions over patterns - ref-filter: add `ref_filter_clear()` - ref-filter: clear reachable list pointers after freeing - ref-filter.h: provide `REF_FILTER_INIT` - refs.c: rename `ref_filter` Enumerating refs in the packed-refs file, while excluding refs that match certain patterns, has been optimized. source: * zh/ls-files-format-atoms (2023-05-23) 1 commit (merged to 'next' on 2023-05-24 at 116b11effb) + ls-files: align format atoms with ls-tree Some atoms that can be used in "--format=" for "git ls-tree" were not supported by "git ls-files", even though they were relevant in the context of the latter. Will merge to 'master'. source: * en/header-split-cache-h-part-3 (2023-05-16) 29 commits - fsmonitor-ll.h: split this header out of fsmonitor.h - hash-ll, hashmap: move oidhash() to hash-ll - object-store-ll.h: split this header out of object-store.h - khash: name the structs that khash declares - merge-ll: rename from ll-merge - git-compat-util.h: remove unneccessary include of wildmatch.h - builtin.h: remove unneccessary includes - list-objects-filter-options.h: remove unneccessary include - diff.h: remove unnecessary include of oidset.h - repository: remove unnecessary include of path.h - log-tree: replace include of revision.h with simple forward declaration - cache.h: remove this no-longer-used header - read-cache*.h: move declarations for read-cache.c functions from cache.h - repository.h: move declaration of the_index from cache.h - merge.h: move declarations for merge.c from cache.h - diff.h: move declaration for global in diff.c from cache.h - preload-index.h: move declarations for preload-index.c from elsewhere - sparse-index.h: move declarations for sparse-index.c from cache.h - name-hash.h: move declarations for name-hash.c from cache.h - run-command.h: move declarations for run-command.c from cache.h - statinfo: move stat_{data,validity} functions from cache/read-cache - read-cache: move shared add/checkout/commit code - add: modify add_files_to_cache() to avoid globals - read-cache: move shared commit and ls-files code - setup: adopt shared init-db & clone code - init-db, clone: change unnecessary global into passed parameter - init-db: remove unnecessary global variable - init-db: document existing bug with core.bare in template config - Merge branch 'en/header-split-cache-h-part-2' into en/header-split-cache-h-part-3 Header files cleanup. Will merge to 'next'. source: * la/doc-interpret-trailers (2023-06-12) 9 commits - doc: trailer: add more examples in DESCRIPTION - doc: trailer: mention 'key' in DESCRIPTION - doc: trailer..command: emphasize deprecation - doc: trailer: use angle brackets for and - doc: trailer: remove redundant phrasing - doc: trailer: examples: avoid the word "message" by itself - doc: trailer: drop "commit message part" phrasing - doc: trailer: swap verb order - doc: trailer: fix grammar Doc update. Will merge to 'next'. source: * cc/git-replay (2023-06-03) 15 commits - replay: stop assuming replayed branches do not diverge - replay: add --contained to rebase contained branches - replay: add --advance or 'cherry-pick' mode - replay: disallow revision specific options and pathspecs - replay: use standard revision ranges - replay: make it a minimal server side command - replay: remove HEAD related sanity check - replay: remove progress and info output - replay: add an important FIXME comment about gpg signing - replay: don't simplify history - replay: introduce pick_regular_commit() - replay: die() instead of failing assert() - replay: start using parse_options API - replay: introduce new builtin - t6429: remove switching aspects of fast-rebase source: <20230602102533.876905-1-christian.couder@gmail.com> * jc/pack-ref-exclude-include (2023-05-12) 3 commits (merged to 'next' on 2023-05-23 at 37333a2d00) + pack-refs: teach pack-refs --include option + pack-refs: teach --exclude option to exclude refs from being packed + docs: clarify git-pack-refs --all will pack all refs "git pack-refs" learns "--include" and "--exclude" to tweak the ref hierarchy to be packed using pattern matching. Will merge to 'master'. source: * tb/gc-recent-object-hook (2023-06-12) 2 commits - gc: introduce `gc.recentObjectsHook` - reachable.c: extract `obj_is_recent()` "git pack-objects" learned to invoke a new hook program that enumerates extra objects to be used as anchoring points to keep otherwise unreachable objects in cruft packs. Will merge to 'next'. source: * jc/diff-s-with-other-options (2023-05-05) 1 commit (merged to 'next' on 2023-05-20 at dda3826a68) + diff: fix interaction between the "-s" option and other options The "-s" (silent, squelch) option of the "diff" family of commands did not interact with other options that specify the output format well. This has been cleaned up so that it will clear all the formatting options given before. Will merge to 'master'. source: <20230505165952.335256-1-gitster@pobox.com> * ob/revert-of-revert (2023-05-05) 1 commit - sequencer: beautify subject of reverts of reverts Instead of "Revert "Revert "original"", give "Reapply "original"" as the title for a revert of a revert. Expecting a hopefully final reroll. Looking much better, except for minor cosmetic issues. source: <20230428083528.1699221-1-oswald.buddenhagen@gmx.de> * cw/strbuf-cleanup (2023-06-12) 7 commits - strbuf: remove global variable - path: move related function to path - object-name: move related functions to object-name - credential-store: move related functions to credential-store file - abspath: move related functions to abspath - strbuf: clarify dependency - strbuf: clarify API boundary Move functions that are not about pure string manipulation out of strbuf.[ch] source: <20230606194720.2053551-1-calvinwan@google.com> * tl/notes-separator (2023-04-28) 6 commits (merged to 'next' on 2023-05-06 at 598ed19c9b) + notes.c: introduce "--[no-]stripspace" option + notes.c: append separator instead of insert by pos + notes.c: introduce '--separator=' option + t3321: add test cases about the notes stripspace behavior + notes.c: use designated initializers for clarity + notes.c: cleanup 'strbuf_grow' call in 'append_edit' 'git notes append' was taught '--separator' to specify string to insert between paragraphs. On hold. source: * pw/rebase-i-after-failure (2023-04-21) 6 commits - rebase -i: fix adding failed command to the todo list - rebase: fix rewritten list for failed pick - rebase --continue: refuse to commit after failed command - sequencer: factor out part of pick_commits() - rebase -i: remove patch file after conflict resolution - rebase -i: move unlink() calls Various fixes to the behaviour of "rebase -i" when the command got interrupted by conflicting changes. Expecting a reroll. cf. cf. <1fd54422-b66a-c2e4-7cd7-934ea01190ad@gmail.com> source: * tb/pack-bitmap-traversal-with-boundary (2023-05-08) 3 commits - pack-bitmap.c: use commit boundary during bitmap traversal - pack-bitmap.c: extract `fill_in_bitmap()` - object: add object_array initializer helper function (this branch is used by ds/disable-replace-refs.) The object traversal using reachability bitmap done by "pack-object" has been tweaked to take advantage of the fact that using "boundary" commits as representative of all the uninteresting ones can save quite a lot of object enumeration. Will merge to 'next'. source: * gc/doc-cocci-updates (2023-04-27) 2 commits (merged to 'next' on 2023-05-20 at 3fe237c1a8) + cocci: codify authoring and reviewing practices + cocci: add headings to and reword README Update documentation regarding Coccinelle patches. Will merge to 'master'. source: * pb/complete-and-document-auto-merge-and-friends (2023-05-23) 6 commits - completion: complete AUTO_MERGE - Documentation: document AUTO_MERGE - git-merge.txt: modernize word choice in "True merge" section - completion: complete REVERT_HEAD and BISECT_HEAD - revisions.txt: document more special refs - revisions.txt: use description list for special refs Document more pseudo-refs and teach the command line completion machinery to complete AUTO_MERGE. Will merge to 'next'. source: * mh/credential-password-expiry-libsecret (2023-05-05) 1 commit (merged to 'next' on 2023-05-09 at fd898e3756) + credential/libsecret: support password_expiry_utc The libsecret credential helper learns to handle the password expiry time information. On hold. The database gets littered with entries whose expiration dates only differ. cf. source: -------------------------------------------------- [Discarded] * tc/cat-file-z-use-cquote (2023-05-10) 1 commit . cat-file: quote-format name in error when using -z "cat-file" in the batch mode that is fed NUL-terminated pathnames learned to cquote them in its error output (otherwise, a funny pathname with LF in it would break the lines in the output stream). Superseded by the ps/cat-file-null-output topic. source: <20230510190116.795641-2-toon@iotcl.com>