{"thread":{"id":"62958","subject":"What's cooking in git.git (Feb 2025, #05; Sat, 15)","startedAt":"2025-02-15T18:48:06Z","lastAt":"2025-02-15T18:48:06Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"512470","messageId":"xmqqmsenyrh8.fsf@gitster.g","threadId":"62958","inReplyTo":null,"subject":"What's cooking in git.git (Feb 2025, #05; Sat, 15)","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2025-02-15T18:48:03Z","receivedAt":"2025-02-15T18:48:06Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Here are the topics that have been cooking in my tree.  Commits\nprefixed with '+' are in 'next' (being in 'next' is a sign that a\ntopic is stable enough to be used and are candidate to be in a\nfuture release).  Commits prefixed with '-' are only in 'seen', and\naren't considered \"accepted\" at all and may be annotated with an URL\nto a message that raises issues but they are no means exhaustive.  A\ntopic without enough support may be discarded after a long period of\nno activity (of course they can be resubmit when new interests\narise).\n\nCopies of the source code to Git live in many repositories, and the\nfollowing is a list of the ones I push into or their mirrors.  Some\nrepositories have only a subset of branches.\n\nWith maint, master, next, seen, todo:\n\n\tgit://git.kernel.org/pub/scm/git/git.git/\n\tgit://repo.or.cz/alt-git.git/\n\thttps://kernel.googlesource.com/pub/scm/git/git/\n\thttps://github.com/git/git/\n\thttps://gitlab.com/git-scm/git/\n\nWith all the integration branches and topics broken out:\n\n\thttps://github.com/gitster/git/\n\nEven though the preformatted documentation in HTML and man format\nare not sources, they are published in these repositories for\nconvenience (replace \"htmldocs\" with \"manpages\" for the manual\npages):\n\n\tgit://git.kernel.org/pub/scm/git/git-htmldocs.git/\n\thttps://github.com/gitster/git-htmldocs.git/\n\nRelease tarballs are available at:\n\n\thttps://www.kernel.org/pub/software/scm/git/\n\n--------------------------------------------------\n[Graduated to 'master']\n\n* bc/doc-adoc-not-txt (2025-01-21) 5 commits\n  (merged to 'next' on 2025-01-24 at 737049d332)\n + Remove obsolete \".txt\" extensions for AsciiDoc files\n + doc: use .adoc extension for AsciiDoc files\n + gitattributes: mark AsciiDoc files as LF-only\n + editorconfig: add .adoc extension\n + doc: update gitignore for .adoc extension\n (this branch is used by jt/diff-pairs.)\n\n All the documentation .txt files have been renamed to .adoc to help\n content aware editors.\n cf. <xmqqmsfl2gro.fsf@gitster.g>\n source: <20250120015603.1980991-1-sandals@crustytoothpaste.net>\n\n\n* bf/fetch-set-head-fix (2025-01-27) 2 commits\n  (merged to 'next' on 2025-02-06 at 9d20f0b55a)\n + fetch set_head: fix non-mirror remotes in bare repositories\n + fetch set_head: refactor to use remote directly\n\n Fetching into a bare repository incorrectly assumed it always used\n a mirror layout when deciding to update remote-tracking HEAD, which\n has been corrected.\n cf. <Z6MNRVrhw3Nxz6Iw@pks.im>\n source: <Z5Mrk02wMdABtrVZ@pks.im>\n\n\n* kn/reflog-migration-fix-followup (2025-01-22) 4 commits\n  (merged to 'next' on 2025-02-06 at 1b0fc3be42)\n + reftable: prevent 'update_index' changes after adding records\n + refs: use 'uint64_t' for 'ref_update.index'\n + refs: mark `ref_transaction_update_reflog()` as static\n + Merge branch 'kn/reflog-migration-fix' into kn/reflog-migration-fix-followup\n\n Code clean-up.\n cf. <Z6MNRVrhw3Nxz6Iw@pks.im>\n source: <20250122-461-corrupted-reftable-followup-v3-0-ae5f88bf04fa@gmail.com>\n\n\n* op/worktree-is-main-bare-fix (2025-02-05) 1 commit\n  (merged to 'next' on 2025-02-06 at 25c618bf37)\n + worktree: detect from secondary worktree if main worktree is bare\n\n Going into a secondary worktree and asking \"is the main worktree\n bare?\" did not work correctly when per-worktree configuration\n option was in use, which has been corrected.\n source: <pull.1829.v4.git.1738737014194.gitgitgadget@gmail.com>\n\n\n* ps/doc-http-upload-archive-service (2025-02-06) 1 commit\n  (merged to 'next' on 2025-02-06 at dd19c245e9)\n + doc: documentation for http.uploadarchive config option\n\n Doc update.\n source: <pull.1885.v2.git.git.1738863927849.gitgitgadget@gmail.com>\n\n\n* tc/clone-single-revision (2025-02-06) 7 commits\n  (merged to 'next' on 2025-02-06 at d67b50d35c)\n + builtin/clone: teach git-clone(1) the --revision= option\n + parse-options: introduce die_for_incompatible_opt2()\n + clone: introduce struct clone_opts in builtin/clone.c\n + clone: add tags refspec earlier to fetch refspec\n + clone: refactor wanted_peer_refs()\n + clone: make it possible to specify --tags\n + clone: cut down on global variables in clone.c\n\n \"git clone\" learned to make a shallow clone for a single commit\n that is not necessarily be at the tip of any branch.\n cf. <xmqq4j16kefu.fsf@gitster.g>\n source: <20250206-toon-clone-refs-v7-0-4622b7392202@iotcl.com>\n\n--------------------------------------------------\n[New Topics]\n\n* mh/doc-commit-title-not-subject (2025-02-13) 1 commit\n - doc: use 'title' consistently\n\n Update \"git commit\" documentation to refer to commit titles as\n such, not \"subject\".\n\n Expecting a reroll.\n source: <pull.1893.git.git.1739477118350.gitgitgadget@gmail.com>\n\n\n* mh/meson-credential-helpers (2025-02-13) 2 commits\n - meson: wire up credential-libsecret\n - meson: wire up credential-wincred\n\n On hold.\n source: <pull.1859.git.1739471859.gitgitgadget@gmail.com>\n\n\n* tb/new-make-fix (2025-02-13) 1 commit\n - Makefile: remove accidental recipe prefix in conditional\n\n Workaround the overly picky HT/SP rule in newer GNU Make.\n\n Will merge to 'next'.\n source: <a79e9e9f50410721d85747b03559d55be98bca20.1739478347.git.me@ttaylorr.com>\n\n\n* ms/merge-recursive-string-list-micro-optimization (2025-02-13) 1 commit\n - merge-recursive: optimize time complexity for process_renames\n\n source: <20250214044129.15282-1-meetsoni3017@gmail.com>\n\n\n* pb/doc-follow-remote-head (2025-02-14) 2 commits\n - config/remote.txt: improve wording for 'remote.<name>.followRemoteHEAD'\n - config/remote.txt: reunite 'severOption' description paragraphs\n\n source: <pull.1894.git.git.1739554578.gitgitgadget@gmail.com>\n\n--------------------------------------------------\n[Cooking]\n\n* ua/update-server-info-sans-the-repository (2025-02-10) 1 commit\n  (merged to 'next' on 2025-02-13 at d4e8288c9b)\n + builtin/update-server-info: remove the_repository global variable\n\n Code clean-up.\n\n Will merge to 'master'.\n source: <20250210181103.3609495-1-usmanakinyemi202@gmail.com>\n\n\n* en/doc-renormalize (2025-02-11) 1 commit\n  (merged to 'next' on 2025-02-13 at 2069f4865c)\n + doc: clarify the intent of the renormalize option in the merge machinery\n\n Doc updates.\n\n Will merge to 'master'.\n source: <pull.1861.git.1739307712372.gitgitgadget@gmail.com>\n\n\n* jc/doc-boolean-synonyms (2025-02-11) 1 commit\n  (merged to 'next' on 2025-02-13 at ab142d21e8)\n + doc: centrally document various ways tospell `true` and `false`\n\n Doc updates.\n\n Will merge to 'master'.\n source: <xmqqy0ycz9dk.fsf@gitster.g>\n\n\n* da/xdiff-w-sign-compare-workaround (2025-02-12) 6 commits\n - xdiff: avoid signed vs. unsigned comparisons in xutils.c\n - xdiff: avoid signed vs. unsigned comparisons in xpatience.c\n - xdiff: avoid signed vs. unsigned comparisons in xhistogram.c\n - xdiff: avoid signed vs. unsigned comparisons in xemit.c\n - xdiff: avoid signed vs. unsigned comparisons in xdiffi.c\n - xdiff: move sign comparison warning guard into each file\n\n Noises from \"-Wsign-compare\" in the borrowed xdiff code has been\n squelched.\n\n Will merge to 'next'.\n source: <20250212060418.1645241-6-davvid@gmail.com>\n\n\n* jt/diff-pairs (2025-02-12) 4 commits\n - builtin/diff-pairs: allow explicit diff queue flush\n - builtin: introduce diff-pairs command\n - diff: return diff_filepair from diff queue helpers\n - Merge branch 'bc/doc-adoc-not-txt' into jt/diff-pairs\n\n A post-processing filter for \"diff --raw\" output has been\n introduced.\n\n Needs review (and most likely a bit more polish).\n source: <20250212041825.2455031-1-jltobler@gmail.com>\n\n\n* kn/ref-migrate-skip-reflog (2025-02-12) 1 commit\n - builtin/refs: add '--skip-reflog' flag to bypass reflog migration\n\n \"git refs migrate\" can optionally be told not to migrate the reflog.\n\n Comments?\n cf. <xmqqa5aqu7g9.fsf@gitster.g>\n source: <20250212-477-refs-migrate-add-a-flag-to-ignore-reflogs-during-migration-v3-1-98b2c4d2bb0c@gmail.com>\n\n\n* lo/t7603-path-is-file-update (2025-02-10) 1 commit\n  (merged to 'next' on 2025-02-11 at c4ad516cd7)\n + t7603: replace test -f by test_path_is_file\n\n Test clean-up.\n\n Will merge to 'master'.\n source: <20250208165731.78804-1-lucasseikioshiro@gmail.com>\n\n\n* ps/path-sans-the-repository (2025-02-07) 16 commits\n - path: adjust last remaining users of `the_repository`\n - environment: move access to \"core.sharedRepository\" into repo settings\n - environment: move access to \"core.hooksPath\" into repo settings\n - repo-settings: introduce function to clear struct\n - path: drop `git_path()` in favor of `repo_git_path()`\n - rerere: let `rerere_path()` write paths into a caller-provided buffer\n - path: drop `git_common_path()` in favor of `repo_common_path()`\n - worktree: return allocated string from `get_worktree_git_dir()`\n - path: drop `git_path_buf()` in favor of `repo_git_path_replace()`\n - path: drop `git_pathdup()` in favor of `repo_git_path()`\n - path: drop unused `strbuf_git_path()` function\n - path: refactor `repo_submodule_path()` family of functions\n - submodule: refactor `submodule_to_gitdir()` to accept a repo\n - path: refactor `repo_worktree_path()` family of functions\n - path: refactor `repo_git_path()` family of functions\n - path: refactor `repo_common_path()` family of functions\n\n The path.[ch] API takes an explicit repository parameter passed\n throughout the callchain, instead of relying on the_repository\n singleton instance.\n source: <20250207-b4-pks-path-drop-the-repository-v2-0-13cad3c11b8a@pks.im>\n\n\n* jt/rev-list-missing-print-info (2025-02-05) 2 commits\n  (merged to 'next' on 2025-02-10 at 88955fe5b4)\n + rev-list: extend print-info to print missing object type\n + rev-list: add print-info action to print missing object path\n\n \"git rev-list --missing=\" learned to accept \"print-info\" that gives\n known details expected of the missing objects, like path and type.\n\n Will merge to 'master'.\n cf. <CAP8UFD31kbtqXQDp9LyA+x+h+m592=HQHHbskSfar3S2GOfWVg@mail.gmail.com>\n source: <20250205004147.887106-1-jltobler@gmail.com>\n\n\n* pw/rebase-i-ff-empty-commit (2025-02-11) 1 commit\n - rebase -i: reword empty commit after fast-forward\n\n \"git rebase -i\" failed to allow rewording an empty commit that has\n been fast-forwarded.\n source: <pull.1860.v2.git.1739289549299.gitgitgadget@gmail.com>\n\n\n* ib/diff-S-G-with-longhand (2025-02-12) 10 commits\n - diff: docs: Use --patch-{grep,modifies} over -G/-S\n - diff: --pickaxe-{all,regex} help: Add --patch-{grep,modifies}\n - diff: test: Use --patch-{grep,modifies} over -G/-S\n - completion: Support --patch-{grep,modifies}\n - diff: --patch-{grep,modifies} arg names for -G and -S\n - docs: gitdiffcore: -G and -S: Use regex/string placeholders\n - diff: short help: Add -G and --pickaxe-grep\n - diff: short help: Correct -S description\n - diff: -G description: Correct copy/paste error\n - t/t4209-log-pickaxe: Naming typo: -G takes a regex\n\n The commands in the \"diff\" family learned longhands for \"-S\" and\n \"-G\" options.\n\n The core part looked mostly good.\n source: <20250212032657.1807939-1-illia.bobyr@gmail.com>\n\n\n* ps/reftable-windows-unlink-fix (2025-02-07) 2 commits\n - reftable: ignore file-in-use errors when unlink(3p) fails on Windows\n - Merge branch 'ps/reftable-sans-compat-util' into ps/reftable-windows-unlink-fix\n (this branch uses ps/reftable-sans-compat-util.)\n\n Portability fix.\n\n Waiting for the base topic.\n source: <20250206-b4-pks-reftable-win32-in-use-errors-v2-1-56985a4f6186@pks.im>\n\n\n* bc/contrib-thunderbird-patch-inline-fix (2025-02-10) 1 commit\n  (merged to 'next' on 2025-02-11 at d13b5baf06)\n + thunderbird-patch-inline: avoid bashism\n\n A thunderbird helper script lost its bashism.\n\n Will merge to 'master'.\n source: <20250210234947.1317056-1-sandals@crustytoothpaste.net>\n\n\n* da/difftool-sans-the-repository (2025-02-06) 3 commits\n  (merged to 'next' on 2025-02-10 at e22cc108b6)\n + difftool: eliminate use of USE_THE_REPOSITORY_VARIABLE\n + difftool: eliminate use of the_repository\n + difftool: eliminate use of global variables\n\n \"git difftool\" code clean-up.\n\n Will merge to 'master'.\n cf. <xmqq4j15hch1.fsf@gitster.g>\n source: <20250206042010.865947-3-davvid@gmail.com>\n\n\n* ps/build-meson-fixes-0130 (2025-01-30) 14 commits\n - gitlab-ci: restrict maximum number of link jobs on Windows\n - meson: consistently use custom program paths to resolve programs\n - meson: fix overwritten `git` variable\n - meson: prevent finding sed(1) in a loop\n - meson: improve handling of `sane_tool_path` option\n - meson: improve PATH handling\n - meson: drop separate version library\n - meson: stop linking libcurl into all executables\n - meson: introduce `libgit_curl` dependency\n - meson: simplify use of the common-main library\n - meson: inline the static 'git' library\n - meson: fix OpenSSL fallback when not explicitly required\n - meson: fix exec path with enabled runtime prefix\n - Merge branch 'ps/build-meson-fixes' into ps/build-meson-fixes-0130\n\n Assorted fixes and improvements to the build procedure based on\n meson.\n\n Needs review.\n source: <20250130-b4-pks-meson-improvements-v2-0-2f05581ffb44@pks.im>\n\n\n* ps/reftable-sans-compat-util (2025-02-07) 19 commits\n - Makefile: skip reftable library for Coccinelle\n - reftable: decouple from Git codebase by pulling in \"compat/posix.h\"\n - git-compat-util.h: split out POSIX-emulating bits\n - compat/mingw: split out POSIX-related bits\n - reftable/basics: introduce `REFTABLE_UNUSED` annotation\n - reftable/basics: stop using `SWAP()` macro\n - reftable/stack: stop using `sleep_millisec()`\n - reftable/system: introduce `reftable_rand()`\n - reftable/reader: stop using `ARRAY_SIZE()` macro\n - reftable/basics: provide wrappers for big endian conversion\n - reftable/basics: stop using `st_mult()` in array allocators\n - reftable: stop using `BUG()` in trivial cases\n - reftable/record: don't `BUG()` in `reftable_record_cmp()`\n - reftable/record: stop using `BUG()` in `reftable_record_init()`\n - reftable/record: stop using `COPY_ARRAY()`\n - reftable/blocksource: stop using `xmmap()`\n - reftable/stack: stop using `write_in_full()`\n - reftable/stack: stop using `read_in_full()`\n - Merge branch 'ps/reftable-sign-compare' into ps/reftable-sans-compat-util\n (this branch is used by ps/reftable-windows-unlink-fix.)\n\n Make the code in reftable library less reliant on the service\n routines it used to borrow from Git proper, to make it easier to\n use by external users of the library.\n\n Waiting for Acks?  Otherwise looking good.\n cf. <Z6MNRVrhw3Nxz6Iw@pks.im>\n The Windows bits may not be ready yet.\n cf. <e202a870-921b-8f38-58af-3d44e94c447d@gmx.de>\n source: <20250207-pks-reftable-drop-git-compat-util-v5-0-ba2adc79110f@pks.im>\n\n\n* ac/doc-http-ssl-type-config (2025-02-05) 1 commit\n  (merged to 'next' on 2025-02-13 at 4767266eb4)\n + docs: indicate http.sslCertType and sslKeyType\n\n Two configuration variables about SSL authentication material that\n weren't mentioned in the documentations are now mentioned.\n\n Will merge to 'master'.\n source: <20250205053856.72723-1-andrew@emailcarter.com>\n\n\n* sj/ref-consistency-checks-more (2025-02-13) 8 commits\n - builtin/fsck: add `git refs verify` child process\n - packed-backend: check whether the \"packed-refs\" is sorted\n - packed-backend: add \"packed-refs\" entry consistency check\n - packed-backend: check whether the refname contains NUL characters\n - packed-backend: add \"packed-refs\" header consistency check\n - packed-backend: check whether the \"packed-refs\" is regular file\n - builtin/refs: get worktrees without reading head information\n - t0602: use subshell to ensure working directory unchanged\n\n \"git fsck\" becomes more careful when checking the refs.\n\n Comments?\n source: <Z67LkxAFIAeaYr0U@ArchLinux>\n\n\n* ua/os-version-capability (2025-02-14) 6 commits\n - agent: advertise OS name via agent capability\n - t5701: add setup test to remove side-effect dependency\n - version: extend get_uname_info() to hide system details\n - version: refactor get_uname_info()\n - version: refactor redact_non_printables()\n - version: replace manual ASCII checks with isprint() for clarity\n\n The value of \"uname -s\" is by default sent over the wire as a new\n capability, with an opt-out for privacy-concious folks.\n\n Getting there.\n source: <20250214123734.1403120-1-usmanakinyemi202@gmail.com>\n\n\n* jc/doc-attr-tree (2024-12-14) 1 commit\n - doc: give attr.tree a bit more visibility\n\n Make sure that \"git --attr-source=X\", GIT_ATTR_SOURCE, and\n attr.tree configuration variables appear at the same places in the\n documentation.\n\n On hold.\n cf. <20241216111112.GA2201417@coredump.intra.peff.net>\n source: <xmqq5xnladwi.fsf@gitster.g>\n\n\n* cc/lop-remote (2025-02-14) 6 commits\n - doc: add technical design doc for large object promisors\n - promisor-remote: check advertised name or URL\n - Add 'promisor-remote' capability to protocol v2\n - version: make redact_non_printables() non-static\n - version: refactor redact_non_printables()\n - version: replace manual ASCII checks with isprint() for clarity\n\n Needs review.\n source: <20250127151701.2321341-1-christian.couder@gmail.com>\n\n\n* ds/backfill (2025-02-03) 7 commits\n  (merged to 'next' on 2025-02-10 at d6348c9f60)\n + backfill: assume --sparse when sparse-checkout is enabled\n + backfill: add --sparse option\n + backfill: add --min-batch-size=<n> option\n + backfill: basic functionality and tests\n + backfill: add builtin boilerplate\n + Merge branch 'master' into ds/backfill\n + Merge branch 'ds/path-walk-1' into ds/backfill\n\n Lazy-loading missing files in a blobless clone on demand is costly\n as it tends to be one-blob-at-a-time.  \"git backfill\" is introduced\n to help bulk-download necessary files beforehand.\n\n Will merge to 'master'.\n cf. <Z6MQK6anxpMhlL9i@pks.im>\n source: <pull.1820.v3.git.1738602667.gitgitgadget@gmail.com>\n\n\n* tb/incremental-midx-part-2 (2024-11-20) 15 commits\n - midx: implement writing incremental MIDX bitmaps\n - pack-bitmap.c: use `ewah_or_iterator` for type bitmap iterators\n - pack-bitmap.c: keep track of each layer's type bitmaps\n - ewah: implement `struct ewah_or_iterator`\n - pack-bitmap.c: apply pseudo-merge commits with incremental MIDXs\n - pack-bitmap.c: compute disk-usage with incremental MIDXs\n - pack-bitmap.c: teach `rev-list --test-bitmap` about incremental MIDXs\n - pack-bitmap.c: support bitmap pack-reuse with incremental MIDXs\n - pack-bitmap.c: teach `show_objects_for_type()` about incremental MIDXs\n - pack-bitmap.c: teach `bitmap_for_commit()` about incremental MIDXs\n - pack-bitmap.c: open and store incremental bitmap layers\n - pack-revindex: prepare for incremental MIDX bitmaps\n - Documentation: describe incremental MIDX bitmaps\n - Merge branch 'tb/pseudo-merge-bitmap-fixes' into tb/incremental-midx-part-2\n - Merge branch 'tb/incremental-midx-part-1' into tb/incremental-midx-part-2\n\n Incrementally updating multi-pack index files.\n\n Needs review.\n source: <cover.1732054032.git.me@ttaylorr.com>\n\n\n* ps/send-pack-unhide-error-in-atomic-push (2025-02-03) 8 commits\n  (merged to 'next' on 2025-02-10 at 7d93e5ad97)\n + send-pack: gracefully close the connection for atomic push\n + t5543: atomic push reports exit code failure\n + send-pack: new return code \"ERROR_SEND_PACK_BAD_REF_STATUS\"\n + t5548: add porcelain push test cases for dry-run mode\n + t5548: add new porcelain test cases\n + t5548: refactor test cases by resetting upstream\n + t5548: refactor to reuse setup_upstream() function\n + t5504: modernize test by moving heredocs into test bodies\n\n \"git push --atomic --porcelain\" used to ignore failures from the\n other side, losing the error status from the child process, which\n has been corrected.\n\n Will merge to 'master'.\n cf. <xmqqh65azk3a.fsf@gitster.g>\n source: <20250203-pks-push-atomic-respect-exit-code-v5-0-d66481e36622@pks.im>\n\n\n* ej/cat-file-remote-object-info (2025-01-14) 8 commits\n - cat-file: add remote-object-info to batch-command\n - transport: add client support for object-info\n - serve: advertise object-info feature\n - fetch-pack: move fetch initialization\n - fetch-pack: refactor packet writing\n - t1006: split test utility functions into new \"lib-cat-file.sh\"\n - cat-file: add declaration of variable i inside its for loop\n - git-compat-util: add strtoul_ul() with error handling\n\n \"git cat-file --batch\" and friends can optionally ask a remote\n server about objects it does not have.\n\n Will discard.\n Has seen no activity or support for a month or so.\n source: <20250114021502.41499-1-eric.peijian@gmail.com>\n\n--------------------------------------------------\n[Discarded]\n\n* sk/maintenance-remote-prune (2025-01-03) 1 commit\n . maintenance: add prune-remote-refs task\n\n A new periodic maintenance task to run \"git remote prune\" has been\n introduced.\n\n Will discard.\n Has been expecting a reroll for too long.\n source: <pull.1838.v3.git.1735928035056.gitgitgadget@gmail.com>\n"}]}