ci: use upload-artifacts v1 for dockerized jobs
[git/debian.git] / Documentation / RelNotes / 2.33.0.txt
blobafa266380957189557bb21f16e0d79277ac85db0
1 Git 2.33 Release Notes
2 ======================
4 Updates since Git 2.32
5 ----------------------
7 UI, Workflows & Features
9  * "git send-email" learned the "--sendmail-cmd" command line option
10    and the "sendemail.sendmailCmd" configuration variable, which is a
11    more sensible approach than the current way of repurposing the
12    "smtp-server" that is meant to name the server to instead name the
13    command to talk to the server.
15  * The "-m" option in "git log -m" that does not specify which format,
16    if any, of diff is desired did not have any visible effect; it now
17    implies some form of diff (by default "--patch") is produced.
19  * The userdiff pattern for C# learned the token "record".
21  * "git rev-list" learns to omit the "commit <object-name>" header
22    lines from the output with the `--no-commit-header` option.
24  * "git worktree add --lock" learned to record why the worktree is
25    locked with a custom message.
28 Performance, Internal Implementation, Development Support etc.
30  * The code to handle the "--format" option in "for-each-ref" and
31    friends made too many string comparisons on %(atom)s used in the
32    format string, which has been corrected by converting them into
33    enum when the format string is parsed.
35  * Use the hashfile API in the codepath that writes the index file to
36    reduce code duplication.
38  * Repeated rename detections in a sequence of mergy operations have
39    been optimized out for the 'ort' merge strategy.
41  * Preliminary clean-up of tests before the main reftable changes
42    hits the codebase.
44  * The backend for "diff -G/-S" has been updated to use pcre2 engine
45    when available.
47  * Use ".DELETE_ON_ERROR" pseudo target to simplify our Makefile.
49  * Code cleanup around struct_type_init() functions.
51  * "git send-email" optimization.
53  * GitHub Actions / CI update.
54    (merge 0dc787a9f2 js/ci-windows-update later to maint).
56  * Object accesses in repositories with many alternate object store
57    have been optimized.
59  * "git log" has been optimized not to waste cycles to load ref
60    decoration data that may not be needed.
62  * Many "printf"-like helper functions we have have been annotated
63    with __attribute__() to catch placeholder/parameter mismatches.
65  * Tests that cover protocol bits have been updated and helpers
66    used there have been consolidated.
68  * The CI gained a new job to run "make sparse" check.
70  * "git status" codepath learned to work with sparsely populated index
71    without hydrating it fully.
73  * A guideline for gender neutral documentation has been added.
75  * Documentation on "git diff -l<n>" and diff.renameLimit have been
76    updated, and the defaults for these limits have been raised.
78  * The completion support used to offer alternate spelling of options
79    that exist only for compatibility, which has been corrected.
81  * "TEST_OUTPUT_DIRECTORY=there make test" failed to work, which has
82    been corrected.
84  * "git bundle" gained more test coverage.
86  * "git read-tree" had a codepath where blobs are fetched one-by-one
87    from the promisor remote, which has been corrected to fetch in bulk.
89  * Rewrite of "git submodule" in C continues.
91  * "git checkout" and "git commit" learn to work without unnecessarily
92    expanding sparse indexes.
95 Fixes since v2.32
96 -----------------
98  * We historically rejected a very short string as an author name
99    while accepting a patch e-mail, which has been loosened.
100    (merge 72ee47ceeb ef/mailinfo-short-name later to maint).
102  * The parallel checkout codepath did not initialize object ID field
103    used to talk to the worker processes in a futureproof way.
105  * Rewrite code that triggers undefined behaviour warning.
106    (merge aafa5df0df jn/size-t-casted-to-off-t-fix later to maint).
108  * The description of "fast-forward" in the glossary has been updated.
109    (merge e22f2daed0 ry/clarify-fast-forward-in-glossary later to maint).
111  * Recent "git clone" left a temporary directory behind when the
112    transport layer returned an failure.
113    (merge 6aacb7d861 jk/clone-clean-upon-transport-error later to maint).
115  * "git fetch" over protocol v2 left its side of the socket open after
116    it finished speaking, which unnecessarily wasted the resource on
117    the other side.
118    (merge ae1a7eefff jk/fetch-pack-v2-half-close-early later to maint).
120  * The command line completion (in contrib/) learned that "git diff"
121    takes the "--anchored" option.
122    (merge d1e7c2cac9 tb/complete-diff-anchored later to maint).
124  * "git-svn" tests assumed that "locale -a", which is used to pick an
125    available UTF-8 locale, is available everywhere.  A knob has been
126    introduced to allow testers to specify a suitable locale to use.
127    (merge 482c962de4 dd/svn-test-wo-locale-a later to maint).
129  * Update "git subtree" to work better on Windows.
130    (merge 77f37de39f js/subtree-on-windows-fix later to maint).
132  * Remove multimail from contrib/
133    (merge f74d11471f js/no-more-multimail later to maint).
135  * Make the codebase MSAN clean.
136    (merge 4dbc55e87d ah/uninitialized-reads-fix later to maint).
138  * Work around inefficient glob substitution in older versions of bash
139    by rewriting parts of a test.
140    (merge eb87c6f559 jx/t6020-with-older-bash later to maint).
142  * Avoid duplicated work while building reachability bitmaps.
143    (merge aa9ad6fee5 jk/bitmap-tree-optim later to maint).
145  * We broke "GIT_SKIP_TESTS=t?000" to skip certain tests in recent
146    update, which got fixed.
148  * The side-band demultiplexer that is used to display progress output
149    from the remote end did not clear the line properly when the end of
150    line hits at a packet boundary, which has been corrected.
152  * Some test scripts assumed that readlink(1) was universally
153    installed and available, which is not the case.
154    (merge 7c0afdf23c jk/test-without-readlink-1 later to maint).
156  * Recent update to completion script (in contrib/) broke those who
157    use the __git_complete helper to define completion to their custom
158    command.
159    (merge cea232194d fw/complete-cmd-idx-fix later to maint).
161  * Output from some of our tests were affected by the width of the
162    terminal that they were run in, which has been corrected by
163    exporting a fixed value in the COLUMNS environment.
164    (merge c49a177bec ab/fix-columns-to-80-during-tests later to maint).
166  * On Windows, mergetool has been taught to find kdiff3.exe just like
167    it finds winmerge.exe.
168    (merge 47eb4c6890 ms/mergetools-kdiff3-on-windows later to maint).
170  * When we cannot figure out how wide the terminal is, we use a
171    fallback value of 80 ourselves (which cannot be avoided), but when
172    we run the pager, we export it in COLUMNS, which forces the pager
173    to use the hardcoded value, even when the pager is perfectly
174    capable to figure it out itself.  Stop exporting COLUMNS when we
175    fall back on the hardcoded default value for our own use.
176    (merge 9b6e2c8b98 js/stop-exporting-bogus-columns later to maint).
178  * "git cat-file --batch-all-objects"" misbehaved when "--batch" is in
179    use and did not ask for certain object traits.
180    (merge ee02ac6164 zh/cat-file-batch-fix later to maint).
182  * Some code and doc clarification around "git push".
184  * The "union" conflict resultion variant misbehaved when used with
185    binary merge driver.
186    (merge 382b601acd jk/union-merge-binary later to maint).
188  * Prevent "git p4" from failing to submit changes to binary file.
189    (merge 54662d5958 dc/p4-binary-submit-fix later to maint).
191  * "git grep --and -e foo" ought to have been diagnosed as an error
192    but instead segfaulted, which has been corrected.
193    (merge fe7fe62d8d rs/grep-parser-fix later to maint).
195  * The merge code had funny interactions between content based rename
196    detection and directory rename detection.
197    (merge 3585d0ea23 en/merge-dir-rename-corner-case-fix later to maint).
199  * When rebuilding the multi-pack index file reusing an existing one,
200    we used to blindly trust the existing file and ended up carrying
201    corrupted data into the updated file, which has been corrected.
202    (merge f89ecf7988 tb/midx-use-checksum later to maint).
204  * Update the location of system-side configuration file on Windows.
205    (merge e355307692 js/gfw-system-config-loc-fix later to maint).
207  * Code recently added to support common ancestry negotiation during
208    "git push" did not sanity check its arguments carefully enough.
209    (merge eff40457a4 ab/fetch-negotiate-segv-fix later to maint).
211  * Update the documentation not to assume users are of certain gender
212    and adds to guidelines to do so.
213    (merge 46a237f42f ds/gender-neutral-doc later to maint).
215  * "git commit --allow-empty-message" won't abort the operation upon
216    an empty message, but the hint shown in the editor said otherwise.
217    (merge 6f70f00b4f hj/commit-allow-empty-message later to maint).
219  * The code that gives an error message in "git multi-pack-index" when
220    no subcommand is given tried to print a NULL pointer as a strong,
221    which has been corrected.
222    (merge 88617d11f9 tb/reverse-midx later to maint).
224  * CI update.
225    (merge a066a90db6 js/ci-check-whitespace-updates later to maint).
227  * Documentation fix for "git pull --rebase=no".
228    (merge d3236becec fc/pull-no-rebase-merges-theirs-into-ours later to maint).
230  * A race between repacking and using pack bitmaps has been corrected.
231    (merge dc1daacdcc jk/check-pack-valid-before-opening-bitmap later to maint).
233  * The local changes stashed by "git merge --autostash" were lost when
234    the merge failed in certain ways, which has been corrected.
236  * Windows rmdir() equivalent behaves differently from POSIX ones in
237    that when used on a symbolic link that points at a directory, the
238    target directory gets removed, which has been corrected.
239    (merge 3e7d4888e5 tb/mingw-rmdir-symlink-to-directory later to maint).
241  * Other code cleanup, docfix, build fix, etc.
242    (merge bfe35a6165 ah/doc-describe later to maint).
243    (merge f302c1e4aa jc/clarify-revision-range later to maint).
244    (merge 3127ff90ea tl/fix-packfile-uri-doc later to maint).
245    (merge a84216c684 jk/doc-color-pager later to maint).
246    (merge 4e0a64a713 ab/trace2-squelch-gcc-warning later to maint).
247    (merge 225f7fa847 ps/rev-list-object-type-filter later to maint).
248    (merge 5317dfeaed dd/honor-users-tar-in-tests later to maint).
249    (merge ace6d8e3d6 tk/partial-clone-repack-doc later to maint).
250    (merge 7ba68e0cf1 js/trace2-discard-event-docfix later to maint).
251    (merge 8603c419d3 fc/doc-default-to-upstream-config later to maint).
252    (merge 1d72b604ef jk/revision-squelch-gcc-warning later to maint).
253    (merge abcb66c614 ar/typofix later to maint).
254    (merge 9853830787 ah/graph-typofix later to maint).
255    (merge aac578492d ab/config-hooks-path-testfix later to maint).
256    (merge 98c7656a18 ar/more-typofix later to maint).
257    (merge 6fb9195f6c jk/doc-max-pack-size later to maint).
258    (merge 4184cbd635 ar/mailinfo-memcmp-to-skip-prefix later to maint).
259    (merge 91d2347033 ar/doc-libera-chat-in-my-first-contrib later to maint).
260    (merge 338abb0f04 ab/cmd-foo-should-return later to maint).
261    (merge 546096a5cb ab/xdiff-bug-cleanup later to maint).
262    (merge b7b793d1e7 ab/progress-cleanup later to maint).
263    (merge d94f9b8e90 ba/object-info later to maint).
264    (merge 52ff891c03 ar/test-code-cleanup later to maint).
265    (merge a0538e5c8b dd/document-log-decorate-default later to maint).
266    (merge ce24797d38 mr/cmake later to maint).
267    (merge 9eb542f2ee ab/pre-auto-gc-hook-test later to maint).
268    (merge 9fffc38583 bk/doc-commit-typofix later to maint).
269    (merge 1cf823d8f0 ks/submodule-cleanup later to maint).
270    (merge ebbf5d2b70 js/config-mak-windows-pcre-fix later to maint).
271    (merge 617480d75b hn/refs-iterator-peel-returns-boolean later to maint).
272    (merge 6a24cc71ed ar/submodule-helper-include-cleanup later to maint).
273    (merge 5632e838f8 rs/khash-alloc-cleanup later to maint).
274    (merge b1d87fbaf1 jk/typofix later to maint).
275    (merge e04170697a ab/gitignore-discovery-doc later to maint).
276    (merge 8232a0ff48 dl/packet-read-response-end-fix later to maint).
277    (merge eb448631fb dl/diff-merge-base later to maint).
278    (merge c510928a25 hn/refs-debug-empty-prefix later to maint).
279    (merge ddcb189d9d tb/bitmap-type-filter-comment-fix later to maint).
280    (merge 878b399734 pb/submodule-recurse-doc later to maint).
281    (merge 734283855f jk/config-env-doc later to maint).
282    (merge 482e1488a9 ab/getcwd-test later to maint).
283    (merge f0b922473e ar/doc-markup-fix later to maint).