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