4 Backward compatibility notes
5 ----------------------------
7 * ".gitattributes", ".gitignore", and ".mailmap" files that are
8 symbolic links are ignored.
14 UI, Workflows & Features
16 * It does not make sense to make ".gitattributes", ".gitignore" and
17 ".mailmap" symlinks, as they are supposed to be usable from the
18 object store (think: bare repositories where HEAD:.mailmap etc. are
19 used). When these files are symbolic links, we used to read the
20 contents of the files pointed by them by mistake, which has been
23 * "git stash show" learned to optionally show untracked part of the
26 * "git log --format='...'" learned "%(describe)" placeholder.
28 * "git repack" so far has been only capable of repacking everything
29 under the sun into a single pack (or split by size). A cleverer
30 strategy to reduce the cost of repacking a repository has been
33 * The http codepath learned to let the credential layer to cache the
34 password used to unlock a certificate that has successfully been
37 * "git commit --fixup=<commit>", which was to tweak the changes made
38 to the contents while keeping the original log message intact,
39 learned "--fixup=(amend|reword):<commit>", that can be used to
40 tweak both the message and the contents, and only the message,
43 * When accessing a server with a URL like https://user:pass@site/, we
44 did not to fall back to the basic authentication with the
45 credential material embedded in the URL after the "Negotiate"
46 authentication failed. Now we do.
48 * "git send-email" learned to honor the core.hooksPath configuration.
50 * "git format-patch -v<n>" learned to allow a reroll count that is
53 * "git commit" learned "--trailer <key>[=<value>]" option; together
54 with the interpret-trailers command, this will make it easier to
55 support custom trailers.
57 * "git clone --reject-shallow" option fails the clone as soon as we
58 notice that we are cloning from a shallow repository.
60 * A configuration variable has been added to force tips of certain
61 refs to be given a reachability bitmap.
63 * "gitweb" learned "e-mail privacy" feature to redact strings that
64 look like e-mail addresses on various pages.
66 * "git apply --3way" has always been "to fall back to 3-way merge
67 only when straight application fails". Swap the order of falling
68 back so that 3-way is always attempted first (only when the option
69 is given, of course) and then straight patch application is used as
70 a fallback when it fails.
72 * "git apply" now takes "--3way" and "--cached" at the same time, and
73 work and record results only in the index.
75 * The command line completion (in contrib/) has learned that
76 CHERRY_PICK_HEAD is a possible pseudo-ref.
79 Performance, Internal Implementation, Development Support etc.
81 * Rename detection rework continues.
83 * GIT_TEST_FAIL_PREREQS is a mechanism to skip test pieces with
84 prerequisites to catch broken tests that depend on the side effects
85 of optional pieces, but did not work at all when negative
86 prerequisites were involved.
87 (merge 27d578d904 jk/fail-prereq-testfix later to maint).
89 * "git diff-index" codepath has been taught to trust fsmonitor status
90 to reduce number of lstat() calls.
91 (merge 7e5aa13d2c nk/diff-index-fsmonitor later to maint).
93 * Reorganize Makefile to allow building git.o and other essential
94 objects without extra stuff needed only for testing.
96 * Preparatory API changes for parallel checkout.
98 * A simple IPC interface gets introduced to build services like
103 * SECURITY.md that is facing individual contributors and end users
104 has been introduced. Also a procedure to follow when preparing
105 embargoed releases has been spelled out.
106 (merge 09420b7648 js/security-md later to maint).
108 * Optimize "rev-list --use-bitmap-index --objects" corner case that
109 uses negative tags as the stopping points.
111 * CMake update for vsbuild.
113 * An on-disk reverse-index to map the in-pack location of an object
114 back to its object name across multiple packfiles is introduced.
116 * Generate [ec]tags under $(QUIET_GEN).
118 * Clean-up codepaths that implements "git send-email --validate"
119 option and improves the message from it.
121 * The last remnant of gettext-poison has been removed.
127 * The fsmonitor interface read from its input without making sure
128 there is something to read from. This bug is new in 2.31
131 * The data structure used by fsmonitor interface was not properly
132 duplicated during an in-core merge, leading to use-after-free etc.
134 * "git bisect" reimplemented more in C during 2.30 timeframe did not
135 take an annotated tag as a good/bad endpoint well. This regression
138 * Fix macros that can silently inject unintended null-statements.
140 * CALLOC_ARRAY() macro replaces many uses of xcalloc().
142 * Update insn in Makefile comments to run fuzz-all target.
144 * Fix a corner case bug in "git mv" on case insensitive systems,
145 which was introduced in 2.29 timeframe.
147 * We had a code to diagnose and die cleanly when a required
148 clean/smudge filter is missing, but an assert before that
149 unnecessarily fired, hiding the end-user facing die() message.
150 (merge 6fab35f748 mt/cleanly-die-upon-missing-required-filter later to maint).
152 * Update C code that sets a few configuration variables when a remote
153 is configured so that it spells configuration variable names in the
155 (merge 0f1da600e6 ab/remote-write-config-in-camel-case later to maint).
157 * A new configuration variable has been introduced to allow choosing
158 which version of the generation number gets used in the
160 (merge 702110aac6 ds/commit-graph-generation-config later to maint).
162 * Perf test update to work better in secondary worktrees.
163 (merge 36e834abc1 jk/perf-in-worktrees later to maint).
165 * Updates to memory allocation code around the use of pcre2 library.
166 (merge c1760352e0 ab/grep-pcre2-allocfix later to maint).
168 * "git -c core.bare=false clone --bare ..." would have segfaulted,
169 which has been corrected.
170 (merge 75555676ad bc/clone-bare-with-conflicting-config later to maint).
172 * When "git checkout" removes a path that does not exist in the
173 commit it is checking out, it wasn't careful enough not to follow
174 symbolic links, which has been corrected.
175 (merge fab78a0c3d mt/checkout-remove-nofollow later to maint).
177 * A few option description strings started with capital letters,
178 which were corrected.
179 (merge 5ee90326dc cc/downcase-opt-help later to maint).
181 * Plug or annotate remaining leaks that trigger while running the
182 very basic set of tests.
183 (merge 68ffe095a2 ah/plugleaks later to maint).
185 * The hashwrite() API uses a buffering mechanism to avoid calling
186 write(2) too frequently. This logic has been refactored to be
187 easier to understand.
188 (merge ddaf1f62e3 ds/clarify-hashwrite later to maint).
190 * "git cherry-pick/revert" with or without "--[no-]edit" did not spawn
191 the editor as expected (e.g. "revert --no-edit" after a conflict
192 still asked to edit the message), which has been corrected.
193 (merge 39edfd5cbc en/sequencer-edit-upon-conflict-fix later to maint).
195 * "git daemon" has been tightened against systems that take backslash
196 as directory separator.
197 (merge 9a7f1ce8b7 rs/daemon-sanitize-dir-sep later to maint).
199 * A NULL-dereference bug has been corrected in an error codepath in
200 "git for-each-ref", "git branch --list" etc.
201 (merge c685450880 jk/ref-filter-segfault-fix later to maint).
203 * Streamline the codepath to fix the UTF-8 encoding issues in the
204 argv[] and the prefix on macOS.
205 (merge c7d0e61016 tb/precompose-prefix-simplify later to maint).
207 * The command-line completion script (in contrib/) had a couple of
208 references that would have given a warning under the "-u" (nounset)
210 (merge c5c0548d79 vs/completion-with-set-u later to maint).
212 * Other code cleanup, docfix, build fix, etc.
213 (merge f451960708 dl/cat-file-doc-cleanup later to maint).
214 (merge 12604a8d0c sv/t9801-test-path-is-file-cleanup later to maint).
215 (merge ea7e63921c jr/doc-ignore-typofix later to maint).
216 (merge 23c781f173 ps/update-ref-trans-hook-doc later to maint).
217 (merge 42efa1231a jk/filter-branch-sha256 later to maint).
218 (merge 4c8e3dca6e tb/push-simple-uses-branch-merge-config later to maint).
219 (merge 6534d436a2 bs/asciidoctor-installation-hints later to maint).
220 (merge 47957485b3 ab/read-tree later to maint).
221 (merge 2be927f3d1 ab/diff-no-index-tests later to maint).
222 (merge 76593c09bb ab/detox-gettext-tests later to maint).
223 (merge 28e29ee38b jc/doc-format-patch-clarify later to maint).
224 (merge fc12b6fdde fm/user-manual-use-preface later to maint).
225 (merge dba94e3a85 cc/test-helper-bloom-usage-fix later to maint).