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,DKIM_VALID_AU,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 B4FD91F405 for ; Fri, 23 Jun 2023 22:55:11 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=pobox.com header.i=@pobox.com header.a=rsa-sha256 header.s=sasl header.b=HoHVssBd; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229539AbjFWWzA (ORCPT ); Fri, 23 Jun 2023 18:55:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230466AbjFWWyz (ORCPT ); Fri, 23 Jun 2023 18:54:55 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA98326B5 for ; Fri, 23 Jun 2023 15:54:50 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0E74319201D; Fri, 23 Jun 2023 18:54:50 -0400 (EDT) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type; s=sasl; bh=e YOehX0u46sEM8cpj2daDKYyaGdpE8Cvf1gCiyredFc=; b=HoHVssBdpkAGDS/5g VXDyxrZUSS2A0vjrgQwEpzOJqweVXLBmdX6f62GZlUFhtBcRjokKI5B11ldGm5fQ 6fI1k4P6dmdNBTK0kJaq97oIo/GtmuKLG+5Jt+JRGMdTexvTxmW6D0JRu4wQZBVb Cf1Smh9JbSXXvMGfpm0ngP4808= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 05A7D19201C; Fri, 23 Jun 2023 18:54:50 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.105.62.77]) (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 4E25119201B; Fri, 23 Jun 2023 18:54:49 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: git@vger.kernel.org Subject: What's cooking in git.git (Jun 2023, #06; Fri, 23) X-master-at: 6ff334181cfb6485d3ba50843038209a2a253907 X-next-at: 577bbd8c9fd2f098bfa6e5dc606afb1b1ce7a55e Date: Fri, 23 Jun 2023 15:54:48 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: F4F60B80-1218-11EE-8210-C65BE52EC81B-77302942!pb-smtp1.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Here are the topics that have been cooking in my tree. Commits prefixed with '+' are in 'next' (being in 'next' is a sign that a topic is stable enough to be used and are candidate to be in a future release). Commits prefixed with '-' are only in 'seen', and aren't considered "accepted" at all 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). 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'] * as/dtype-compilation-fix (2023-06-12) 1 commit (merged to 'next' on 2023-06-16 at 267100947e) + statinfo.h: move DTYPE defines from dir.h Compilation fix for platforms without D_TYPE in struct dirent. source: <20230606205935.3183276-1-asedeno@google.com> * ds/add-i-color-configuration-fix (2023-06-12) 2 commits (merged to 'next' on 2023-06-15 at 377b9f9a00) + 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. source: * ds/disable-replace-refs (2023-06-12) 3 commits (merged to 'next' on 2023-06-15 at e7baddb745) + 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. source: * gc/discover-not-setup (2023-06-16) 1 commit (merged to 'next' on 2023-06-16 at 27d1cd2a1b) + setup.c: don't setup in discover_git_directory() discover_git_directory() no longer touches the_repository. source: * ja/worktree-orphan (2023-05-17) 8 commits (merged to 'next' on 2023-06-15 at 16bb552b79) + 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 Originally merged to 'next' on 2023-06-14 'git worktree add' learned how to create a worktree based on an orphaned branch with `--orphan`. source: <20230517214711.12467-1-jacobabel@nullpo.dev> * js/defeat-ignore-submodules-config-with-explicit-addition (2023-06-14) 1 commit (merged to 'next' on 2023-06-16 at bfc01bd5e2) + diff-lib: honor override_submodule_config flag bit Even when diff.ignoreSubmodules tells us to ignore submodule changes, "git commit" with an index that already records changes to submodules should include the submodule changes in the resulting commit, but it did not. source: <20230614164856.3186012-2-sokcevic@google.com> * jt/doc-use-octal-with-printf (2023-06-14) 1 commit (merged to 'next' on 2023-06-16 at ebb72b9bd8) + CodingGuidelines: use octal escapes, not hex Suggest to refrain from using hex literals that are non-portable when writing printf(1) format strings. source: <20230614213145.475607-1-jonathantanmy@google.com> * la/docs-typofixes (2023-06-12) 1 commit (merged to 'next' on 2023-06-16 at 56ddcb16e6) + docs: typofixes Typofixes. source: * mh/credential-erase-improvements (2023-06-15) 2 commits (merged to 'next' on 2023-06-16 at 5a3ed25303) + credential: erase all matching credentials + credential: avoid erasing distinct password Will merge to 'master'. cf. <20230615212116.GA39325@coredump.intra.peff.net> source: * ps/cat-file-null-output (2023-06-12) 5 commits (merged to 'next' on 2023-06-15 at e841ad2be5) + 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. source: * rj/leakfixes (2023-06-17) 11 commits (merged to 'next' on 2023-06-17 at 49e54a88e2) + tests: mark as passing with SANITIZE=leak + config: fix a leak in git_config_copy_or_rename_section_in_file + branch: fix a leak in cmd_branch + branch: fix a leak in setup_tracking + rev-parse: fix a leak with --abbrev-ref (merged to 'next' on 2023-06-16 at d9330ea230) + 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 source: <71b49be1-eeef-2f60-38f1-cfcbe4c8252f@gmail.com> source: <9eb931e7-dd18-8ce8-4d4a-cf3d85066189@gmail.com> * rs/doc-ls-tree-hex-literal (2023-06-15) 1 commit (merged to 'next' on 2023-06-16 at 472c7f55c9) + ls-tree: fix documentation of %x format placeholder Doc update. source: <23e54256-9ad5-e978-d0b8-abb511232fd1@web.de> * rs/run-command-exec-error-on-noent (2023-06-12) 2 commits (merged to 'next' on 2023-06-16 at 6bb4425334) + 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. source: <14e1be60-3765-0ba5-00f5-2848bb57bf53@web.de> * sl/worktree-sparse (2023-06-12) 1 commit (merged to 'next' on 2023-06-16 at ca0a7edcc5) + worktree: integrate with sparse-index "git worktree" learned to work better with sparse index feature. source: <20230606172633.669916-1-cheskaqiqi@gmail.com> * tb/gc-recent-object-hook (2023-06-12) 2 commits (merged to 'next' on 2023-06-16 at 2d8d8ea2ef) + 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. source: * tb/open-midx-bitmap-fallback (2023-06-12) 1 commit (merged to 'next' on 2023-06-16 at 6546fee734) + 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. 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.) Originally merged to 'next' on 2023-06-15 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. source: * tz/lib-gpg-prereq-fix (2023-06-12) 1 commit (merged to 'next' on 2023-06-16 at 19770e970a) + t/lib-gpg: require GPGSSH for GPGSSH_VERIFYTIME prereq Test update. source: <20230606214707.55739-1-tmz@pobox.com> -------------------------------------------------- [New Topics] * ds/remove-idx-before-pack (2023-06-20) 1 commit (merged to 'next' on 2023-06-23 at fa97bf0e41) + packfile: delete .idx files before .pack files We create .pack and then .idx, we consider only packfiles that have .idx usable (those with only .pack are not ready yet), so we should remove .idx before removing .pack for consistency. Will merge to 'master'. source: * bc/more-git-var (2023-06-22) 3 commits - var: add config file locations - var: add attributes files locations - var: add support for listing the shell Add more "git var" for toolsmiths to learn various locations Git is configured with either via the configuration or hardcoded defaults. Expecting a reroll. source: <20230622195059.320593-1-sandals@crustytoothpaste.net> * jc/doc-hash-object-types (2023-06-22) 1 commit - docs: add "git hash-object -t" option's possible values Doc update. Expecting a reroll. cf. <62B7F5FF-F85D-47C0-B553-F57B991D0BCC@gmail.com> source: * jc/abort-ll-merge-with-a-signal (2023-06-23) 1 commit (merged to 'next' on 2023-06-23 at 9c9c37e95e) + ll-merge: killing the external merge driver aborts the merge When the external merge driver is killed by a signal, its output should not be trusted as a resolution with conflicts that is proposed by the driver, but the code did. Will merge to 'master'. source: -------------------------------------------------- [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: * 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] * cc/repack-sift-filtered-objects-to-separate-pack (2023-06-14) 9 commits - gc: add `gc.repackFilterTo` config option - repack: implement `--filter-to` for storing filtered out objects - gc: add `gc.repackFilter` config option - repack: add `--filter=` option - repack: refactor finishing pack-objects command - repack: refactor piping an oid to a command - t/helper: add 'find-pack' test-tool - pack-objects: add `--print-filtered` to print omitted objects - pack-objects: allow `--filter` without `--stdout` "git repack" machinery learns to pay attention to the "--filter=" option. Needs review. source: <20230614192541.1599256-1-christian.couder@gmail.com> * ps/revision-stdin-with-options (2023-06-15) 3 commits - revision: handle pseudo-opts in `--stdin` mode - revision: small readability improvement for reading from stdin - revision: reorder `read_revisions_from_stdin()` The set-up code for the get_revision() API now allows feeding options like --all and --not in the --stdin mode. Will merge to 'next'? source: * jk/commit-use-no-divider-with-interpret-trailers (2023-06-16) 1 commit (merged to 'next' on 2023-06-20 at 08e5f2a6b5) + commit: pass --no-divider to interpret-trailers When "git commit --trailer=..." invokes the interpret-trailers machinery, it knows what it feeds to interpret-trailers is a full log message without any patch, but failed to express that by passing the "--no-divider" option, which has been corrected. Will merge to 'master'. source: <20230617042624.GA562686@coredump.intra.peff.net> * jk/redact-h2h3-headers-fix (2023-06-17) 1 commit (merged to 'next' on 2023-06-20 at c1247fd527) + http: handle both "h2" and "h2h3" in curl info lines Curl library recently changed how http2 traces are shown and broke the code to redact sensitive info header, which has been fixed. Will merge to 'master'. source: <20230617051559.GD562686@coredump.intra.peff.net> * rs/strbuf-expand-step (2023-06-18) 5 commits - strbuf: simplify strbuf_expand_literal_cb() - replace strbuf_expand() with strbuf_expand_step() - replace strbuf_expand_dict_cb() with strbuf_expand_step() - strbuf: factor out strbuf_expand_step() - pretty: factor out expand_separator() Code clean-up around strbuf_expand() API. source: <767baa64-20a6-daf2-d34b-d81f72363749@web.de> * js/doc-unit-tests (2023-06-13) 1 commit - unit tests: Add a project plan document Process to add some form of low-level unit tests has started. Comments? Filling in blanks? source: <8afdb215d7e10ca16a2ce8226b4127b3d8a2d971.1686352386.git.steadmon@google.com> * 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: * tb/collect-pack-filenames-fix (2023-06-12) 1 commit (merged to 'next' on 2023-06-20 at abcc6892c8) + 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 'master'. source: <20230607101617.ges6tnMry4E52lDGld43QgtNUsIS4YQq6w-t71hEfkQ@z> * 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> * jt/path-filter-fix (2023-06-13) 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. Expecting a reroll. cf. 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-06-16) 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: * tb/refs-exclusion-and-packed-refs (2023-06-20) 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: * en/header-split-cache-h-part-3 (2023-06-21) 28 commits (merged to 'next' on 2023-06-23 at 84ad22bf36) + 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 Header files cleanup. Will merge to 'master'. 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> * 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-06-21) 7 commits - notes: introduce "--no-separator" option - 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. 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: -------------------------------------------------- [Discarded] * mh/credential-password-expiry-libsecret (2023-05-05) 1 commit . credential/libsecret: support password_expiry_utc Originally merged to 'next' on 2023-05-09 The libsecret credential helper learns to handle the password expiry time information. Superseded by mh/credential-libsecret-attrs. 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. Retracted for now. cf. source: * js/cmake-wo-cache-h (2023-06-15) 1 commit . cmake: adapt to `cache.h` being no more Build fix in en/header-split-cache-h-part-3 topic. Ejected out of 'next' and made into a part of en/header-split-cache-h-part-3 source: * jc/notes-separator-fix (2023-06-13) 7 commits . notes: do not access before the beginning of an array Fix to tl/notes-separator topic. Discarded as the updated base topic should not require it anymore. source: