1 Git v2.43 Release Notes
2 =======================
4 Backward Compatibility Notes
6 * The "--rfc" option of "git format-patch" used to be a valid way to
7 override an earlier "--subject-prefix=<something>" on the command
8 line and replace it with "[RFC PATCH]", but from this release, it
9 merely prefixes the string "RFC " in front of the given subject
10 prefix. If you are negatively affected by this change, please use
11 "--subject-prefix=PATCH --rfc" as a replacement.
14 UI, Workflows & Features
16 * A message written in olden time prevented a branch from getting
17 checked out saying it is already checked out elsewhere, but these
18 days, we treat a branch that is being bisected or rebased just like
19 a branch that is checked out and protect it. Rephrase the message
20 to say that the branch is in use.
22 * Hourly and other schedule of "git maintenance" jobs are randomly
25 * "git cmd -h" learned to signal which options can be negated by
26 listing such options like "--[no-]opt".
28 * The way authentication related data other than passwords (e.g.
29 oath token and password expiration data) are stored in libsecret
30 keyrings has been rethought.
32 * Update two credential helpers to correctly match which credential
33 to erase; they dropped not the ones with stale password.
37 * "git format-patch" learns a way to feed cover letter description,
38 that (1) can be used on detached HEAD where there is no branch
39 description available, and (2) also can override the branch
40 description if there is one.
42 * Use of --max-pack-size to allow multiple packfiles to be created is
43 now supported even when we are sending unreachable objects to cruft
46 * "git format-patch --rfc --subject-prefix=<foo>" used to ignore the
47 "--subject-prefix" option and used "[RFC PATCH]"; now we will add
48 "RFC" prefix to whatever subject prefix is specified.
50 * "git log --format" has been taught the %(decorate) placeholder.
52 * The default log message created by "git revert", when reverting a
53 commit that records a revert, has been tweaked, to encourage people
54 describe complex "revert of revert of revert" situation better in
57 * The command-line complation support (in contrib/) learned to
58 complete "git commit --trailer=" for possible trailer keys.
60 * "git update-index" learns "--show-index-version" to inspect
61 the index format version used by the on-disk index file.
63 * "git diff" learned diff.statNameWidth configuration variable, to
64 give the default width for the name part in the "--stat" output.
66 * "git range-diff --notes=foo" compared "log --notes=foo --notes" of
67 the two ranges, instead of using just the specified notes tree.
69 * The command line completion script (in contrib/) can be told to
70 complete aliases by including ": git <cmd> ;" in the alias to tell
71 it that the alias should be completed similar to how "git <cmd>" is
72 completed. The parsing code for the alias as been loosened to
73 allow ';' without an extra space before it.
76 Performance, Internal Implementation, Development Support etc.
78 * "git check-attr" has been taught to work better with sparse-index.
80 * It may be tempting to leave the help text NULL for a command line
81 option that is either hidden or too obvious, but "git subcmd -h"
82 and "git subcmd --help-all" would have segfaulted if done so. Now
83 the help text is optional.
85 * Tests that are known to pass with LSan are now marked as such.
86 (merge 5fafe8c95f tb/mark-more-tests-as-leak-free later to maint).
88 * Flaky "git p4" tests, as well as "git svn" tests, are now skipped
89 in the (rather expensive) sanitizer CI job.
90 (merge 6ba913629f js/ci-san-skip-p4-and-svn-tests later to maint).
92 * Tests with LSan from time to time seem to emit harmless message
93 that makes our tests unnecessarily flaky; we work it around by
94 filtering the uninteresting output.
95 (merge 370ef7e40d jk/test-lsan-denoise-output later to maint).
97 * Unused parameters to functions are marked as such, and/or removed,
98 in order to bring us closer to -Wunused-parameter clean.
100 * The code to keep track of existing packs in the repository while
101 repacking has been refactored.
107 * Overly long label names used in the sequencer machinery are now
108 chopped to fit under filesystem limitation.
109 (merge ac300bda10 mp/rebase-label-length-limit later to maint).
112 (merge f9a547d3a7 ds/scalar-updates later to maint).
114 * Tweak GitHub Actions CI so that pushing the same commit to multiple
115 branch tips at the same time will not waste building and testing
116 the same thing twice.
117 (merge 99fe06cbfd jc/ci-skip-same-commit later to maint).
119 * The commit-graph verification code that detects mixture of zero and
120 non-zero generation numbers has been updated.
121 (merge db6044d762 tb/commit-graph-verify-fix later to maint).
123 * "git diff -w --exit-code" with various options did not work
124 correctly, which is being addressed.
125 (merge a64f8b2595 jc/diff-exit-code-with-w-fixes later to maint).
127 * transfer.unpackLimit ought to be used as a fallback, but overrode
128 fetch.unpackLimit and receive.unpackLimit instead.
129 (merge f3d33f8cfe ts/unpacklimit-config-fix later to maint).
131 * The use of API between two calls to require_clean_work_tree() from
132 the sequencer code has been cleaned up for consistency.
133 (merge a9b5955e07 ob/sequencer-empty-hint-fix later to maint).
135 * "git diff --no-such-option" and other corner cases around the exit
136 status of the "diff" command has been corrected.
137 (merge 5cc6b2d70b jk/diff-result-code-cleanup later to maint).
139 * "git for-each-ref --sort='contents:size'" sorts the refs according
140 to size numerically, giving a ref that points at a blob twelve-byte
141 (12) long before showing a blob hundred-byte (100) long.
142 (merge 6d79cd8474 ks/ref-filter-sort-numerically later to maint).
144 * We now limit depth of the tree objects and maximum length of
145 pathnames recorded in tree objects.
146 (merge 4d5693ba05 jk/tree-name-and-depth-limit later to maint).
148 * Various fixes to the behavior of "rebase -i" when the command got
149 interrupted by conflicting changes.
150 (merge 203573b024 pw/rebase-i-after-failure later to maint).
152 * References from description of the `--patch` option in various
153 manual pages have been simplified and improved.
154 (merge 11422f23e3 so/diff-doc-for-patch-update later to maint).
156 * "git grep -e A --no-or -e B" is accepted, even though the negation
157 of "or" did not mean anything, which has been tightened.
158 (merge aae8558b10 rs/grep-no-no-or later to maint).
160 * The completion script (in contrib/) has been taught to treat the
161 "-t" option to "git checkout" and "git switch" just like the
162 "--track" option, to complete remote-tracking branches.
163 (merge 9f892830d6 js/complete-checkout-t later to maint).
165 * "git diff --no-index -R <(one) <(two)" did not work correctly,
166 which has been corrected.
167 (merge 48944f214c pw/diff-no-index-from-named-pipes later to maint).
169 * Update "git maintenance" timers' implementation based on systemd
170 timers to work with WSL.
171 (merge 5e8515e8e8 js/systemd-timers-wsl-fix later to maint).
173 * "git diff --cached" codepath did not fill the necessary stat
174 information for a file when fsmonitor knows it is clean and ended
175 up behaving as if it is not clean, which has been corrected.
176 (merge 6a044a2048 js/diff-cached-fsmonitor-fix later to maint).
178 * Clarify how "alias.foo = : git cmd ; aliased-command-string" should
179 be spelled with necessary whitespaces around punctuation marks to
181 (merge 4333267995 pb/completion-aliases-doc later to maint).
183 * HTTP Header redaction code has been adjusted for a newer version of
184 cURL library that shows its traces differently from earlier
186 (merge 0763c3a2c4 jk/redact-h2h3-headers-fix later to maint).
188 * An error message given by "git send-email" when given a malformed
189 address did not give correct information, which has been corrected.
190 (merge 12288cc44e tb/send-email-extract-valid-address-error-message-fix later to maint).
192 * UBSan options were not propagated through the test framework to git
193 run via the httpd, unlike ASan options, which has been corrected.
194 (merge 252d693797 jk/test-pass-ubsan-options-to-http-test later to maint).
196 * "checkout --merge -- path" and "update-index --unresolve path" did
197 not resurrect conflicted state that was resolved to remove path,
199 (merge 5bdedac3c7 jc/unresolve-removal later to maint).
201 * Other code cleanup, docfix, build fix, etc.
202 (merge fd3ba590d8 ws/git-push-doc-grammofix later to maint).
203 (merge 5f33a843de ds/upload-pack-error-sequence-fix later to maint).
204 (merge beaa1d952b jk/function-pointer-mismatches-fix later to maint).
205 (merge b46d806ea5 ob/t9001-indent-fix later to maint).
206 (merge fdc9914c28 ja/worktree-orphan later to maint).
207 (merge c2cbefc510 jc/mv-d-to-d-error-message-fix later to maint).
208 (merge d0fc552bfc ch/t6300-verify-commit-test-cleanup later to maint).
209 (merge aa4b83dd5e ws/git-svn-retire-faketerm later to maint).
210 (merge edf80d23f1 jk/ci-retire-allow-ref later to maint).
211 (merge 256a94ef6c bc/more-git-var later to maint).
212 (merge 82af2c639c ob/sequencer-reword-error-message later to maint).
213 (merge 2a63c79dae rs/grep-parseopt-simplify later to maint).
214 (merge 078c42531e rs/name-rev-use-opt-hidden-bool later to maint).
215 (merge 63642d58b4 ob/sequencer-remove-dead-code later to maint).
216 (merge 8aae489756 ob/t3404-typofix later to maint).
217 (merge 58be11432e eg/config-type-path-docfix later to maint).
218 (merge 563f339d98 ch/clean-docfix later to maint).
219 (merge 4fbe83fcd9 hy/doc-show-is-like-log-not-diff-tree later to maint).
220 (merge 43abaaf008 ob/am-msgfix later to maint).