]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/RelNotes/2.32.0.txt
Merge branch 'js/cmake-vsbuild'
[thirdparty/git.git] / Documentation / RelNotes / 2.32.0.txt
1 Git 2.32 Release Notes
2 ======================
3
4 Backward compatibility notes
5 ----------------------------
6
7 * ".gitattributes", ".gitignore", and ".mailmap" files that are
8 symbolic links are ignored.
9
10
11 Updates since v2.31
12 -------------------
13
14 UI, Workflows & Features
15
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
21 corrected.
22
23 * "git stash show" learned to optionally show untracked part of the
24 stash.
25
26 * "git log --format='...'" learned "%(describe)" placeholder.
27
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
31 introduced.
32
33 * The http codepath learned to let the credential layer to cache the
34 password used to unlock a certificate that has successfully been
35 used.
36
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,
41 respectively.
42
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.
47
48 * "git send-email" learned to honor the core.hooksPath configuration.
49
50 * "git format-patch -v<n>" learned to allow a reroll count that is
51 not an integer.
52
53
54 Performance, Internal Implementation, Development Support etc.
55
56 * Rename detection rework continues.
57
58 * GIT_TEST_FAIL_PREREQS is a mechanism to skip test pieces with
59 prerequisites to catch broken tests that depend on the side effects
60 of optional pieces, but did not work at all when negative
61 prerequisites were involved.
62 (merge 27d578d904 jk/fail-prereq-testfix later to maint).
63
64 * "git diff-index" codepath has been taught to trust fsmonitor status
65 to reduce number of lstat() calls.
66 (merge 7e5aa13d2c nk/diff-index-fsmonitor later to maint).
67
68 * Reorganize Makefile to allow building git.o and other essential
69 objects without extra stuff needed only for testing.
70
71 * Preparatory API changes for parallel checkout.
72
73 * A simple IPC interface gets introduced to build services like
74 fsmonitor on top.
75
76
77 Fixes since v2.31
78 -----------------
79
80 * The fsmonitor interface read from its input without making sure
81 there is something to read from. This bug is new in 2.31
82 timeframe.
83
84 * The data structure used by fsmonitor interface was not properly
85 duplicated during an in-core merge, leading to use-after-free etc.
86
87 * "git bisect" reimplemented more in C during 2.30 timeframe did not
88 take an annotated tag as a good/bad endpoint well. This regression
89 has been corrected.
90
91 * Fix macros that can silently inject unintended null-statements.
92
93 * CALLOC_ARRAY() macro replaces many uses of xcalloc().
94
95 * Update insn in Makefile comments to run fuzz-all target.
96
97 * Fix a corner case bug in "git mv" on case insensitive systems,
98 which was introduced in 2.29 timeframe.
99
100 * We had a code to diagnose and die cleanly when a required
101 clean/smudge filter is missing, but an assert before that
102 unnecessarily fired, hiding the end-user facing die() message.
103 (merge 6fab35f748 mt/cleanly-die-upon-missing-required-filter later to maint).
104
105 * Update C code that sets a few configuration variables when a remote
106 is configured so that it spells configuration variable names in the
107 canonical camelCase.
108 (merge 0f1da600e6 ab/remote-write-config-in-camel-case later to maint).
109
110 * A new configuration variable has been introduced to allow choosing
111 which version of the generation number gets used in the
112 commit-graph file.
113 (merge 702110aac6 ds/commit-graph-generation-config later to maint).
114
115 * Perf test update to work better in secondary worktrees.
116 (merge 36e834abc1 jk/perf-in-worktrees later to maint).
117
118 * Updates to memory allocation code around the use of pcre2 library.
119 (merge c1760352e0 ab/grep-pcre2-allocfix later to maint).
120
121 * "git -c core.bare=false clone --bare ..." would have segfaulted,
122 which has been corrected.
123 (merge 75555676ad bc/clone-bare-with-conflicting-config later to maint).
124
125 * When "git checkout" removes a path that does not exist in the
126 commit it is checking out, it wasn't careful enough not to follow
127 symbolic links, which has been corrected.
128 (merge fab78a0c3d mt/checkout-remove-nofollow later to maint).
129
130 * Other code cleanup, docfix, build fix, etc.
131 (merge f451960708 dl/cat-file-doc-cleanup later to maint).
132 (merge 12604a8d0c sv/t9801-test-path-is-file-cleanup later to maint).
133 (merge ea7e63921c jr/doc-ignore-typofix later to maint).
134 (merge 23c781f173 ps/update-ref-trans-hook-doc later to maint).
135 (merge 42efa1231a jk/filter-branch-sha256 later to maint).
136 (merge 4c8e3dca6e tb/push-simple-uses-branch-merge-config later to maint).
137 (merge 6534d436a2 bs/asciidoctor-installation-hints later to maint).
138 (merge 47957485b3 ab/read-tree later to maint).
139 (merge 2be927f3d1 ab/diff-no-index-tests later to maint).
140 (merge 76593c09bb ab/detox-gettext-tests later to maint).
141 (merge 28e29ee38b jc/doc-format-patch-clarify later to maint).