7 Backward compatibility warts
9 * "_" is now treated as any other URL-valid characters in an URL when
10 matching the per-URL configuration variable names.
13 UI, Workflows & Features
15 * "git status --porcelain=v2" now show the number of stash entries
16 with --show-stash like the normal output does.
18 * "git stash" learned the "--staged" option to stash away what has
19 been added to the index (and nothing else).
21 * "git var GIT_DEFAULT_BRANCH" is a way to see what name is used for
22 the newly created branch if "git init" is run.
24 * Various operating modes of "git reset" have been made to work
25 better with the sparse index.
27 * "git submodule deinit" for a submodule whose .git metadata
28 directory is embedded in its working tree refused to work, until
29 the submodule gets converted to use the "absorbed" form where the
30 metadata directory is stored in superproject, and a gitfile at the
31 top-level of the working tree of the submodule points at it. The
32 command is taught to convert such submodules to the absorbed form
35 * The completion script (in contrib/) learns that the "--date"
36 option of commands from the "git log" family takes "human" and
37 "auto" as valid values.
39 * "Zealous diff3" style of merge conflict presentation has been added.
41 * The "git log --format=%(describe)" placeholder has been extended to
42 allow passing selected command-line options to the underlying "git
45 * "default" and "reset" have been added to our color palette.
47 * The cryptographic signing using ssh keys can specify literal keys
48 for keytypes whose name do not begin with the "ssh-" prefix by
49 using the "key::" prefix mechanism (e.g. "key::ecdsa-sha2-nistp256").
51 * "git fetch" without the "--update-head-ok" option ought to protect
52 a checked out branch from getting updated, to prevent the working
53 tree that checks it out to go out of sync. The code was written
54 before the use of "git worktree" got widespread, and only checked
55 the branch that was checked out in the current worktree, which has
58 * "git name-rev" has been tweaked to give output that is shorter and
61 * "git apply" has been taught to ignore a message without a patch
62 with the "--allow-empty" option. It also learned to honor the
63 "--quiet" option given from the command line.
65 * The "init" and "set" subcommands in "git sparse-checkout" have been
66 unified for a better user experience and performance.
69 Performance, Internal Implementation, Development Support etc.
71 * The use of errno as a means to carry the nature of error in the ref
72 API implementation has been reworked and reduced.
74 * Teach and encourage first-time contributors to this project to
75 state the base commit when they submit their topic.
77 * The command line complation for "git send-email" options have been
78 tweaked to make it easier to keep it in sync with the command itself.
80 * Ensure that the sparseness of the in-core index matches the
81 index.sparse configuration specified by the repository immediately
82 after the on-disk index file is read.
84 * Code clean-up to eventually allow information on remotes defined
85 for an arbitrary repository to be read.
89 * Tighten code for testing pack-bitmap.
91 * Weather balloon to break people with compilers that do not support
94 * The "reftable" backend for the refs API, without integrating into
95 the refs subsystem, has been added.
97 * More tests are marked as leak-free.
99 * The test framework learns to list unsatisfied test prerequisites,
100 and optionally error out when prerequisites that are expected to be
103 * The default setting for trace2 event nesting was too low to cause
104 test failures, which is worked around by bumping it up in the test
107 * Drop support for TravisCI and update test workflows at GitHub.
109 * Many tests that used to need GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
110 mechanism to force "git" to use 'master' as the default name for
111 the initial branch no longer need it; the use of the mechanism from
112 them have been removed.
114 * Allow running our tests while disabling fsync.
116 * Document the parameters given to the reflog entry iterator callback
118 (merge e6e94f34b2 jc/reflog-iterator-callback-doc later to maint).
120 * The test helper for refs subsystem learned to write bogus and/or
121 nonexistent object name to refs to simulate error situations we
124 * "diff --histogram" optimization.
126 * Weather balloon to find compilers that do not grok variable
127 declaration in the for() loop.
129 * diff and blame commands have been taught to work better with sparse
132 * The chainlint test script linter in the test suite has been updated.
134 * The DEVELOPER=yes build uses -std=gnu99 now.
136 * "git format-patch" uses a single rev_info instance and then exits.
137 Mark the structure with UNLEAK() macro to squelch leak sanitizer.
139 * New interface into the tmp-objdir API to help in-core use of the
142 * Broken &&-chains in the test scripts have been corrected.
148 * "git grep" looking in a blob that has non-UTF8 payload was
149 completely broken when linked with certain versions of PCREv2
150 library in the latest release.
152 * Other code cleanup, docfix, build fix, etc.
154 * "git pull" with any strategy when the other side is behind us
155 should succeed as it is a no-op, but doesn't.
157 * An earlier change in 2.34.0 caused JGit application (that abused
158 GIT_EDITOR mechanism when invoking "git config") to get stuck with
159 a SIGTTOU signal; it has been reverted.
161 * An earlier change that broke .gitignore matching has been reverted.
163 * Things like "git -c branch.sort=bogus branch new HEAD", i.e. the
164 operation modes of the "git branch" command that do not need the
165 sort key information, no longer errors out by seeing a bogus sort
167 (merge 98e7ab6d42 jc/fix-ref-sorting-parse later to maint).
169 * The compatibility implementation for unsetenv(3) were written to
170 mimic ancient, non-POSIX, variant seen in an old glibc; it has been
171 changed to return an integer to match the more modern era.
172 (merge a38989bd5b jc/unsetenv-returns-an-int later to maint).
174 * The clean/smudge conversion code path has been prepared to better
175 work on platforms where ulong is narrower than size_t.
176 (merge 596b5e77c9 mc/clean-smudge-with-llp64 later to maint).
178 * Redact the path part of packfile URI that appears in the trace output.
179 (merge 0ba558ffb1 if/redact-packfile-uri later to maint).
181 * CI has been taught to catch some Unicode directional formatting
182 sequence that can be used in certain mischief.
183 (merge 0e7696c64d js/ci-no-directional-formatting later to maint).
185 * The "--date=format:<strftime>" gained a workaround for the lack of
186 system support for a non-local timezone to handle "%s" placeholder.
187 (merge 9b591b9403 jk/strbuf-addftime-seconds-since-epoch later to maint).
189 * The "merge" subcommand of "git jump" (in contrib/) silently ignored
190 pathspec and other parameters.
191 (merge 67ba13e5a4 jk/jump-merge-with-pathspec later to maint).
193 * The code to decode the length of packed object size has been
195 (merge 34de5b8eac jt/pack-header-lshift-overflow later to maint).
197 * The advice message given by "git pull" when the user hasn't made a
198 choice between merge and rebase still said that the merge is the
199 default, which no longer is the case. This has been corrected.
200 (merge 71076d0edd ah/advice-pull-has-no-preference-between-rebase-and-merge later to maint).
202 * "git fetch", when received a bad packfile, can fail with SIGPIPE.
203 This wasn't wrong per-se, but we now detect the situation and fail
204 in a more predictable way.
205 (merge 2a4aed42ec jk/fetch-pack-avoid-sigpipe-to-index-pack later to maint).
207 * The function to cull a child process and determine the exit status
208 had two separate code paths for normal callers and callers in a
209 signal handler, and the latter did not yield correct value when the
210 child has caught a signal. The handling of the exit status has
211 been unified for these two code paths. An existing test with
212 flakiness has also been corrected.
213 (merge 5263e22cba jk/t7006-sigpipe-tests-fix later to maint).
215 * When a non-existent program is given as the pager, we tried to
216 reuse an uninitialized child_process structure and crashed, which
218 (merge f917f57f40 em/missing-pager later to maint).
220 * The single-key-input mode in "git add -p" had some code to handle
221 keys that generate a sequence of input via ReadKey(), which did not
222 handle end-of-file correctly, which has been fixed.
223 (merge fc8a8126df cb/add-p-single-key-fix later to maint).
225 * "git rebase -x" added an unnecessary 'exec' instructions before
226 'noop', which has been corrected.
227 (merge cc9dcdee61 en/rebase-x-fix later to maint).
229 * When the "git push" command is killed while the receiving end is
230 trying to report what happened to the ref update proposals, the
231 latter used to die, due to SIGPIPE. The code now ignores SIGPIPE
232 to increase our chances to run the post-receive hook after it
234 (merge d34182b9e3 rj/receive-pack-avoid-sigpipe-during-status-reporting later to maint).
236 * "git worktree add" showed "Preparing worktree" message to the
237 standard output stream, but when it failed, the message from die()
238 went to the standard error stream. Depending on the order the
239 stdio streams are flushed at the program end, this resulted in
240 confusing output. It has been corrected by sending all the chatty
241 messages to the standard error stream.
242 (merge b50252484f es/worktree-chatty-to-stderr later to maint).
244 * Coding guideline document has been updated to clarify what goes to
245 standard error in our system.
246 (merge e258eb4800 es/doc-stdout-vs-stderr later to maint).
248 * The sparse-index/sparse-checkout feature had a bug in its use of
249 the matching code to determine which path is in or outside the
250 sparse checkout patterns.
251 (merge 8c5de0d265 ds/sparse-deep-pattern-checkout-fix later to maint).
253 * "git rebase -x" by mistake started exporting the GIT_DIR and
254 GIT_WORK_TREE environment variables when the command was rewritten
255 in C, which has been corrected.
256 (merge 434e0636db en/rebase-x-wo-git-dir-env later to maint).
258 * When "git log" implicitly enabled the "decoration" processing
259 without being explicitly asked with "--decorate" option, it failed
260 to read and honor the settings given by the "--decorate-refs"
263 * "git fetch --set-upstream" did not check if there is a current
264 branch, leading to a segfault when it is run on a detached HEAD,
265 which has been corrected.
266 (merge 17baeaf82d ab/fetch-set-upstream-while-detached later to maint).
268 * Other code cleanup, docfix, build fix, etc.
269 (merge 74db416c9c cw/protocol-v2-doc-fix later to maint).
270 (merge f9b2b6684d ja/doc-cleanup later to maint).
271 (merge 7d1b866778 jc/fix-first-object-walk later to maint).
272 (merge 538ac74604 js/trace2-avoid-recursive-errors later to maint).
273 (merge 152923b132 jk/t5319-midx-corruption-test-deflake later to maint).
274 (merge 9081a421a6 ab/checkout-branch-info-leakfix later to maint).
275 (merge 42c456ff81 rs/mergesort later to maint).
276 (merge ad506e6780 tl/midx-docfix later to maint).
277 (merge bf5b83fd8a hk/ci-checkwhitespace-commentfix later to maint).
278 (merge 49f1eb3b34 jk/refs-g11-workaround later to maint).
279 (merge 7d3fc7df70 jt/midx-doc-fix later to maint).
280 (merge 7b089120d9 hn/create-reflog-simplify later to maint).
281 (merge 9e12400da8 cb/mingw-gmtime-r later to maint).
282 (merge 0bf0de6cc7 tb/pack-revindex-on-disk-cleanup later to maint).
283 (merge 2c68f577fc ew/cbtree-remove-unused-and-broken-cb-unlink later to maint).
284 (merge eafd6e7e55 ab/die-with-bug later to maint).
285 (merge 91028f7659 jc/grep-patterntype-default-doc later to maint).