What's cooking (2024/06 #04)

Junio C Hamano committed Jun 12, 2024 at 15:15 UTC e018880823ee3ee50c325a84072eb6f2af16c1a4
1 file changed +110 -214
whats-cooking.txt
+110 -214
@@ -1,10 +1,10 @@
1 To: git@vger.kernel.org
2 -Subject: What's cooking in git.git (Jun 2024, #03; Tue, 11)
3 -X-master-at: 8d94cfb54504f2ec9edc7ca3eb5c29a3dd3675ae
4 -X-next-at: 995854087836ed4a61d3a38cc5e5fc7639b27baa
2 +Subject: What's cooking in git.git (Jun 2024, #04; Wed, 12)
3 +X-master-at: d63586cb314731c851f28e14fc8012988467e2da
4 +X-next-at: 1570129ebf8726037c796002ceeec929c386d5a6
5 Bcc: lwn@lwn.net, gitster@pobox.com
6
7 -What's cooking in git.git (Jun 2024, #03; Tue, 11)
7 +What's cooking in git.git (Jun 2024, #04; Wed, 12)
8 --------------------------------------------------
9
10 Here are the topics that have been cooking in my tree. Commits
@@ -48,98 +48,92 @@ Release tarballs are available at:
48 --------------------------------------------------
49 [Graduated to 'master']
50
51 -* iw/trace-argv-on-alias (2024-05-31) 3 commits
52 - (merged to 'next' on 2024-06-03 at 190af38284)
53 - + run-command: show prepared command
54 - + Documentation: alias: add notes on shell expansion
55 - + Documentation: alias: rework notes into points
56 -
57 - The alias-expanded command lines are logged to the trace output.
58 - source: <20240525234454.1489598-1-iwienand@redhat.com>
59 -
60 -
61 -* jk/leakfixes (2024-05-30) 6 commits
62 - (merged to 'next' on 2024-06-03 at 1e8a6276a1)
63 - + mv: replace src_dir with a strvec
64 - + mv: factor out empty src_dir removal
65 - + mv: move src_dir cleanup to end of cmd_mv()
66 - + t-strvec: mark variable-arg helper with LAST_ARG_MUST_BE_NULL
67 - + t-strvec: use va_end() to match va_start()
68 - + Merge branch 'ps/leakfixes' into jk/leakfixes
69 - (this branch is used by jk/sparse-leakfix.)
70 -
71 - Memory leaks in "git mv" has been plugged.
72 - source: <20240530063857.GA1942535@coredump.intra.peff.net>
73 -
74 -
75 -* mt/openindiana-scalar (2024-05-17) 1 commit
76 - (merged to 'next' on 2024-05-30 at 190d4465cf)
77 - + scalar: make enlistment delete to work on all POSIX platforms
78 -
79 - Avoid removing the $(cwd) for portability.
80 - source: <Zkds81OB7C5bTCl_@telcontar>
81 -
82 -
83 -* ps/leakfixes (2024-05-27) 19 commits
84 - (merged to 'next' on 2024-05-29 at e75dcb3beb)
85 - + builtin/mv: fix leaks for submodule gitfile paths
86 - + builtin/mv: refactor to use `struct strvec`
87 - + builtin/mv duplicate string list memory
88 - + builtin/mv: refactor `add_slash()` to always return allocated strings
89 - + strvec: add functions to replace and remove strings
90 - + submodule: fix leaking memory for submodule entries
91 - + commit-reach: fix memory leak in `ahead_behind()`
92 - + builtin/credential: clear credential before exit
93 - + config: plug various memory leaks
94 - + config: clarify memory ownership in `git_config_string()`
95 - + builtin/log: stop using globals for format config
96 - + builtin/log: stop using globals for log config
97 - + convert: refactor code to clarify ownership of check_roundtrip_encoding
98 - + diff: refactor code to clarify memory ownership of prefixes
99 - + config: clarify memory ownership in `git_config_pathname()`
100 - + http: refactor code to clarify memory ownership
101 - + checkout: clarify memory ownership in `unique_tracking_name()`
102 - + strbuf: fix leak when `appendwholeline()` fails with EOF
103 - + transport-helper: fix leaking helper name
104 - (this branch is used by jk/imap-send-plug-all-msgs-leak, jk/leakfixes, jk/sparse-leakfix, ps/leakfixes-more and ps/no-writable-strings.)
105 -
106 - Leakfixes.
107 - source: <cover.1716810168.git.ps@pks.im>
108 -
109 -
110 -* rs/difftool-env-simplify (2024-05-27) 1 commit
111 - (merged to 'next' on 2024-05-29 at 4d3776a989)
112 - + difftool: add env vars directly in run_file_diff()
113 -
114 - Code simplification.
115 - source: <c7c843b9-0ccf-4bcb-a036-d794729a99d6@web.de>
116 -
117 -
118 -* tb/midx-write-cleanup (2024-05-30) 8 commits
119 - (merged to 'next' on 2024-05-31 at 03f3d27e4f)
120 - + pack-bitmap.c: reimplement `midx_bitmap_filename()` with helper
121 - + midx: replace `get_midx_rev_filename()` with a generic helper
122 - + midx-write.c: support reading an existing MIDX with `packs_to_include`
123 - + midx-write.c: extract `fill_packs_from_midx()`
124 - + midx-write.c: extract `should_include_pack()`
125 - + midx-write.c: pass `start_pack` to `compute_sorted_entries()`
126 - + midx-write.c: reduce argument count for `get_sorted_entries()`
127 - + midx-write.c: tolerate `--preferred-pack` without bitmaps
128 -
129 - Code clean-up around writing the .midx files.
130 - source: <cover.1717023301.git.me@ttaylorr.com>
131 -
132 -
133 -* th/quiet-lazy-fetch-from-promisor (2024-05-26) 1 commit
134 - (merged to 'next' on 2024-05-29 at bb12492199)
135 - + promisor-remote: add promisor.quiet configuration option
136 -
137 - The promisor.quiet configuration knob can be set to true to make
138 - lazy fetching from promisor remotes silent.
139 - source: <20240525100927.2949808-1-tom@compton.nu>
51 +* cp/reftable-unit-test (2024-05-30) 5 commits
52 + (merged to 'next' on 2024-06-04 at baff123933)
53 + + t: improve the test-case for parse_names()
54 + + t: add test for put_be16()
55 + + t: move tests from reftable/record_test.c to the new unit test
56 + + t: move tests from reftable/stack_test.c to the new unit test
57 + + t: move reftable/basics_test.c to the unit testing framework
58 +
59 + Basic unit tests for reftable have been reimplemented under the
60 + unit test framework.
61 + source: <20240529171439.18271-1-chandrapratap3519@gmail.com>
62 +
63 +
64 +* gt/decorate-unit-test (2024-05-28) 1 commit
65 + (merged to 'next' on 2024-06-06 at dd2eb8cad4)
66 + + t/: migrate helper/test-example-decorate to the unit testing framework
67 +
68 + A test helper that essentially is unit tests on the "decorate"
69 + logic has been rewritten using the unit-tests framework.
70 + source: <20240528125837.31090-1-shyamthakkar001@gmail.com>
71 +
72 +
73 +* gt/t-hash-unit-test (2024-05-29) 2 commits
74 + (merged to 'next' on 2024-06-04 at 86328a5c8c)
75 + + t/: migrate helper/test-{sha1, sha256} to unit-tests/t-hash
76 + + strbuf: introduce strbuf_addstrings() to repeatedly add a string
77 +
78 + A pair of test helpers that essentially are unit tests on hash
79 + algorithms have been rewritten using the unit-tests framework.
80 + source: <20240529080030.64410-1-shyamthakkar001@gmail.com>
81 +
82 +
83 +* jc/safe-directory-leading-path (2024-05-29) 1 commit
84 + (merged to 'next' on 2024-06-04 at 3d8cb9239c)
85 + + safe.directory: allow "lead/ing/path/*" match
86 +
87 + The safe.directory configuration knob has been updated to
88 + optionally allow leading path matches.
89 + source: <xmqqplt4zjw7.fsf@gitster.g>
90 +
91 +
92 +* jc/t1517-more (2024-06-04) 2 commits
93 + (merged to 'next' on 2024-06-04 at f5a118872d)
94 + + imap-send: minimum leakfix
95 + (merged to 'next' on 2024-06-03 at 10b71e2a60)
96 + + t1517: more coverage for commands that work without repository
97 + (this branch is used by jk/imap-send-plug-all-msgs-leak.)
98 +
99 + A new test was added to ensure git commands that are designed to
100 + run outside repositories do work.
101 + source: <xmqqwmnajrrk.fsf@gitster.g>
102 +
103 +
104 +* jk/cap-exclude-file-size (2024-06-05) 2 commits
105 + (merged to 'next' on 2024-06-05 at 2467011532)
106 + + dir.c: reduce max pattern file size to 100MB
107 + (merged to 'next' on 2024-06-04 at 51c0d632d3)
108 + + dir.c: skip .gitignore, etc larger than INT_MAX
109 +
110 + An overly large ".gitignore" files are now rejected silently.
111 + source: <xmqqikyowqjj.fsf@gitster.g>
112 +
113 +
114 +* jk/sparse-leakfix (2024-06-05) 14 commits
115 + (merged to 'next' on 2024-06-06 at c92e02c528)
116 + + sparse-checkout: free duplicate hashmap entries
117 + + sparse-checkout: free string list after displaying
118 + + sparse-checkout: free pattern list in sparse_checkout_list()
119 + + sparse-checkout: free sparse_filename after use
120 + + sparse-checkout: refactor temporary sparse_checkout_patterns
121 + + sparse-checkout: always free "line" strbuf after reading input
122 + + sparse-checkout: reuse --stdin buffer when reading patterns
123 + + dir.c: always copy input to add_pattern()
124 + + dir.c: free removed sparse-pattern hashmap entries
125 + + sparse-checkout: clear patterns when init() sees existing sparse file
126 + + dir.c: free strings in sparse cone pattern hashmaps
127 + + sparse-checkout: pass string literals directly to add_pattern()
128 + + sparse-checkout: free string list in write_cone_to_file()
129 + + Merge branch 'jk/leakfixes' into jk/sparse-leakfix
130 +
131 + Many memory leaks in the sparse-checkout code paths have been
132 + plugged.
133 + source: <20240604100814.GA1304520@coredump.intra.peff.net>
134
135 --------------------------------------------------
142 -[New Topics]
136 +[Cooking]
137
138 * jk/am-retry (2024-06-06) 2 commits
139 (merged to 'next' on 2024-06-10 at 4d62361bc7)
@@ -234,20 +228,21 @@ Release tarballs are available at:
228
229
230 * ds/doc-add-interactive-singlekey (2024-06-07) 1 commit
237 - - doc: interactive.singleKey is disabled by default
231 + (merged to 'next' on 2024-06-12 at cf3de70246)
232 + + doc: interactive.singleKey is disabled by default
233
234 Doc update.
235
241 - Will merge to 'next'.
236 + Will merge to 'master'.
237 source: <xmqq4ja4e6d6.fsf@gitster.g>
238
239
245 -* gt/unit-test-oidtree (2024-06-10) 1 commit
240 +* gt/unit-test-oidtree (2024-06-12) 1 commit
241 - t/: migrate helper/test-oidtree.c to unit-tests/t-oidtree.c
242
243 "oidtree" tests were rewritten to use the unit test framework.
244
250 - Expecting a reroll.
245 + Will merge to 'next'.
246 cf. <7o6fuymnfn6b6buyw3yyctjd4dlwlrazspv3xgxvys6djjivxh@qbhyurorgbtt>
247 source: <20240608165731.29467-1-shyamthakkar001@gmail.com>
248
@@ -275,7 +270,7 @@ Release tarballs are available at:
270 source: <20240608183901.2084546-1-gitster@pobox.com>
271
272
278 -* ds/ahead-behind-fix (2024-06-11) 1 commit
273 +* ds/ahead-behind-fix (2024-06-12) 1 commit
274 - commit-graph: increment progress indicator
275
276 Fix for a progress bar.
@@ -284,24 +279,27 @@ Release tarballs are available at:
279 source: <pull.1743.git.1718118555197.gitgitgadget@gmail.com>
280
281
287 -* ps/abbrev-length-before-setup-fix (2024-06-11) 2 commits
282 +* ps/abbrev-length-before-setup-fix (2024-06-12) 3 commits
283 - object-name: don't try to abbreviate to lengths greater than hexsz
284 + - parse-options-cb: stop clamping "--abbrev=" to hash length
285 - config: fix segfault when parsing "core.abbrev" without repo
286
287 Setting core.abbrev too early before the repository set-up
288 (typically in "git clone") caused segfault, which as been
289 corrected.
290
295 - source: <CAO_smVimsHAPbMxy09mcYZY8apFgCbpnS9eSF7UOL6_BLqntNw@mail.gmail.com>
291 + Will merge to 'next'.
292 + source: <cover.1718178996.git.ps@pks.im>
293
294
295 * ps/make-append-to-cflags (2024-06-11) 1 commit
299 - - Makefile: add ability to append to CFLAGS and LDFLAGS
296 + (merged to 'next' on 2024-06-12 at d57b04bf16)
297 + + Makefile: add ability to append to CFLAGS and LDFLAGS
298
299 To help developers, the build procedure now allows builders to use
300 CFLAGS_APPEND to specify additional CFLAGS.
301
304 - Will merge to 'next'.
302 + Will merge to 'master'.
303 source: <8120ddaf0bdfd50e0fc4cf9a04f833102630b639.1718001244.git.ps@pks.im>
304
305
@@ -336,7 +334,6 @@ Release tarballs are available at:
334
335 "git mktree" has been rewritten, taking advantage of the cache-tree
336 API.
339 -
337 source: <pull.1746.git.1718130288.gitgitgadget@gmail.com>
338
339
@@ -349,13 +346,11 @@ Release tarballs are available at:
346 take full advantage of all bundles and ended up slurping duplicated
347 objects.
348
352 - Will merge to 'next'?
349 + Expecting a reroll.
350 cf. <xmqqa5jruwkr.fsf@gitster.g>
351 cf. <xmqqsexjtfcg.fsf@gitster.g>
352 source: <pull.1730.v6.git.1718109943.gitgitgadget@gmail.com>
353
357 ---------------------------------------------------
358 -[Cooking]
354
355 * rj/add-p-pager (2024-06-04) 6 commits
356 . add-patch: introduce the command '|'
@@ -401,7 +396,7 @@ Release tarballs are available at:
396 + imap-send: free all_msgs strbuf in "out" label
397 + Merge branch 'jc/t1517-more' into jk/imap-send-plug-all-msgs-leak
398 + Merge branch 'ps/no-writable-strings' into jk/imap-send-plug-all-msgs-leak
404 - (this branch uses jc/t1517-more and ps/no-writable-strings.)
399 + (this branch uses ps/no-writable-strings.)
400
401 A leak in "git imap-send" that somehow escapes LSan has been
402 plugged.
@@ -433,21 +428,22 @@ Release tarballs are available at:
428 turn on cover letters automatically (unless told never to enable
429 cover letter with "--no-cover-letter" and such).
430
436 - Will merge to 'next'?
431 + Will merge to 'next'.
432 source: <9f520828-f87e-49b1-aa4b-c00ec6bb0133@gmail.com>
433
434
435 * rs/diff-exit-code-with-external-diff (2024-06-10) 3 commits
441 - - diff: let external diffs report that changes are uninteresting
442 - - userdiff: add and use struct external_diff
443 - - t4020: test exit code with external diffs
436 + (merged to 'next' on 2024-06-12 at 9ce495b6cc)
437 + + diff: let external diffs report that changes are uninteresting
438 + + userdiff: add and use struct external_diff
439 + + t4020: test exit code with external diffs
440
441 "git diff --exit-code --ext-diff" learned to take the exit status
442 of the external diff driver into account when deciding the exit
443 status of the overall "git diff" invocation when configured to do
444 so.
445
450 - Will merge to 'next'.
446 + Will merge to 'master'.
447 source: <168fecaa-2ebd-4897-b0ba-3bd2a37c01e7@web.de>
448
449
@@ -473,42 +469,6 @@ Release tarballs are available at:
469 source: <xmqqa5jzqd5k.fsf_-_@gitster.g>
470
471
476 -* jk/sparse-leakfix (2024-06-05) 14 commits
477 - (merged to 'next' on 2024-06-06 at c92e02c528)
478 - + sparse-checkout: free duplicate hashmap entries
479 - + sparse-checkout: free string list after displaying
480 - + sparse-checkout: free pattern list in sparse_checkout_list()
481 - + sparse-checkout: free sparse_filename after use
482 - + sparse-checkout: refactor temporary sparse_checkout_patterns
483 - + sparse-checkout: always free "line" strbuf after reading input
484 - + sparse-checkout: reuse --stdin buffer when reading patterns
485 - + dir.c: always copy input to add_pattern()
486 - + dir.c: free removed sparse-pattern hashmap entries
487 - + sparse-checkout: clear patterns when init() sees existing sparse file
488 - + dir.c: free strings in sparse cone pattern hashmaps
489 - + sparse-checkout: pass string literals directly to add_pattern()
490 - + sparse-checkout: free string list in write_cone_to_file()
491 - + Merge branch 'jk/leakfixes' into jk/sparse-leakfix
492 -
493 - Many memory leaks in the sparse-checkout code paths have been
494 - plugged.
495 -
496 - Will merge to 'master'.
497 - source: <20240604100814.GA1304520@coredump.intra.peff.net>
498 -
499 -
500 -* jk/cap-exclude-file-size (2024-06-05) 2 commits
501 - (merged to 'next' on 2024-06-05 at 2467011532)
502 - + dir.c: reduce max pattern file size to 100MB
503 - (merged to 'next' on 2024-06-04 at 51c0d632d3)
504 - + dir.c: skip .gitignore, etc larger than INT_MAX
505 -
506 - An overly large ".gitignore" files are now rejected silently.
507 -
508 - Will merge to 'master'.
509 - source: <xmqqikyowqjj.fsf@gitster.g>
510 -
511 -
472 * ps/leakfixes-more (2024-06-11) 30 commits
473 - builtin/blame: fix leaking ignore revs files
474 - builtin/blame: fix leaking prefixed paths
@@ -547,28 +507,6 @@ Release tarballs are available at:
507 source: <cover.1718095906.git.ps@pks.im>
508
509
550 -* gt/decorate-unit-test (2024-05-28) 1 commit
551 - (merged to 'next' on 2024-06-06 at dd2eb8cad4)
552 - + t/: migrate helper/test-example-decorate to the unit testing framework
553 -
554 - A test helper that essentially is unit tests on the "decorate"
555 - logic has been rewritten using the unit-tests framework.
556 -
557 - Will merge to 'master'.
558 - source: <20240528125837.31090-1-shyamthakkar001@gmail.com>
559 -
560 -
561 -* jc/safe-directory-leading-path (2024-05-29) 1 commit
562 - (merged to 'next' on 2024-06-04 at 3d8cb9239c)
563 - + safe.directory: allow "lead/ing/path/*" match
564 -
565 - The safe.directory configuration knob has been updated to
566 - optionally allow leading path matches.
567 -
568 - Will merge to 'master'.
569 - source: <xmqqplt4zjw7.fsf@gitster.g>
570 -
571 -
510 * ps/no-writable-strings (2024-06-07) 28 commits
511 (merged to 'next' on 2024-06-10 at 9678851a9f)
512 + config.mak.dev: enable `-Wwrite-strings` warning
@@ -607,47 +545,6 @@ Release tarballs are available at:
545 source: <cover.1717740365.git.ps@pks.im>
546
547
610 -* cp/reftable-unit-test (2024-05-30) 5 commits
611 - (merged to 'next' on 2024-06-04 at baff123933)
612 - + t: improve the test-case for parse_names()
613 - + t: add test for put_be16()
614 - + t: move tests from reftable/record_test.c to the new unit test
615 - + t: move tests from reftable/stack_test.c to the new unit test
616 - + t: move reftable/basics_test.c to the unit testing framework
617 -
618 - Reimplement basic unit tests for reftable under the unit test
619 - framework.
620 -
621 - Will merge to 'master'.
622 - source: <20240529171439.18271-1-chandrapratap3519@gmail.com>
623 -
624 -
625 -* jc/t1517-more (2024-06-04) 2 commits
626 - (merged to 'next' on 2024-06-04 at f5a118872d)
627 - + imap-send: minimum leakfix
628 - (merged to 'next' on 2024-06-03 at 10b71e2a60)
629 - + t1517: more coverage for commands that work without repository
630 - (this branch is used by jk/imap-send-plug-all-msgs-leak.)
631 -
632 - "smoke tests" to ensure git commands that are designed to run
633 - outside repositories do work.
634 -
635 - Will merge to 'master'.
636 - source: <xmqqwmnajrrk.fsf@gitster.g>
637 -
638 -
639 -* gt/t-hash-unit-test (2024-05-29) 2 commits
640 - (merged to 'next' on 2024-06-04 at 86328a5c8c)
641 - + t/: migrate helper/test-{sha1, sha256} to unit-tests/t-hash
642 - + strbuf: introduce strbuf_addstrings() to repeatedly add a string
643 -
644 - A pair of test helpers that essentially are unit tests on hash
645 - algorithms have been rewritten using the unit-tests framework.
646 -
647 - Will merge to 'master'.
648 - source: <20240529080030.64410-1-shyamthakkar001@gmail.com>
649 -
650 -
548 * pp/add-parse-range-unit-test (2024-05-27) 1 commit
549 - apply: add unit tests for parse_range
550
@@ -780,7 +677,7 @@ Release tarballs are available at:
677 "git update-ref --stdin" learned to handle transactional updates of
678 symbolic-refs.
679
783 - Will merge to 'next'?
680 + Will merge to 'next'.
681 source: <20240607133304.2333280-1-knayak@gitlab.com>
682
683
@@ -928,7 +825,6 @@ Release tarballs are available at:
825 Not ready to be reviewed yet.
826 source: <20230824205456.1231371-1-gitster@pobox.com>
827
931 -
828 --------------------------------------------------
829 [Discarded]
830