Merge branch 'ab/make-cleanup'
[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.32
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
34 Performance, Internal Implementation, Development Support etc.
35
36  * Rename detection rework continues.
37
38  * GIT_TEST_FAIL_PREREQS is a mechanism to skip test pieces with
39    prerequisites to catch broken tests that depend on the side effects
40    of optional pieces, but did not work at all when negative
41    prerequisites were involved.
42    (merge 27d578d904 jk/fail-prereq-testfix later to maint).
43
44  * "git diff-index" codepath has been taught to trust fsmonitor status
45    to reduce number of lstat() calls.
46    (merge 7e5aa13d2c nk/diff-index-fsmonitor later to maint).
47
48
49 Fixes since v2.31
50 -----------------
51
52  * The fsmonitor interface read from its input without making sure
53    there is something to read from.  This bug is new in 2.31
54    timeframe.
55    (merge 097ea2c848 jh/fsmonitor-prework later to maint).
56
57  * The data structure used by fsmonitor interface was not properly
58    duplicated during an in-core merge, leading to use-after-free etc.
59    (merge 4abc57848d js/fsmonitor-unpack-fix later to maint).
60
61  * "git bisect" reimplemented more in C during 2.30 timeframe did not
62    take an annotated tag as a good/bad endpoint well.  This regression
63    has been corrected.
64    (merge 7730f85594 jk/bisect-peel-tag-fix later to maint).
65
66  * Fix macros that can silently inject unintended null-statements.
67    (merge 116affac3f rs/avoid-null-statement-after-macro-call later to maint).
68
69  * CALLOC_ARRAY() macro replaces many uses of xcalloc().
70    (merge 1c57cc70ec rs/calloc-array later to maint).
71
72  * Update insn in Makefile comments to run fuzz-all target.
73    (merge 68b5c3aa48 ah/make-fuzz-all-doc-update later to maint).
74
75  * Fix a corner case bug in "git mv" on case insensitive systems,
76    which was introduced in 2.29 timeframe.
77    (merge 93c3d297b5 tb/git-mv-icase-fix later to maint).
78
79  * We had a code to diagnose and die cleanly when a required
80    clean/smudge filter is missing, but an assert before that
81    unnecessarily fired, hiding the end-user facing die() message.
82    (merge 6fab35f748 mt/cleanly-die-upon-missing-required-filter later to maint).
83
84  * Update C code that sets a few configuration variables when a remote
85    is configured so that it spells configuration variable names in the
86    canonical camelCase.
87    (merge 0f1da600e6 ab/remote-write-config-in-camel-case later to maint).
88
89  * A new configuration variable has been introduced to allow choosing
90    which version of the generation number gets used in the
91    commit-graph file.
92    (merge 702110aac6 ds/commit-graph-generation-config later to maint).
93
94  * Perf test update to work better in secondary worktrees.
95    (merge 36e834abc1 jk/perf-in-worktrees later to maint).
96
97  * Updates to memory allocation code around the use of pcre2 library.
98    (merge c1760352e0 ab/grep-pcre2-allocfix later to maint).
99
100  * "git -c core.bare=false clone --bare ..." would have segfaulted,
101    which has been corrected.
102    (merge 75555676ad bc/clone-bare-with-conflicting-config later to maint).
103
104  * Other code cleanup, docfix, build fix, etc.
105    (merge 486f4bd183 jc/calloc-fix later to maint).
106    (merge 5f70859c15 jt/clone-unborn-head later to maint).
107    (merge cfd409ed09 km/config-doc-typofix later to maint).
108    (merge 8588aa8657 jk/slimmed-down later to maint).
109    (merge 241b5d3ebe rs/xcalloc-takes-nelem-first later to maint).
110    (merge f451960708 dl/cat-file-doc-cleanup later to maint).
111    (merge 12604a8d0c sv/t9801-test-path-is-file-cleanup later to maint).
112    (merge ea7e63921c jr/doc-ignore-typofix later to maint).
113    (merge 23c781f173 ps/update-ref-trans-hook-doc later to maint).
114    (merge 42efa1231a jk/filter-branch-sha256 later to maint).
115    (merge 4c8e3dca6e tb/push-simple-uses-branch-merge-config later to maint).