What's cooking (2024/11 #08)
Junio C Hamano committed
Nov 22, 2024 at 17:05 UTC
493580075114b866a5c922724a029c08058ef83e
1 file changed
+158
-128
whats-cooking.txt
+158
-128
@@ -1,10 +1,10 @@
1
To: git@vger.kernel.org
2
-Subject: What's cooking in git.git (Nov 2024, #07; Wed, 20)
3
-X-master-at: 4083a6f05206077a50af7658bedc17a94c54607d
4
-X-next-at: 19ba395cfbc44b678027f7759aa877c040ad48a2
2
+Subject: What's cooking in git.git (Nov 2024, #08; Fri, 22)
3
+X-master-at: 04eaff62f286226f501dd21f069e0e257aee11a6
4
+X-next-at: ff69ae122fde5d47c6ff367af9aef7587057b59f
5
Bcc: lwn@lwn.net, gitster@pobox.com
6
7
-What's cooking in git.git (Nov 2024, #07; Wed, 20)
7
+What's cooking in git.git (Nov 2024, #08; Fri, 22)
8
--------------------------------------------------
9
10
Here are the topics that have been cooking in my tree. Commits
@@ -48,43 +48,115 @@ Release tarballs are available at:
48
--------------------------------------------------
49
[Graduated to 'master']
50
51
-* ja/git-add-doc-markup (2024-11-12) 1 commit
52
- (merged to 'next' on 2024-11-13 at 1af6d17105)
53
- + doc: git-add.txt: convert to new style convention
51
+* jk/fetch-prefetch-double-free-fix (2024-11-12) 3 commits
52
+ (merged to 'next' on 2024-11-15 at 178c112999)
53
+ + refspec: store raw refspecs inside refspec_item
54
+ + refspec: drop separate raw_nr count
55
+ + fetch: adjust refspec->raw_nr when filtering prefetch refspecs
56
55
- Documentation mark-up updates.
56
-
57
- source: <pull.1826.git.1731348891108.gitgitgadget@gmail.com>
57
+ Double-free fix.
58
+ source: <20241112083204.GA2636868@coredump.intra.peff.net>
59
60
60
-* jt/repack-local-promisor (2024-11-12) 4 commits
61
- (merged to 'next' on 2024-11-13 at 895d633576)
62
- + index-pack: repack local links into promisor packs
63
- + t5300: move --window clamp test next to unclamped
64
- + t0410: use from-scratch server
65
- + t0410: make test description clearer
66
- (this branch is used by jt/index-pack-allow-promisor-only-while-fetching.)
61
+* jk/test-malloc-debug-check (2024-11-14) 2 commits
62
+ (merged to 'next' on 2024-11-15 at 4f8a448748)
63
+ + test-lib: move malloc-debug setup after $PATH setup
64
+ (merged to 'next' on 2024-11-13 at 9aa0331ba1)
65
+ + test-lib: check malloc debug LD_PRELOAD before using
66
+
67
+ Avoid build/test breakage on a system without working malloc debug
68
+ support dynamic library.
69
+ source: <20241111070134.GA675125@coredump.intra.peff.net>
70
+ source: <20241114012729.GA1148710@coredump.intra.peff.net>
71
68
- "git gc" discards any objects that are outside promisor packs that
69
- are referred to by an object in a promisor pack, and we do not
70
- refetch them from the promisor at runtime, resulting an unusable
71
- repository. Work it around by including these objects in the
72
- referring promisor pack at the receiving end of the fetch.
73
-
74
- source: <cover.1730491845.git.jonathantanmy@google.com>
72
73
+* sm/difftool (2024-11-13) 1 commit
74
+ (merged to 'next' on 2024-11-15 at a323438b13)
75
+ + builtin/difftool: intialize some hashmap variables
76
77
-* la/trailer-info (2024-10-14) 1 commit
78
- (merged to 'next' on 2024-11-13 at f038e226f6)
79
- + trailer: spread usage of "trailer_block" language
77
+ Use of some uninitialized variables in "git difftool" has been
78
+ corrected.
79
+ source: <20241112162320.818091-1-simon.marchi@polymtl.ca>
80
81
- Renaming a handful of variables and structure fields.
82
-
83
- source: <pull.1811.git.git.1728820722580.gitgitgadget@gmail.com>
81
+
82
+* tb/multi-pack-reuse-dupfix (2024-11-15) 2 commits
83
+ (merged to 'next' on 2024-11-16 at 32792297e5)
84
+ + pack-objects: only perform verbatim reuse on the preferred pack
85
+ + t5332-multi-pack-reuse.sh: demonstrate duplicate packing failure
86
+
87
+ Object reuse code based on multi-pack-index sent an unwanted copy
88
+ of object.
89
+ source: <cover.1731591708.git.me@ttaylorr.com>
90
91
--------------------------------------------------
92
[New Topics]
93
94
+* kn/midx-wo-the-repository (2024-11-21) 11 commits
95
+ - midx: inline the `MIDX_MIN_SIZE` definition
96
+ - midx: pass down `hash_algo` to `get_split_midx_filename_ext`
97
+ - midx: pass down `hash_algo` to `get_midx_filename[_ext]`
98
+ - midx: pass `repository` to `load_multi_pack_index`
99
+ - midx: cleanup internal usage of `the_repository` and `the_hash_algo`
100
+ - midx-write: pass down repository to `write_midx_file[_only]`
101
+ - write-midx: add repository field to `write_midx_context`
102
+ - midx-write: use `revs->repo` inside `read_refs_snapshot`
103
+ - midx-write: pass down repository to static functions
104
+ - builtin: pass repository to sub commands
105
+ - Merge branch 'kn/the-repository' into kn/midx-wo-the-repository
106
+ (this branch uses kn/the-repository.)
107
+
108
+ Yet another "pass the repository through the callchain" topic.
109
+
110
+ Waiting for the base topic being rerolled.
111
+ source: <20241119-374-refactor-midx-c-and-midx-write-c-to-not-depend-on-global-state-v2-0-e2f607174efc@gmail.com>
112
+
113
+
114
+* tb/unsafe-hash-test (2024-11-21) 2 commits
115
+ - t/helper/test-tool: implement sha1-unsafe helper
116
+ - t/helper/test-sha1: prepare for an unsafe mode
117
+
118
+ Preliminary addition to the test tool to allow a plain SHA-1 hash
119
+ algorithm without collision protection.
120
+
121
+ Comments?
122
+ source: <cover.1730833506.git.me@ttaylorr.com>
123
+
124
+
125
+* jt/bundle-fsck (2024-11-22) 5 commits
126
+ - transport: propagate fsck configuration during bundle fetch
127
+ - fetch-pack: expose `fetch_pack_config_cb()`
128
+ - fetch-pack: introduce `fetch_pack_options`
129
+ - bundle: support fsck message configuration
130
+ - bundle: add bundle verification options type
131
+
132
+ "git bundle --unbundle" and "git clone" running on a bundle file
133
+ both learned to trigger fsck over the new objects with configurable
134
+ fck check levels.
135
+
136
+ Expecting a reroll.
137
+ source: <20241121204119.1440773-1-jltobler@gmail.com>
138
+
139
+
140
+* tb/boundary-traversal-fix (2024-11-22) 1 commit
141
+ - pack-bitmap.c: typofix in `find_boundary_objects()`
142
+
143
+ A trivial "correctness" fix that does not yet matter in practice.
144
+
145
+ Will merge to 'next'.
146
+ source: <cf49115db4e8dcd406a17c946659c2eef3ec6045.1732229420.git.me@ttaylorr.com>
147
+
148
+
149
+* tb/use-test-file-size-more (2024-11-22) 1 commit
150
+ - t/perf: use 'test_file_size' in more places
151
+
152
+ Use the right helper program to measure file size in performance tests.
153
+
154
+ Will merge to 'next'.
155
+ source: <50c1368630684f235548d2e9a68d4de3745b5fe6.1732220875.git.me@ttaylorr.com>
156
+
157
+--------------------------------------------------
158
+[Cooking]
159
+
160
* bc/allow-upload-pack-from-other-people (2024-11-15) 1 commit
161
- Allow cloning from repositories owned by another user
162
@@ -97,12 +169,13 @@ Release tarballs are available at:
169
170
171
* kn/ref-transaction-hook-with-reflog (2024-11-15) 1 commit
100
- - refs: don't invoke reference-transaction hook for reflogs
172
+ (merged to 'next' on 2024-11-20 at 23399887d7)
173
+ + refs: don't invoke reference-transaction hook for reflogs
174
175
The ref-transaction hook triggered for reflog updates, which has
176
been corrected.
177
105
- Will merge to 'next'.
178
+ Will merge to 'master'.
179
source: <20241114-348-do-not-call-the-reference-transaction-hooks-for-reflogs-v1-1-ece7260ee3c1@gmail.com>
180
181
@@ -165,13 +238,13 @@ Release tarballs are available at:
238
239
240
* ps/gc-stale-lock-warning (2024-11-20) 1 commit
168
- - builtin/gc: provide hint when maintenance hits a stale schedule lock
241
+ (merged to 'next' on 2024-11-20 at 1099c31715)
242
+ + builtin/gc: provide hint when maintenance hits a stale schedule lock
243
170
- Give a bit of advice/hint message when "git gc" stops finding a
171
- lock file left by another instance of "git gc" that still is
172
- potentially running.
244
+ Give a bit of advice/hint message when "git maintenance" stops finding a
245
+ lock file left by another instance that still is potentially running.
246
174
- Will merge to 'next'.
247
+ Will merge to 'master'.
248
source: <20241119-pks-maintenance-hint-with-stale-lock-v1-1-f9f9a98e12a0@pks.im>
249
250
@@ -197,8 +270,6 @@ Release tarballs are available at:
270
Needs review.
271
source: <cover.1732054032.git.me@ttaylorr.com>
272
200
---------------------------------------------------
201
-[Cooking]
273
274
* ja/git-diff-doc-markup (2024-11-19) 5 commits
275
- doc: git-diff: apply format changes to config part
@@ -213,20 +284,6 @@ Release tarballs are available at:
284
source: <pull.1769.v4.git.1731967553.gitgitgadget@gmail.com>
285
286
216
-* jk/test-malloc-debug-check (2024-11-14) 2 commits
217
- (merged to 'next' on 2024-11-15 at 4f8a448748)
218
- + test-lib: move malloc-debug setup after $PATH setup
219
- (merged to 'next' on 2024-11-13 at 9aa0331ba1)
220
- + test-lib: check malloc debug LD_PRELOAD before using
221
-
222
- Avoid build/test breakage on a system without working malloc debug
223
- support dynamic library.
224
-
225
- Will merge to 'master'.
226
- source: <20241111070134.GA675125@coredump.intra.peff.net>
227
- source: <20241114012729.GA1148710@coredump.intra.peff.net>
228
-
229
-
287
* ps/clar-build-improvement (2024-11-18) 4 commits
288
(merged to 'next' on 2024-11-20 at d88840a15d)
289
+ Makefile: let clar header targets depend on their scripts
@@ -240,18 +297,6 @@ Release tarballs are available at:
297
source: <20241115-pks-clar-build-improvements-v3-0-29672bf65ec6@pks.im>
298
299
243
-* jk/fetch-prefetch-double-free-fix (2024-11-12) 3 commits
244
- (merged to 'next' on 2024-11-15 at 178c112999)
245
- + refspec: store raw refspecs inside refspec_item
246
- + refspec: drop separate raw_nr count
247
- + fetch: adjust refspec->raw_nr when filtering prefetch refspecs
248
-
249
- Double-free fix.
250
-
251
- Will merge to 'master'.
252
- source: <20241112083204.GA2636868@coredump.intra.peff.net>
253
-
254
-
300
* pb/mergetool-errors (2024-11-13) 5 commits
301
- git-difftool--helper.sh: exit upon initialize_merge_tool errors
302
- git-mergetool--lib.sh: add error message for unknown tool variant
@@ -282,30 +327,7 @@ Release tarballs are available at:
327
source: <cover.1731603991.git.zhiyou.jx@alibaba-inc.com>
328
329
285
-* sm/difftool (2024-11-13) 1 commit
286
- (merged to 'next' on 2024-11-15 at a323438b13)
287
- + builtin/difftool: intialize some hashmap variables
288
-
289
- Use of some uninitialized variables in "git difftool" has been
290
- corrected.
291
-
292
- Will merge to 'master'.
293
- source: <20241112162320.818091-1-simon.marchi@polymtl.ca>
294
-
295
-
296
-* tb/multi-pack-reuse-dupfix (2024-11-15) 2 commits
297
- (merged to 'next' on 2024-11-16 at 32792297e5)
298
- + pack-objects: only perform verbatim reuse on the preferred pack
299
- + t5332-multi-pack-reuse.sh: demonstrate duplicate packing failure
300
-
301
- Object reuse code based on multi-pack-index sent an unwanted copy
302
- of object.
303
-
304
- Will merge to 'master'.
305
- source: <cover.1731591708.git.me@ttaylorr.com>
306
-
307
-
308
-* ps/ref-backend-migration-optim (2024-11-08) 10 commits
330
+* ps/ref-backend-migration-optim (2024-11-21) 10 commits
331
- reftable/block: optimize allocations by using scratch buffer
332
- reftable/block: rename `block_writer::buf` variable
333
- reftable/writer: optimize allocations by using a scratch buffer
@@ -319,8 +341,8 @@ Release tarballs are available at:
341
342
Optimize migration procedure between two ref backends.
343
322
- Needs review.
323
- source: <20241108-pks-refs-optimize-migrations-v1-0-7fd37fa80e35@pks.im>
344
+ Will merge to 'next'.
345
+ source: <20241120-pks-refs-optimize-migrations-v2-0-a233374b7452@pks.im>
346
347
348
* js/log-remerge-keep-ancestry (2024-11-12) 1 commit
@@ -348,7 +370,8 @@ Release tarballs are available at:
370
Optimize reading random references out of the reftable backend by
371
allowing reuse of iterator objects.
372
351
- Needs review.
373
+ Expecting a reroll.
374
+ cf. <ZzMaX8HCj3GO5JUJ@pks.im>
375
source: <cover.1730792627.git.ps@pks.im>
376
377
@@ -388,7 +411,7 @@ Release tarballs are available at:
411
source: <pull.1734.v2.git.1731073383564.gitgitgadget@gmail.com>
412
413
391
-* ps/leakfixes-part-10 (2024-11-13) 28 commits
414
+* ps/leakfixes-part-10 (2024-11-21) 28 commits
415
- t: remove TEST_PASSES_SANITIZE_LEAK annotations
416
- test-lib: unconditionally enable leak checking
417
- t: remove unneeded !SANITIZE_LEAK prerequisites
@@ -420,8 +443,8 @@ Release tarballs are available at:
443
444
Leakfixes.
445
423
- Will merge to 'next'?
424
- source: <20241111-b4-pks-leak-fixes-pt10-v2-0-6154bf91f0b0@pks.im>
446
+ Will merge to 'next'.
447
+ source: <20241120-b4-pks-leak-fixes-pt10-v3-0-d67f08f45c74@pks.im>
448
449
450
* kh/sequencer-comment-char (2024-11-13) 3 commits
@@ -593,7 +616,7 @@ Release tarballs are available at:
616
source: <cover.1728939687.git.steadmon@google.com>
617
618
596
-* bf/set-head-symref (2024-11-19) 9 commits
619
+* bf/set-head-symref (2024-11-22) 10 commits
620
- fetch set_head: handle mirrored bare repositories
621
- fetch: set remote/HEAD if it does not exist
622
- refs: add create_only option to refs_update_symref_extended
@@ -602,45 +625,47 @@ Release tarballs are available at:
625
- remote set-head: refactor for readability
626
- refs: atomically record overwritten ref in update_symref
627
- refs: standardize output of refs_read_symbolic_ref
628
+ - t/t5505-remote: test failure of set-head
629
- t/t5505-remote: set default branch to main
630
631
When "git fetch $remote" notices that refs/remotes/$remote/HEAD is
632
missing and discovers what branch the other side points with its
633
HEAD, refs/remotes/$remote/HEAD is updated to point to it.
634
611
- Looking good.
612
- source: <20241118151755.756265-1-bence@ferdinandy.com>
613
-
614
-
615
-* ps/build (2024-11-20) 23 commits
616
- . meson: fix conflicts with in-flight topics
617
- . Introduce support for the Meson build system
618
- . Documentation: add comparison of build systems
619
- . t: allow overriding build dir
620
- . t: better support for out-of-tree builds
621
- . Documentation: extract script to generate a list of mergetools
622
- . Documentation: teach "cmd-list.perl" about out-of-tree builds
623
- . Documentation: allow sourcing generated includes from separate dir
624
- . Makefile: simplify building of templates
625
- . Makefile: allow "bin-wrappers/" directory to exist
626
- . Makefile: refactor generators to be PWD-independent
627
- . Makefile: extract script to generate gitweb.js
628
- . Makefile: extract script to generate gitweb.cgi
629
- . Makefile: extract script to massage Shell scripts
630
- . Makefile: use "generate-perl.sh" to massage Perl library
631
- . Makefile: extract script to massage Perl scripts
632
- . Makefile: consistently use PERL_PATH
633
- . Makefile: generate doc versions via GIT-VERSION-GEN
634
- . Makefile: generate "git.rc" via GIT-VERSION-GEN
635
- . Makefile: propagate Git version via generated header
636
- . Makefile: refactor GIT-VERSION-GEN to be reusable
637
- . Makefile: consistently use @PLACEHOLDER@ to substitute
638
- . Makefile: use common template for GIT-BUILD-OPTIONS
635
+ Getting there.
636
+ source: <20241121225757.3877852-1-bence@ferdinandy.com>
637
+
638
+
639
+* ps/build (2024-11-22) 25 commits
640
+ - fixup! Makefile: propagate Git version via generated header
641
+ - fixup! Makefile: generate doc versions via GIT-VERSION-GEN
642
+ - meson: fix conflicts with in-flight topics
643
+ - Introduce support for the Meson build system
644
+ - Documentation: add comparison of build systems
645
+ - t: allow overriding build dir
646
+ - t: better support for out-of-tree builds
647
+ - Documentation: extract script to generate a list of mergetools
648
+ - Documentation: teach "cmd-list.perl" about out-of-tree builds
649
+ - Documentation: allow sourcing generated includes from separate dir
650
+ - Makefile: simplify building of templates
651
+ - Makefile: allow "bin-wrappers/" directory to exist
652
+ - Makefile: refactor generators to be PWD-independent
653
+ - Makefile: extract script to generate gitweb.js
654
+ - Makefile: extract script to generate gitweb.cgi
655
+ - Makefile: extract script to massage Shell scripts
656
+ - Makefile: use "generate-perl.sh" to massage Perl library
657
+ - Makefile: extract script to massage Perl scripts
658
+ - Makefile: consistently use PERL_PATH
659
+ - Makefile: generate doc versions via GIT-VERSION-GEN
660
+ - Makefile: generate "git.rc" via GIT-VERSION-GEN
661
+ - Makefile: propagate Git version via generated header
662
+ - Makefile: refactor GIT-VERSION-GEN to be reusable
663
+ - Makefile: consistently use @PLACEHOLDER@ to substitute
664
+ - Makefile: use common template for GIT-BUILD-OPTIONS
665
666
Build procedure update plus introduction of Mason based builds
667
668
Getting there.
643
- cf. <xmqq7c8y7aep.fsf@gitster.g>
669
source: <20241119-pks-meson-v8-0-809bf7f042f3@pks.im>
670
671
@@ -676,7 +701,7 @@ Release tarballs are available at:
701
source: <20240910163000.1985723-1-christian.couder@gmail.com>
702
703
679
-* sj/ref-contents-check (2024-11-15) 9 commits
704
+* sj/ref-contents-check (2024-11-21) 9 commits
705
- ref: add symlink ref content check for files backend
706
- ref: check whether the target of the symref is a ref
707
- ref: add basic symref content check for files backend
@@ -692,8 +717,8 @@ Release tarballs are available at:
717
wouldn't have written itself (e.g., missing terminating end-of-line
718
after the full object name).
719
695
- Comments?
696
- source: <ZzYqoai8X_Wdtbmt@ArchLinux>
720
+ Will merge to 'next'.
721
+ source: <Zz3MON9_9DGD6nsy@ArchLinux>
722
723
724
* js/libgit-rust (2024-10-16) 5 commits
@@ -719,7 +744,12 @@ Release tarballs are available at:
744
- packfile: pass `repository` to static function in the file
745
- packfile: use `repository` from `packed_git` directly
746
- packfile: add repository to struct `packed_git`
747
+ (this branch is used by kn/midx-wo-the-repository.)
748
749
Various implicit uses of 'the_repoository' in the packfile code
750
have been eliminated.
751
+
752
+ Expecting a rework around delta_base_cache_limit.
753
+ cf. <Zz5o35FZPFyM5KyL@nand.local>
754
+ cf. <CAOLa=ZRVpq7=tRiCrJD-do+PKS-ek3m58bpUm9S7t1oKepiLNQ@mail.gmail.com>
755
source: <cover.1731323350.git.karthik.188@gmail.com>