]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/RelNotes/2.45.0.txt
Merge branch 'ps/pack-refs-auto' into jt/reftable-geometric-compaction
[thirdparty/git.git] / Documentation / RelNotes / 2.45.0.txt
CommitLineData
a2082dbd
JH
1Git v2.45 Release Notes
2=======================
3
4Backward Compatibility Notes
5
6UI, Workflows & Features
7
8 * Integrate the reftable code into the refs framework as a backend.
9 With "git init --ref-format=reftable", hopefully it would be a lot
10 more efficient to manage a repository with many references.
11
12 * "git checkout -p" and friends learned that that "@" is a synonym
13 for "HEAD".
14
0f9d4d28
JH
15 * Variants of vimdiff learned to honor mergetool.<variant>.layout
16 settings.
17
b387623c
JH
18 * "git reflog" learned a "list" subcommand that enumerates known reflogs.
19
43072b4c
JH
20 * When a merge conflicted at a submodule, merge-ort backend used to
21 unconditionally give a lengthy message to suggest how to resolve
22 it. Now the message can be squelched as an advice message.
23
24 * "git for-each-ref" learned "--include-root-refs" option to show
25 even the stuff outside the 'refs/' hierarchy.
26
e09f1254
JH
27 * "git rev-list --missing=print" has learned to optionally take
28 "--allow-missing-tips", which allows the objects at the starting
29 points to be missing.
30
31 * "git merge-tree" has learned that the three trees involved in the
32 3-way merge only need to be trees, not necessarily commits.
33
34 * "git log --merge" learned to pay attention to CHERRY_PICK_HEAD and
35 other kinds of *_HEAD pseudorefs.
36
2953d95d
JH
37 * Platform specific tweaks for OS/390 has been added to
38 config.mak.uname.
39
11c821f2
JH
40 * Users with safe.bareRepository=explicit can still work from within
41 $GIT_DIR of a seconary worktree (which resides at .git/worktrees/$name/)
42 of the primary worktree without explicitly specifying the $GIT_DIR
43 environment variable or the --git-dir=<path> option.
44
45 * The output format for dates "iso-strict" has been tweaked to show
46 a time in the Zulu timezone with "Z" suffix, instead of "+00:00".
47
d6fd0437
JH
48 * "git diff" and friends learned two extra configuration variables,
49 diff.srcPrefix and diff.dstPrefix.
50
51 * The status.showUntrackedFiles configuration variable had a name
52 that tempts users to set a Boolean value expressed in our usual
53 "false", "off", and "0", but it only took "no". This has been
54 corrected so "true" and its synonyms are taken as "normal", while
55 "false" and its synonyms are taken as "no".
56
57 * Remove an ancient and not well maintained Hg-to-git migration
58 script from contrib/.
59
a2082dbd
JH
60
61Performance, Internal Implementation, Development Support etc.
62
63 * The code to iterate over refs with the reftable backend has seen
64 some optimization.
65
66 * More tests that are marked as "ref-files only" have been updated to
67 improve test coverage of reftable backend.
68
0f9d4d28
JH
69 * Some parts of command line completion script (in contrib/) have
70 been micro-optimized.
71
b387623c
JH
72 * The way placeholders are to be marked-up in documentation have been
73 specified; use "_<placeholder>_" to typeset the word inside a pair
74 of <angle-brakets> emphasized.
75
e09f1254
JH
76 * "git --no-lazy-fetch cmd" allows to run "cmd" while disabling lazy
77 fetching of objects from the promisor remote, which may be handy
78 for debugging.
79
4f9b731b
JH
80 * The implementation in "git clean" that makes "-n" and "-i" ignore
81 clean.requireForce has been simplified, together with the
82 documentation.
83
84 * The code to iterate over refs with the reftable backend has seen
85 some optimization.
86
2953d95d
JH
87 * Uses of xwrite() helper have been audited and updated for better
88 error checking and simpler code.
89
3bd955d2
JH
90 * Some trace2 events that lacked def_param have learned to show it,
91 enriching the output.
92
11c821f2
JH
93 * The parse-options code that deals with abbreviated long option
94 names have been cleaned up.
95
96 * The code in reftable backend that creates new table files works
97 better with the tempfile framework to avoid leaving cruft after a
98 failure.
99
100 * The reftable code has its own custom binary search function whose
101 comparison callback has an unusual interface, which caused the
102 binary search to degenerate into a linear search, which has been
103 corrected.
104
105 * The code to iterate over reflogs in the reftable has been optimized
106 to reduce memory allocation and deallocation.
107
d6fd0437
JH
108 * Work to support a repository that work with both SHA-1 and SHA-256
109 hash algorithms has started.
110
111 * A new fuzz target that exercises config parsing code has been
112 added.
113
a2082dbd
JH
114
115Fixes since v2.44
116-----------------
117
118 * "git apply" on a filesystem without filemode support have learned
119 to take a hint from what is in the index for the path, even when
120 not working with the "--index" or "--cached" option, when checking
121 the executable bit match what is required by the preimage in the
122 patch.
123 (merge 45b625142d cp/apply-core-filemode later to maint).
124
125 * "git column" has been taught to reject negative padding value, as
126 it would lead to nonsense behaviour including division by zero.
127 (merge 76fb807faa kh/column-reject-negative-padding later to maint).
128
0f9d4d28
JH
129 * "git am --help" now tells readers what actions are available in
130 "git am --whitespace=<action>", in addition to saying that the
131 option is passed through to the underlying "git apply".
132 (merge a171dac734 jc/am-whitespace-doc later to maint).
133
134 * "git tag --column" failed to check the exit status of its "git
135 column" invocation, which has been corrected.
136 (merge 92e66478fc rj/tag-column-fix later to maint).
137
138 * Credential helper based on libsecret (in contrib/) has been updated
139 to handle an empty password correctly.
140 (merge 8f1f2023b7 mh/libsecret-empty-password-fix later to maint).
141
b387623c
JH
142 * "git difftool --dir-diff" learned to honor the "--trust-exit-code"
143 option; it used to always exit with 0 and signalled success.
144 (merge eb84c8b6ce ps/difftool-dir-diff-exit-code later to maint).
145
43072b4c
JH
146 * The code incorrectly attempted to use textconv cache when asked,
147 even when we are not running in a repository, which has been
148 corrected.
149 (merge affe355fe7 jk/textconv-cache-outside-repo-fix later to maint).
150
151 * Remove an empty file that shouldn't have been added in the first
152 place.
153 (merge 4f66942215 js/remove-cruft-files later to maint).
154
155 * The logic to access reflog entries by date and number had ugly
156 corner cases at the boundaries, which have been cleaned up.
157 (merge 5edd126720 jk/reflog-special-cases-fix later to maint).
158
159 * An error message from "git upload-pack", which responds to "git
160 fetch" requests, had a trialing NUL in it, which has been
161 corrected.
162 (merge 3f4c7a0805 sg/upload-pack-error-message-fix later to maint).
163
164 * Clarify wording in the CodingGuidelines that requires <git-compat-util.h>
165 to be the first header file.
166 (merge 4e89f0e07c jc/doc-compat-util later to maint).
167
e09f1254
JH
168 * "git commit -v --cleanup=scissors" used to add the scissors line
169 twice in the log message buffer, which has been corrected.
170 (merge e90cc075cc jt/commit-redundant-scissors-fix later to maint).
171
172 * A custom remote helper no longer cannot access the newly created
173 repository during "git clone", which is a regression in Git 2.44.
174 This has been corrected.
175 (merge 199f44cb2e ps/remote-helper-repo-initialization-fix later to maint).
176
177 * Various parts of upload-pack has been updated to bound the resource
178 consumption relative to the size of the repository to protect from
179 abusive clients.
180 (merge 6cd05e768b jk/upload-pack-bounded-resources later to maint).
181
182 * The upload-pack program, when talking over v2, accepted the
183 packfile-uris protocol extension from the client, even if it did
184 not advertise the capability, which has been corrected.
185 (merge a922bfa3b5 jk/upload-pack-v2-capability-cleanup later to maint).
186
94511502
JH
187 * Make sure failure return from merge_bases_many() is properly caught.
188 (merge 25fd20eb44 js/merge-base-with-missing-commit later to maint).
189
4f9b731b
JH
190 * FSMonitor client code was confused when FSEvents were given in a
191 different case on a case-insensitive filesystem, which has been
192 corrected.
193 (merge 29c139ce78 jh/fsmonitor-icase-corner-case-fix later to maint).
194
195 * The "core.commentChar" configuration variable only allows an ASCII
196 character, which was not clearly documented, which has been
197 corrected.
198 (merge fb7c556f58 kh/doc-commentchar-is-a-byte later to maint).
199
200 * With release 2.44 we got rid of all uses of test_i18ngrep and there
201 is no in-flight topic that adds a new use of it. Make a call to
202 test_i18ngrep a hard failure, so that we can remove it at the end
203 of this release cycle.
204 (merge 381a83dfa3 jc/test-i18ngrep later to maint).
205
206 * The command line completion script (in contrib/) learned to
207 complete "git reflog" better.
208 (merge 1284f9cc11 rj/complete-reflog later to maint).
209
210 * The logic to complete the command line arguments to "git worktree"
211 subcommand (in contrib/) has been updated to correctly honor things
212 like "git -C dir" etc.
213 (merge 3574816d98 rj/complete-worktree-paths-fix later to maint).
214
2953d95d
JH
215 * When git refuses to create a branch because the proposed branch
216 name is not a valid refname, an advice message is given to refer
217 the user to exact naming rules.
218 (merge 8fbd903e58 kh/branch-ref-syntax-advice later to maint).
219
3bd955d2
JH
220 * Code simplification by getting rid of code that sets an environment
221 variable that is no longer used.
222 (merge 72a8d3f027 pw/rebase-i-ignore-cherry-pick-help-environment later to maint).
223
11c821f2
JH
224 * The code to find the effective end of log message can fall into an
225 endless loop, which has been corrected.
226 (merge 2541cba2d6 fs/find-end-of-log-message-fix later to maint).
227
228 * Mark-ups used in the documentation has been improved for
229 consistency.
230 (merge 45d5ed3e50 ja/doc-markup-fixes later to maint).
231
232 * The status.showUntrackedFiles configuration variable was
233 incorrectly documented to accept "false", which has been corrected.
234
c75fd8d8
JH
235 * Leaks from "git restore" have been plugged.
236 (merge 2f64da0790 rj/restore-plug-leaks later to maint).
237
238 * "git bugreport --no-suffix" was not supported and instead
239 segfaulted, which has been corrected.
240 (merge b3b57c69da js/bugreport-no-suffix-fix later to maint).
241
242 * The documentation for "%(trailers[:options])" placeholder in the
243 "--pretty" option of commands in the "git log" family has been
244 updated.
245 (merge bff85a338c bl/doc-key-val-sep-fix later to maint).
246
a2082dbd
JH
247 * Other code cleanup, docfix, build fix, etc.
248 (merge f0e578c69c rs/use-xstrncmpz later to maint).
0f9d4d28
JH
249 (merge 83e6eb7d7a ba/credential-test-clean-fix later to maint).
250 (merge 64562d784d jb/doc-interactive-singlekey-do-not-need-perl later to maint).
b387623c
JH
251 (merge c431a235e2 cp/t9146-use-test-path-helpers later to maint).
252 (merge 82d75402d5 ds/doc-send-email-capitalization later to maint).
253 (merge 41bff66e35 jc/doc-add-placeholder-fix later to maint).
254 (merge 6835f0efe9 jw/remote-doc-typofix later to maint).
255 (merge 244001aa20 hs/rebase-not-in-progress later to maint).
43072b4c
JH
256 (merge 2ca6c07db2 jc/no-include-of-compat-util-from-headers later to maint).
257 (merge 87bd7fbb9c rs/fetch-simplify-with-starts-with later to maint).
258 (merge f39addd0d9 rs/name-rev-with-mempool later to maint).
259 (merge 9a97b43e03 rs/submodule-prefix-simplify later to maint).
260 (merge 40b8076462 ak/rebase-autosquash later to maint).
e09f1254 261 (merge 3223204456 eg/add-uflags later to maint).
94511502 262 (merge 5f78d52dce es/config-doc-sort-sections later to maint).
2953d95d 263 (merge 781fb7b4c2 as/option-names-in-messages later to maint).
3bd955d2 264 (merge 51d41dc243 jk/doc-remote-helpers-markup-fix later to maint).
11c821f2 265 (merge e1aaf309db pb/ci-win-artifact-names-fix later to maint).
c75fd8d8
JH
266 (merge ad538c61da jc/index-pack-fsck-levels later to maint).
267 (merge 67471bc704 ja/doc-formatting-fix later to maint).
268 (merge 86f9ce7dd6 bl/doc-config-fixes later to maint).