What's cooking (2024/10 #03)

Junio C Hamano committed Oct 4, 2024 at 17:16 UTC 672133c858b2939a29c32379e8e32f74d7512d1b
1 file changed +169 -187
whats-cooking.txt
+169 -187
@@ -1,10 +1,10 @@
1 To: git@vger.kernel.org
2 -Subject: What's cooking in git.git (Oct 2024, #02; Wed, 2)
3 -X-master-at: 111e864d69c84284441b083966c2065c2e9a4e78
4 -X-next-at: 43b9d002c88c60350760fe38edf0e36e2e3da4bb
2 +Subject: What's cooking in git.git (Oct 2024, #03; Fri, 4)
3 +X-master-at: 90fe3800b92a49173530828c0a17951abd30f0e1
4 +X-next-at: ecfaa0ad0fec27eefd921f5ae74cad15ff483641
5 Bcc: lwn@lwn.net, gitster@pobox.com
6
7 -What's cooking in git.git (Oct 2024, #02; Wed, 2)
7 +What's cooking in git.git (Oct 2024, #03; Fri, 4)
8 --------------------------------------------------
9
10 Here are the topics that have been cooking in my tree. Commits
@@ -22,13 +22,6 @@ new topics to slow down and contributors are encouraged to focus
22 more on finding and fixing possible regressions relative to Git
23 2.46, the last feature release.
24
25 -Unfortunately our CI jobs seem to be failing due to
26 -https://lore.kernel.org/git/xmqqmsk37926.fsf@gitster.g/
27 -
28 -The regression in libCurl 8.10.0 has been identified and corrected
29 -in the upstream, but apparently it takes time for the fix to
30 -percolate down.
31 -
25 Copies of the source code to Git live in many repositories, and the
26 following is a list of the ones I push into or their mirrors. Some
27 repositories have only a subset of branches.
@@ -60,118 +53,135 @@ Release tarballs are available at:
53 --------------------------------------------------
54 [Graduated to 'master']
55
63 -* ds/sparse-checkout-expansion-advice (2024-09-23) 1 commit
64 - (merged to 'next' on 2024-09-27 at e670bccf7e)
65 - + sparse-checkout: disable advice in 'disable'
66 -
67 - When "git sparse-checkout disable" turns a sparse checkout into a
68 - regular checkout, the index is fully expanded. This totally
69 - expected behaviour however had an "oops, we are expanding the
70 - index" advice message, which has been corrected.
71 - source: <pull.1800.git.1727119882901.gitgitgadget@gmail.com>
72 -
73 -
74 -* jk/http-leakfixes (2024-09-25) 28 commits
75 - (merged to 'next' on 2024-09-27 at c52b418c92)
76 - + http-push: clean up local_refs at exit
77 - + http-push: clean up loose request when falling back to packed
78 - + http-push: clean up objects list
79 - + http-push: free xml_ctx.cdata after use
80 - + http-push: free remote_ls_ctx.dentry_name
81 - + http-push: free transfer_request strbuf
82 - + http-push: free transfer_request dest field
83 - + http-push: free curl header lists
84 - + http-push: free repo->url string
85 - + http-push: clear refspecs before exiting
86 - + http-walker: free fake packed_git list
87 - + remote-curl: free HEAD ref with free_one_ref()
88 - + http: stop leaking buffer in http_get_info_packs()
89 - + http: call git_inflate_end() when releasing http_object_request
90 - + http: fix leak of http_object_request struct
91 - + http: fix leak when redacting cookies from curl trace
92 - + transport-helper: fix leak of dummy refs_list
93 - + fetch-pack: clear pack lockfiles list
94 - + fetch: free "raw" string when shrinking refspec
95 - + transport-helper: fix strbuf leak in push_refs_with_push()
96 - + send-pack: free cas options before exit
97 - + commit: avoid leaking already-saved buffer
98 - + fetch-pack, send-pack: clean up shallow oid array
99 - + fetch-pack: free object filter before exiting
100 - + connect: clear child process before freeing in diagnostic mode
101 - + fetch-pack: fix leaking sought refs
102 - + shallow: fix leak when unregistering last shallow root
103 - + http-fetch: clear leaking git-index-pack(1) arguments
104 - (this branch is used by ps/leakfixes-part-8.)
105 -
106 - Leakfixes.
107 - source: <20240924214930.GA1143523@coredump.intra.peff.net>
108 -
109 -
110 -* ps/leakfixes-part-7 (2024-09-27) 24 commits
111 - (merged to 'next' on 2024-09-27 at 8c1aa7e558)
112 - + diffcore-break: fix leaking filespecs when merging broken pairs
113 - + revision: fix leaking parents when simplifying commits
114 - + builtin/maintenance: fix leak in `get_schedule_cmd()`
115 - + builtin/maintenance: fix leaking config string
116 - + promisor-remote: fix leaking partial clone filter
117 - + grep: fix leaking grep pattern
118 - + submodule: fix leaking submodule ODB paths
119 - + trace2: destroy context stored in thread-local storage
120 - + builtin/difftool: plug several trivial memory leaks
121 - + builtin/repack: fix leaking configuration
122 - + diffcore-order: fix leaking buffer when parsing orderfiles
123 - + parse-options: free previous value of `OPTION_FILENAME`
124 - + diff: fix leaking orderfile option
125 - + builtin/pull: fix leaking "ff" option
126 - + dir: fix off by one errors for ignored and untracked entries
127 - + builtin/submodule--helper: fix leaking remote ref on errors
128 - + t/helper: fix leaking subrepo in nested submodule config helper
129 - + builtin/submodule--helper: fix leaking error buffer
130 - + builtin/submodule--helper: clear child process when not running it
131 - + submodule: fix leaking update strategy
132 - + git: fix leaking argv when handling builtins
133 - + builtin/help: fix leaking `html_path` when reading config multiple times
134 - + builtin/help: fix dangling reference to `html_path`
135 - + Merge branch 'ps/leakfixes-part-6' into ps/leakfixes-part-7
136 - (this branch is used by ps/leakfixes-part-8.)
137 -
138 - More leak-fixes.
139 - cf. <ZulXjXSozNrXgMUM@pks.im>
140 - source: <cover.1727351062.git.ps@pks.im>
141 -
142 -
143 -* tb/weak-sha1-for-tail-sum (2024-09-27) 8 commits
144 - (merged to 'next' on 2024-09-30 at 1b4caadd94)
145 - + csum-file.c: use unsafe SHA-1 implementation when available
146 - + Makefile: allow specifying a SHA-1 for non-cryptographic uses
147 - + hash.h: scaffolding for _unsafe hashing variants
148 - + sha1: do not redefine `platform_SHA_CTX` and friends
149 - + pack-objects: use finalize_object_file() to rename pack/idx/etc
150 - + finalize_object_file(): implement collision check
151 - + finalize_object_file(): refactor unlink_or_warn() placement
152 - + finalize_object_file(): check for name collision before renaming
153 -
154 - The checksum at the tail of files are now computed without
155 - collision detection protection. This is safe as the consumer of
156 - the information to protect itself from replay attacks checks for
157 - hash collisions independently.
158 - cf. <20240927035712.GH567395@coredump.intra.peff.net>
159 - cf. <CABPp-BH3y96DjapzLPJ+vCoChQiD_wR9uLc3QPsXqzSUr4AFvQ@mail.gmail.com>
160 - source: <cover.1727364141.git.me@ttaylorr.com>
56 +* ak/doc-typofix (2024-09-23) 2 commits
57 + (merged to 'next' on 2024-10-04 at f667f89519)
58 + + Documentation: fix typos
59 + + Documentation/config: fix typos
60 +
61 + Typofixes.
62 + source: <20240923110343.12388-2-algonell@gmail.com>
63 +
64 +
65 +* ak/typofix-2.46-maint (2024-10-03) 4 commits
66 + (merged to 'next' on 2024-10-04 at dd35f48cf2)
67 + + perl: fix a typo
68 + + mergetool: fix a typo
69 + + reftable: fix a typo
70 + + trace2: fix typos
71 +
72 + Typofixes.
73 + source: <20241002223816.14858-1-algonell@gmail.com>
74
162 ---------------------------------------------------
163 -[New Topics]
75
76 * ds/read-cache-mempool-leakfix (2024-10-01) 1 commit
77 (merged to 'next' on 2024-10-02 at c0eac890ac)
78 + read-cache: free threaded memory pool
79
80 Leakfix.
170 -
171 - Will merge to 'master'.
81 source: <pull.1801.v2.git.1727804265033.gitgitgadget@gmail.com>
82
83
84 +* jc/doc-discarding-stalled-topics (2024-09-26) 1 commit
85 + (merged to 'next' on 2024-10-02 at adb0d84fd4)
86 + + howto-maintain-git: discarding inactive topics
87 +
88 + Document that inactive topics are subject to be discarded.
89 + source: <xmqqikuii60q.fsf@gitster.g>
90 +
91 +
92 +* jk/test-lsan-improvements (2024-09-25) 3 commits
93 + (merged to 'next' on 2024-10-02 at 3d8303fcfe)
94 + + test-lib: check for leak logs after every test
95 + + test-lib: show leak-sanitizer logs on --immediate failure
96 + + test-lib: stop showing old leak logs
97 +
98 + Usability improvements for running tests in leak-checking mode.
99 + source: <20240924213404.GA1142219@coredump.intra.peff.net>
100 +
101 +
102 +* kn/osx-fsmonitor-with-submodules-fix (2024-10-04) 1 commit
103 + (merged to 'next' on 2024-10-04 at 5a9a8775f8)
104 + + fsmonitor OSX: fix hangs for submodules
105 +
106 + macOS with fsmonitor daemon can hang forever when a submodule is
107 + involved, which has been corrected.
108 + source: <pull.1802.v4.git.1728000433326.gitgitgadget@gmail.com>
109 +
110 +
111 +* mh/w-unused-fix (2024-10-02) 1 commit
112 + (merged to 'next' on 2024-10-04 at 9a52af034e)
113 + + utf8.h: squelch unused-parameter warnings with NO_ICONV
114 +
115 + Buildfix.
116 + source: <20241002200140.2123584-1-mh@glandium.org>
117 +
118 +
119 +* ps/reftable-concurrent-writes (2024-10-04) 1 commit
120 + (merged to 'next' on 2024-10-04 at f705b3334a)
121 + + t0610: work around flaky test with concurrent writers
122 +
123 + Test fix.
124 + source: <f3874c7e923846e453499e89f00dd4f8862e4c40.1728055880.git.ps@pks.im>
125 +
126 +
127 +* rs/archive-with-attr-pathspec-fix (2024-10-03) 1 commit
128 + (merged to 'next' on 2024-10-04 at cc1087dcc0)
129 + + archive: fix misleading error message
130 +
131 + Message update.
132 + source: <faed1d0e-86a8-4dcd-a27f-19dcd9f89f37@web.de>
133 +
134 +
135 +* tb/weak-sha1-for-tail-sum (2024-10-03) 1 commit
136 + (merged to 'next' on 2024-10-04 at c970b9a3e9)
137 + + hash.h: set NEEDS_CLONE_HELPER_UNSAFE in fallback mode
138 +
139 + Build fix.
140 + source: <20241002232618.GA3442753@coredump.intra.peff.net>
141 +
142 +--------------------------------------------------
143 +[New Topics]
144 +
145 +* ds/line-log-asan-fix (2024-10-03) 1 commit
146 + (merged to 'next' on 2024-10-04 at ee702f6c95)
147 + + line-log: protect inner strbuf from free
148 + (this branch is used by jk/output-prefix-cleanup.)
149 +
150 + Use after free and double freeing at the end in "git log -L... -p"
151 + had been identified and fixed.
152 +
153 + Will cook in 'next'.
154 + source: <05c21616c350b5141c17fde1aa5d3aea881c6031.1727956724.git.gitgitgadget@gmail.com>
155 +
156 +
157 +* sk/doc-maintenance-schedule (2024-10-03) 1 commit
158 + (merged to 'next' on 2024-10-04 at 2d3722c29d)
159 + + doc: add a note about staggering of maintenance
160 +
161 + Doc update to clarify how periodical maintenance are scheduled,
162 + spread across time to avoid thundering hurds.
163 +
164 + Will cook in 'next'.
165 + source: <pull.1794.git.git.1727945877922.gitgitgadget@gmail.com>
166 +
167 +
168 +* jk/output-prefix-cleanup (2024-10-03) 5 commits
169 + (merged to 'next' on 2024-10-04 at 06298d1525)
170 + + diff: store graph prefix buf in git_graph struct
171 + + diff: return line_prefix directly when possible
172 + + diff: return const char from output_prefix callback
173 + + diff: drop line_prefix_length field
174 + + line-log: use diff_line_prefix() instead of custom helper
175 + (this branch uses ds/line-log-asan-fix.)
176 +
177 + Code clean-up.
178 +
179 + Will cook in 'next'.
180 + source: <pull.1806.v2.git.1727956724.gitgitgadget@gmail.com>
181 +
182 +--------------------------------------------------
183 +[Cooking]
184 +
185 * kn/fsmonitor-event-listener-fix (2024-10-02) 1 commit
186 - fsmonitor: fix hangs by delayed fs event listening
187
@@ -181,14 +191,13 @@ Release tarballs are available at:
191 Comments?
192 source: <pull.1804.git.1727862424713.gitgitgadget@gmail.com>
193
184 ---------------------------------------------------
185 -[Cooking]
194
187 -* jc/a-commands-without-the-repo (2024-09-30) 4 commits
188 - - archive: remove the_repository global variable
189 - - apply: remove the_repository global variable
190 - - annotate: remove usage of the_repository global
191 - - git: pass in repo for RUN_SETUP_GENTLY
195 +* jc/a-commands-without-the-repo (2024-10-04) 5 commits
196 + . SQUASH??? uninitialized variable use fix
197 + . archive: remove the_repository global variable
198 + . apply: remove the_repository global variable
199 + . annotate: remove usage of the_repository global
200 + . git: pass in repo for RUN_SETUP_GENTLY
201
202 Commands that can also work outside Git have learned to take the
203 repository instance "repo" when we know we are in a repository, and
@@ -200,58 +209,48 @@ Release tarballs are available at:
209 source: <pull.1788.v2.git.git.1727718030.gitgitgadget@gmail.com>
210
211
203 -* kn/osx-fsmonitor-with-submodules-fix (2024-10-01) 1 commit
204 - - fsmonitor OSX: fix hangs for submodules
205 -
206 - macOS with fsmonitor daemon can hang forever when a submodule is
207 - involved, which has been corrected.
208 -
209 - Expecting a reroll.
210 - cf. <CAOTNsDygwBkNdFX4K_ixL5kP-AvDxWWVXkvfkmV4Kh04ozdYkA@mail.gmail.com>
211 - source: <pull.1802.v3.git.1727810964571.gitgitgadget@gmail.com>
212 -
213 -
212 * ps/leakfixes-part-8 (2024-09-30) 25 commits
215 - - builtin/send-pack: fix leaking list of push options
216 - - remote: fix leaking push reports
217 - - t/helper: fix leaks in proc-receive helper
218 - - pack-write: fix return parameter of `write_rev_file_order()`
219 - - revision: fix leaking saved parents
220 - - revision: fix memory leaks when rewriting parents
221 - - midx-write: fix leaking buffer
222 - - pack-bitmap-write: fix leaking OID array
223 - - pseudo-merge: fix leaking strmap keys
224 - - pseudo-merge: fix various memory leaks
225 - - line-log: fix several memory leaks
226 - - diff: improve lifecycle management of diff queues
227 - - builtin/revert: fix leaking `gpg_sign` and `strategy` config
228 - - t/helper: fix leaking repository in partial-clone helper
229 - - builtin/clone: fix leaking repo state when cloning with bundle URIs
230 - - builtin/pack-redundant: fix various memory leaks
231 - - builtin/stash: fix leaking `pathspec_from_file`
232 - - submodule: fix leaking submodule entry list
233 - - wt-status: fix leaking buffer with sparse directories
234 - - shell: fix leaking strings
235 - - scalar: fix leaking repositories
236 - - read-cache: fix leaking hash context in `do_write_index()`
237 - - builtin/annotate: fix leaking args vector
238 - - Merge branch 'jk/http-leakfixes' into ps/leakfixes-part-8
239 - - Merge branch 'ps/leakfixes-part-7' into ps/leakfixes-part-8
213 + (merged to 'next' on 2024-10-04 at 3cfb5747d2)
214 + + builtin/send-pack: fix leaking list of push options
215 + + remote: fix leaking push reports
216 + + t/helper: fix leaks in proc-receive helper
217 + + pack-write: fix return parameter of `write_rev_file_order()`
218 + + revision: fix leaking saved parents
219 + + revision: fix memory leaks when rewriting parents
220 + + midx-write: fix leaking buffer
221 + + pack-bitmap-write: fix leaking OID array
222 + + pseudo-merge: fix leaking strmap keys
223 + + pseudo-merge: fix various memory leaks
224 + + line-log: fix several memory leaks
225 + + diff: improve lifecycle management of diff queues
226 + + builtin/revert: fix leaking `gpg_sign` and `strategy` config
227 + + t/helper: fix leaking repository in partial-clone helper
228 + + builtin/clone: fix leaking repo state when cloning with bundle URIs
229 + + builtin/pack-redundant: fix various memory leaks
230 + + builtin/stash: fix leaking `pathspec_from_file`
231 + + submodule: fix leaking submodule entry list
232 + + wt-status: fix leaking buffer with sparse directories
233 + + shell: fix leaking strings
234 + + scalar: fix leaking repositories
235 + + read-cache: fix leaking hash context in `do_write_index()`
236 + + builtin/annotate: fix leaking args vector
237 + + Merge branch 'jk/http-leakfixes' into ps/leakfixes-part-8
238 + + Merge branch 'ps/leakfixes-part-7' into ps/leakfixes-part-8
239
240 More leakfixes.
241
243 - Will merge to 'next'.
242 + Will cook in 'next'.
243 source: <cover.1727687410.git.ps@pks.im>
244
245
247 -* tb/notes-amlog-doc (2024-09-30) 2 commits
248 - - Documentation: mention the amlog in howto/maintain-git.txt
249 - - howto-maintain: mention notes/amlog policy
246 +* tb/notes-amlog-doc (2024-10-03) 1 commit
247 + (merged to 'next' on 2024-10-04 at e73c8753e8)
248 + + Documentation: mention the amlog in howto/maintain-git.txt
249
250 Document "amlog" notes.
251
253 - Comments?
254 - source: <a4b1da93e16d88323181f8f8444f01d96e09ef45.1727729100.git.me@ttaylorr.com>
252 + Will cook in 'next'.
253 + source: <88a13b9f2b6e7fbed517a7e268e4e371d84a9a10.1727917792.git.me@ttaylorr.com>
254
255
256 * ej/cat-file-remote-object-info (2024-09-27) 6 commits
@@ -269,28 +268,6 @@ Release tarballs are available at:
268 source: <20240926013856.35527-1-eric.peijian@gmail.com>
269
270
272 -* jc/doc-discarding-stalled-topics (2024-09-26) 1 commit
273 - (merged to 'next' on 2024-10-02 at adb0d84fd4)
274 - + howto-maintain-git: discarding inactive topics
275 -
276 - Document that inactive topics are subject to be discarded.
277 -
278 - Will merge to 'master'.
279 - source: <xmqqikuii60q.fsf@gitster.g>
280 -
281 -
282 -* jk/test-lsan-improvements (2024-09-25) 3 commits
283 - (merged to 'next' on 2024-10-02 at 3d8303fcfe)
284 - + test-lib: check for leak logs after every test
285 - + test-lib: show leak-sanitizer logs on --immediate failure
286 - + test-lib: stop showing old leak logs
287 -
288 - Usability improvements for running tests in leak-checking mode.
289 -
290 - Will merge to 'master'.
291 - source: <20240924213404.GA1142219@coredump.intra.peff.net>
292 -
293 -
271 * es/worktree-repair-copied (2024-09-23) 1 commit
272 - worktree: repair copied repository and linked worktrees
273
@@ -324,7 +301,9 @@ Release tarballs are available at:
301 source: <xmqq7cb77810.fsf@gitster.g>
302
303
327 -* ps/reftable-alloc-failures (2024-10-02) 27 commits
304 +* ps/reftable-alloc-failures (2024-10-04) 28 commits
305 + (merged to 'next' on 2024-10-04 at 5649ef3dd7)
306 + + reftable/basics: fix segfault when growing `names` array fails
307 (merged to 'next' on 2024-10-02 at a6d42d51d4)
308 + reftable/basics: ban standard allocator functions
309 + reftable: introduce `REFTABLE_FREE_AND_NULL()`
@@ -359,6 +338,7 @@ Release tarballs are available at:
338 with such an error.
339
340 Will cook in 'next'.
341 + source: <CAPig+cT7nni11bGmNyYCQZ0P0QZ_HG-izPtsymq==sUOkOn-Lw@mail.gmail.com>
342 source: <cover.1727866394.git.ps@pks.im>
343
344
@@ -389,7 +369,7 @@ Release tarballs are available at:
369 source: <20240910163000.1985723-1-christian.couder@gmail.com>
370
371
392 -* ds/pack-name-hash-tweak (2024-09-19) 6 commits
372 +* ds/pack-name-hash-tweak (2024-10-04) 6 commits
373 - test-tool: add helper for name-hash values
374 - p5313: add size comparison test
375 - git-repack: update usage to match docs
@@ -430,7 +410,8 @@ Release tarballs are available at:
410 source: <Zvj-DgHqtC30KjJe@ArchLinux>
411
412
433 -* tb/incremental-midx-part-2 (2024-08-28) 16 commits
413 +* tb/incremental-midx-part-2 (2024-10-04) 17 commits
414 + - fixup! pack-bitmap.c: open and store incremental bitmap layers
415 - fixup! midx: implement writing incremental MIDX bitmaps
416 - midx: implement writing incremental MIDX bitmaps
417 - pack-bitmap.c: use `ewah_or_iterator` for type bitmap iterators
@@ -452,6 +433,7 @@ Release tarballs are available at:
433
434 Needs review.
435 source: <cover.1723760847.git.me@ttaylorr.com>
436 + source: <ZwBsbW5jsFw0mxKk@nand.local>
437
438
439 * js/libgit-rust (2024-09-09) 7 commits