What's cooking (2022/07 #01)

Junio C Hamano committed Jul 1, 2022 at 15:33 UTC c251ee53e7c2ba0e76a48d6a20b94f23d431fb98
1 file changed +211 -63
whats-cooking.txt
+211 -63
@@ -1,10 +1,9 @@
1 To: git@vger.kernel.org
2 -Bcc: lwn@lwn.net
3 -Subject: What's cooking in git.git (Jun 2022, #08; Mon, 27)
2 +Subject: What's cooking in git.git (Jul 2022, #01; Fri, 1)
3 X-master-at: e4a4b31577c7419497ac30cebe30d755b97752c5
5 -X-next-at: 69fb8171204c8e773da4dd0a0988641096be0b42
4 +X-next-at: 8ac04bfd244e0d302aaeb6ab241eb092dcf6a733
5
7 -What's cooking in git.git (Jun 2022, #08; Mon, 27)
6 +What's cooking in git.git (Jul 2022, #01; Fri, 1)
7 --------------------------------------------------
8
9 Here are the topics that have been cooking in my tree. Commits
@@ -13,7 +12,11 @@ topic is stable enough to be used and are candidate to be in a
12 future release). Commits prefixed with '-' are only in 'seen',
13 and aren't considered "accepted" at all.
14
16 -Git 2.37 (final) has been tagged.
15 +Git 2.37 final was released, many in the northan hemisphere are
16 +about to be in summer vacation week. We probably will have a small
17 +update 2.37.1 near mid July to deal with a small "regression" in
18 +2.37 but otherwise things are expected to be slow, and slow is good
19 +;-)
20
21 Copies of the source code to Git live in many repositories, and the
22 following is a list of the ones I push into or their mirrors. Some
@@ -44,61 +47,170 @@ Release tarballs are available at:
47 https://www.kernel.org/pub/software/scm/git/
48
49 --------------------------------------------------
47 -[Graduated to 'master']
50 +[New Topics]
51
49 -* ab/credentials-in-url-more (2022-06-23) 1 commit
50 - (merged to 'next' on 2022-06-23 at 11d700111c)
51 - + Documentation/config/transfer.txt: fix typo
52 +* ds/git-rebase-doc-markup (2022-06-30) 1 commit
53 + - git-rebase.txt: use back-ticks consistently
54
53 - Typofix.
54 - source: <68c1c3648c51f6298eea4d58286b20e0c770a270.1656010900.git.me@ttaylorr.com>
55 + Correct "git rebase" documentation mark-up.
56
57 + Will merge to 'next'.
58 + source: <pull.1270.v3.git.1656508868146.gitgitgadget@gmail.com>
59
57 -* jc/revert-show-parent-info (2022-06-27) 1 commit
58 - (merged to 'next' on 2022-06-27 at 9a7cc59c69)
59 - + revert: config documentation fixes
60
61 - Typofix.
62 - source: <6727daf1-f077-7319-187e-ab4e55de3b2d@web.de>
61 +* ds/rebase-update-ref (2022-06-28) 8 commits
62 + - rebase: add rebase.updateRefs config option
63 + - rebase: update refs from 'update-ref' commands
64 + - rebase: add --update-refs option
65 + - sequencer: add update-ref command
66 + - sequencer: define array with enum values
67 + - rebase-interactive: update 'merge' description
68 + - branch: consider refs under 'update-refs'
69 + - t2407: test branches currently using apply backend
70 + (this branch uses ds/branch-checked-out.)
71
64 ---------------------------------------------------
65 -[New Topics]
72 + "git rebase -i" learns to update branches whose tip appear in the
73 + rebased range.
74
67 -* ab/squelch-empty-fsync-traces (2022-06-23) 1 commit
68 - - trace2: don't include "fsync" events in all trace2 logs
75 + Will merge to 'next'?
76 + source: <pull.1247.v3.git.1656422759.gitgitgadget@gmail.com>
77
70 - Omit fsync-related trace2 entries when their values are all zero.
78
72 - Expecting a reroll.
73 - cf. <xmqqh74byy19.fsf@gitster.g>
74 - source: <patch-1.1-df87e515efd-20220623T154943Z-avarab@gmail.com>
79 +* ds/vscode-settings (2022-06-27) 1 commit
80 + - vscode: improve tab size and wrapping
81
82 + source: <pull.1271.git.1656354587496.gitgitgadget@gmail.com>
83
77 -* cl/grep-max-count (2022-06-22) 1 commit
78 - - grep: add --max-count command line option
84
80 - "git grep -m<max-hits>" is a way to limit the hits shown per file.
85 +* js/add-i-delete (2022-06-28) 1 commit
86 + (merged to 'next' on 2022-06-28 at 8ac04bfd24)
87 + + add --interactive: allow `update` to stage deleted files
88 +
89 + Rewrite of "git add -i" in C that appeared in Git 2.25 didn't
90 + correctly record a removed file to the index, which was fixed.
91 +
92 + Will merge to 'master'.
93 + source: <pull.1273.git.1656454964378.gitgitgadget@gmail.com>
94 +
95 +
96 +* tb/pack-objects-remove-pahole-comment (2022-06-28) 1 commit
97 + - pack-objects.h: remove outdated pahole results
98 +
99 + Comment fix.
100
101 Will merge to 'next'.
83 - source: <pull.1278.v4.git.git.1655927252899.gitgitgadget@gmail.com>
102 + source: <1379af2e9d271b501ef3942398e7f159a9c77973.1656440978.git.me@ttaylorr.com>
103
104
86 -* jk/revisions-doc-markup-fix (2022-06-22) 1 commit
87 - - revisions.txt: escape "..." to avoid asciidoc horizontal ellipsis
105 +* ab/leakfix (2022-07-01) 11 commits
106 + - pull: fix a "struct oid_array" memory leak
107 + - cat-file: fix a common "struct object_context" memory leak
108 + - gc: fix a memory leak
109 + - checkout: avoid "struct unpack_trees_options" leak
110 + - merge-file: fix memory leaks on error path
111 + - merge-file: refactor for subsequent memory leak fix
112 + - cat-file: fix a memory leak in --batch-command mode
113 + - revert: free "struct replay_opts" members
114 + - submodule.c: free() memory from xgetcwd()
115 + - clone: fix memory leak in wanted_peer_refs()
116 + - check-ref-format: fix trivial memory leak
117
89 - Documentation mark-up fix.
118 + Plug various memory leaks.
119 +
120 + source: <cover-v2-00.11-00000000000-20220701T104017Z-avarab@gmail.com>
121 +
122 +
123 +* ab/test-tool-leakfix (2022-07-01) 9 commits
124 + - test-tool delta: fix a memory leak
125 + - test-tool ref-store: fix a memory leak
126 + - test-tool bloom: fix memory leaks
127 + - test-tool json-writer: fix memory leaks
128 + - test-tool regex: call regfree(), fix memory leaks
129 + - test-tool urlmatch-normalization: fix a memory leak
130 + - test-tool {dump,scrap}-cache-tree: fix memory leaks
131 + - test-tool path-utils: fix a memory leak
132 + - test-tool test-hash: fix a memory leak
133 +
134 + Plug various memory leaks in test-tool commands.
135 +
136 + source: <cover-v2-0.9-00000000000-20220701T103503Z-avarab@gmail.com>
137 +
138 +
139 +* en/t6429-test-must-be-empty-fix (2022-06-30) 1 commit
140 + - t6429: fix use of non-existent function
141 +
142 + A test fix.
143
144 Will merge to 'next'.
92 - source: <YrOmsA04FZae89be@coredump.intra.peff.net>
145 + source: <pull.1276.git.1656652799863.gitgitgadget@gmail.com>
146
147
95 -* tk/rev-parse-doc-clarify-at-u (2022-06-23) 1 commit
96 - - rev-parse: documentation adjustment - mention remote tracking with @{u}
148 +* gc/submodule-use-super-prefix (2022-06-30) 8 commits
149 + - submodule--helper: remove display path helper
150 + - submodule--helper update: use --super-prefix
151 + - submodule--helper: remove unused SUPPORT_SUPER_PREFIX flags
152 + - submodule--helper: use correct display path helper
153 + - submodule--helper: don't recreate recursive prefix
154 + - submodule--helper update: use display path helper
155 + - submodule--helper tests: add missing "display path" coverage
156 + - Merge branch 'ab/submodule-cleanup' into gc/submodule-use-super-prefix
157 + (this branch uses ab/submodule-cleanup.)
158
98 - Doc update.
159 + Another step to rewrite more parts of "git submodule" in C.
160 +
161 + Will merge to 'next'?
162 + source: <20220701021157.88858-1-chooglen@google.com>
163 +
164 +
165 +* hx/lookup-commit-in-graph-fix (2022-06-30) 1 commit
166 + - commit-graph.c: no lazy fetch in lookup_commit_in_graph()
167 +
168 + A corner case bug where lazily fetching objects from a promisor
169 + remote resulted in infinite recursion has been corrected.
170
171 Will merge to 'next'.
101 - source: <pull.1265.v2.git.1655960512385.gitgitgadget@gmail.com>
172 + source: <96d4bb71505d87ed501c058bbd89bfc13d08b24a.1656593279.git.hanxin.hx@bytedance.com>
173 +
174 +
175 +* ll/ls-files-tests-update (2022-07-01) 1 commit
176 + - ls-files: update test style
177 +
178 + Test update.
179 +
180 + Will merge to 'next'.
181 + source: <pull.1269.v5.git.1656673435357.gitgitgadget@gmail.com>
182 +
183 +
184 +* pw/xdiff-alloc (2022-06-30) 3 commits
185 + - xdiff: introduce XDL_ALLOC_GROW()
186 + - xdiff: introduce XDL_CALLOC_ARRAY()
187 + - xdiff: introduce XDL_ALLOC_ARRAY()
188 +
189 + Add a level of redirection to array allocation API in xdiff part,
190 + to make it easier to share with the libgit2 project.
191 +
192 + Waiting for review responses.
193 + source: <pull.1272.git.1656516334.gitgitgadget@gmail.com>
194 +
195 +
196 +* sy/mv-out-of-cone (2022-07-01) 8 commits
197 + - mv: add check_dir_in_index() and solve general dir check issue
198 + - mv: use flags mode for update_mode
199 + - mv: check if <destination> exists in index to handle overwriting
200 + - mv: check if out-of-cone file exists in index with SKIP_WORKTREE bit
201 + - mv: decouple if/else-if checks using goto
202 + - mv: update sparsity after moving from out-of-cone to in-cone
203 + - t1092: mv directory from out-of-cone to in-cone
204 + - t7002: add tests for moving out-of-cone file/directory
205 +
206 + "git mv A B" in a sparsely populated working tree can be asked to
207 + move a path between directories that are "in cone" (i.e. expected
208 + to be materialized in the working tree) and "out of cone"
209 + (i.e. expected to be hidden). The handling of such cases has been
210 + improved.
211 +
212 + Will merge to 'next'.
213 + source: <20220630023737.473690-1-shaoxuan.yuan02@gmail.com>
214
215 --------------------------------------------------
216 [Stalled]
@@ -138,6 +250,42 @@ Release tarballs are available at:
250 --------------------------------------------------
251 [Cooking]
252
253 +* ab/squelch-empty-fsync-traces (2022-06-30) 1 commit
254 + . trace2: don't include "fsync" events in all trace2 logs
255 +
256 + Omit fsync-related trace2 entries when their values are all zero.
257 +
258 + Breaks tests in hx/unpack-streaming with an interesting interaction.
259 + source: <patch-v2-1.1-a1fc37de947-20220630T084607Z-avarab@gmail.com>
260 +
261 +
262 +* cl/grep-max-count (2022-06-22) 1 commit
263 + - grep: add --max-count command line option
264 +
265 + "git grep -m<max-hits>" is a way to limit the hits shown per file.
266 +
267 + Will merge to 'next'.
268 + source: <pull.1278.v4.git.git.1655927252899.gitgitgadget@gmail.com>
269 +
270 +
271 +* jk/revisions-doc-markup-fix (2022-06-22) 1 commit
272 + - revisions.txt: escape "..." to avoid asciidoc horizontal ellipsis
273 +
274 + Documentation mark-up fix.
275 +
276 + Will merge to 'next'.
277 + source: <YrOmsA04FZae89be@coredump.intra.peff.net>
278 +
279 +
280 +* tk/rev-parse-doc-clarify-at-u (2022-06-23) 1 commit
281 + - rev-parse: documentation adjustment - mention remote tracking with @{u}
282 +
283 + Doc update.
284 +
285 + Will merge to 'next'.
286 + source: <pull.1265.v2.git.1655960512385.gitgitgadget@gmail.com>
287 +
288 +
289 * en/merge-tree (2022-06-22) 17 commits
290 - git-merge-tree.txt: add a section on potentional usage mistakes
291 - merge-tree: add a --allow-unrelated-histories flag
@@ -232,7 +380,7 @@ Release tarballs are available at:
380 source: <pull.1262.v4.git.1656257376109.gitgitgadget@gmail.com>
381
382
235 -* ab/test-quoting-fix (2022-06-21) 3 commits
383 +* ab/test-quoting-fix (2022-06-30) 3 commits
384 - config tests: fix harmless but broken "rm -r" cleanup
385 - test-lib.sh: fix prepend_var() quoting issue
386 - tests: add missing double quotes to included library paths
@@ -240,20 +388,22 @@ Release tarballs are available at:
388 Fixes for tests when the source directory has unusual characters in
389 its path, e.g. whitespaces, double-quotes, etc.
390
243 - Expecting a reroll.
244 - source: <cover-0.3-00000000000-20220621T221928Z-avarab@gmail.com>
391 + Will merge to 'next'.
392 + source: <cover-v2-0.3-00000000000-20220630T101646Z-avarab@gmail.com>
393
394
247 -* en/merge-dual-dir-renames-fix (2022-06-21) 3 commits
395 +* en/merge-dual-dir-renames-fix (2022-06-30) 5 commits
396 - merge-ort: fix issue with dual rename and add/add conflict
397 - merge-ort: shuffle the computation and cleanup of potential collisions
398 + - merge-ort: make a separate function for freeing struct collisions
399 + - merge-ort: small cleanups of check_for_directory_rename
400 - t6423: add tests of dual directory rename plus add/add conflict
401
402 Fixes a long-standing corner case bug around directory renames in
403 the merge-ort strategy.
404
255 - Needs review.
256 - source: <pull.1268.git.1655871651.gitgitgadget@gmail.com>
405 + Will merge to 'next'?
406 + source: <pull.1268.v3.git.1656653000.gitgitgadget@gmail.com>
407
408
409 * cr/setup-bug-typo (2022-06-17) 1 commit
@@ -359,6 +509,7 @@ Release tarballs are available at:
509 + fetch: use new branch_checked_out() and add tests
510 + branch: check for bisects and rebases
511 + branch: add branch_checked_out() helper
512 + (this branch is used by ds/rebase-update-ref.)
513
514 Introduce a helper to see if a branch is already being worked on
515 (hence should not be newly checked out in a working tree), which
@@ -382,24 +533,25 @@ Release tarballs are available at:
533 source: <20220610195247.1177549-1-jonathantanmy@google.com>
534
535
385 -* ab/submodule-cleanup (2022-06-15) 12 commits
536 +* ab/submodule-cleanup (2022-06-28) 12 commits
537 - git-sh-setup.sh: remove "say" function, change last users
538 - git-submodule.sh: use "$quiet", not "$GIT_QUIET"
539 - submodule--helper: eliminate internal "--update" option
540 - submodule--helper: understand --checkout, --merge and --rebase synonyms
390 - - submodule--helper: report "submodule" as our name in "-h" output
541 + - submodule--helper: report "submodule" as our name in some "-h" output
542 - submodule--helper: rename "absorb-git-dirs" to "absorbgitdirs"
543 - submodule update: remove "-v" option
544 - submodule--helper: have --require-init imply --init
545 - git-submodule.sh: remove unused top-level "--branch" argument
395 - - git-submodule.sh: make "$cached" variable a boolean
396 - - git-submodule.sh: remove unused $prefix var and --super-prefix
546 + - git-submodule.sh: make the "$cached" variable a boolean
547 + - git-submodule.sh: remove unused $prefix variable
548 - git-submodule.sh: remove unused sanitize_submodule_env()
549 + (this branch is used by gc/submodule-use-super-prefix.)
550
551 Further preparation to turn git-submodule.sh into a builtin.
552
401 - Will merge to 'next'?
402 - source: <cover-v2-00.12-00000000000-20220613T220150Z-avarab@gmail.com>
553 + Will merge to 'next'.
554 + source: <cover-v4-00.12-00000000000-20220628T095914Z-avarab@gmail.com>
555
556
557 * jc/resolve-undo (2022-06-09) 1 commit
@@ -413,7 +565,8 @@ Release tarballs are available at:
565 source: <xmqqfskdieqz.fsf@gitster.g>
566
567
416 -* ab/build-gitweb (2022-06-02) 7 commits
568 +* ab/build-gitweb (2022-06-28) 8 commits
569 + - gitweb/Makefile: add a "NO_GITWEB" parameter
570 - Makefile: build 'gitweb' in the default target
571 - gitweb/Makefile: include in top-level Makefile
572 - gitweb: remove "test" and "test-installed" targets
@@ -423,9 +576,7 @@ Release tarballs are available at:
576 - gitweb/Makefile: define all .PHONY prerequisites inline
577
578 Teach "make all" to build gitweb as well.
426 -
427 - Needs review.
428 - source: <cover-v2-0.7-00000000000-20220531T173805Z-avarab@gmail.com>
579 + source: <cover-v3-0.8-00000000000-20220628T100936Z-avarab@gmail.com>
580
581
582 * ab/test-without-templates (2022-06-06) 7 commits
@@ -499,12 +650,12 @@ Release tarballs are available at:
650 source: <pull.1248.git.1654545325.gitgitgadget@gmail.com>
651
652
502 -* js/bisect-in-c (2022-05-21) 15 commits
653 +* js/bisect-in-c (2022-06-27) 16 commits
654 - bisect: no longer try to clean up left-over `.git/head-name` files
655 - bisect: remove Cogito-related code
656 - Turn `git bisect` into a full built-in
506 - - bisect: teach the `bisect--helper` command to show the correct usage strings
657 - bisect: move even the command-line parsing to `bisect--helper`
658 + - bisect: teach the `bisect--helper` command to show the correct usage strings
659 - bisect--helper: return only correct exit codes in `cmd_*()`
660 - bisect--helper: move the `BISECT_STATE` case to the end
661 - bisect--helper: make `--bisect-state` optional
@@ -515,27 +666,24 @@ Release tarballs are available at:
666 - bisect--helper: retire the --no-log option
667 - bisect: avoid double-quoting when printing the failed command
668 - bisect run: fix the error message
669 + - bisect: verify that a bogus option won't try to start a bisection
670
671 Final bits of "git bisect.sh" have been rewritten in C.
672 + source: <pull.1132.v4.git.1656354677.gitgitgadget@gmail.com>
673
521 - The command line parsing is reported to be still broken.
522 - cf. <220521.86zgjazuy4.gmgdl@evledraar.gmail.com>
523 - source: <pull.1132.v3.git.1653144546.gitgitgadget@gmail.com>
674
525 -
526 -* gc/bare-repo-discovery (2022-06-07) 5 commits
675 +* gc/bare-repo-discovery (2022-06-30) 5 commits
676 - setup.c: create `discovery.bare`
677 - safe.directory: use git_protected_config()
529 - - config: read protected config with `git_protected_config()`
678 + - config: learn `git_protected_config()`
679 - Documentation: define protected configuration
680 - Documentation/git-config.txt: add SCOPES section
681
682 Introduce a discovery.barerepository configuration variable that
683 allows users to forbid discovery of bare repositories.
684
536 - Expecting a reroll.
537 - cf. <xmqqbkv4t7gp.fsf@gitster.g>
538 - source: <29053d029f8ec61095a2ad557be38b1d485a158f.1654635432.git.gitgitgadget@gmail.com>
685 + Will merge to 'next'?
686 + source: <pull.1261.v6.git.git.1656612839.gitgitgadget@gmail.com>
687
688
689 * gg/worktree-from-the-above (2022-06-21) 2 commits