]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/RelNotes/2.37.0.txt
061cea22d5ef1d49b3f3c4bbed3a7d73afafc01b
[thirdparty/git.git] / Documentation / RelNotes / 2.37.0.txt
1 Git v2.37 Release Notes
2 =======================
3
4 UI, Workflows & Features
5
6 * "vimdiff[123]" mergetool drivers have been reimplemented with a
7 more generic layout mechanism.
8
9 * "git -v" and "git -h" are now understood as "git --version" and
10 "git --help".
11
12 * The temporary files fed to external diff command are now generated
13 inside a new temporary directory under the same basename.
14
15 * "git log --since=X" will stop traversal upon seeing a commit that
16 is older than X, but there may be commits behind it that is younger
17 than X when the commit was created with a faulty clock. A new
18 option is added to keep digging without stopping, and instead
19 filter out commits with timestamp older than X.
20
21 * "git -c branch.autosetupmerge=simple branch $A $B" will set the $B
22 as $A's upstream only when $A and $B shares the same name, and "git
23 -c push.default=simple" on branch $A would push to update the
24 branch $A at the remote $B came from. Also more places use the
25 sole remote, if exists, before defaulting to 'origin'.
26
27 * A new doc has been added that lists tips for tools to work with
28 Git's codebase.
29
30 * "git remote -v" now shows the list-objects-filter used during
31 fetching from the remote, if available.
32
33
34 Performance, Internal Implementation, Development Support etc.
35
36 * The performance of the "untracked cache" feature has been improved
37 when "--untracked-files=<mode>" and "status.showUntrackedFiles"
38 are combined.
39
40 * "git stash" works better with sparse index entries.
41
42 * "git show :<path>" learned to work better with the sparse-index
43 feature.
44
45 * Introduce and apply coccinelle rule to discourage an explicit
46 comparison between a pointer and NULL, and applies the clean-up to
47 the maintenance track.
48
49
50 Fixes since v2.36
51 -----------------
52
53 * "git submodule update" without pathspec should silently skip an
54 uninitialized submodule, but it started to become noisy by mistake.
55 (merge 4f1ccef87c gc/submodule-update-part2 later to maint).
56
57 * "diff-tree --stdin" has been broken for about a year, but 2.36
58 release broke it even worse by breaking running the command with
59 <pathspec>, which in turn broke "gitk" and got noticed. This has
60 been corrected by aligning its behaviour to that of "log".
61 (merge f8781bfda3 jc/diff-tree-stdin-fix later to maint).
62
63 * Regression fix for 2.36 where "git name-rev" started to sometimes
64 reference strings after they are freed.
65 (merge 45a14f578e rs/name-rev-fix-free-after-use later to maint).
66
67 * "git show <commit1> <commit2>... -- <pathspec>" lost the pathspec
68 when showing the second and subsequent commits, which has been
69 corrected.
70 (merge 5cdb38458e jc/show-pathspec-fix later to maint).
71
72 * "git fast-export -- <pathspec>" lost the pathspec when showing the
73 second and subsequent commits, which has been corrected.
74 (merge d1c25272f5 rs/fast-export-pathspec-fix later to maint).
75
76 * "git format-patch <args> -- <pathspec>" lost the pathspec when
77 showing the second and subsequent commits, which has been
78 corrected.
79 (merge 91f8f7e46f rs/format-patch-pathspec-fix later to maint).
80
81 * "git clone --origin X" leaked piece of memory that held value read
82 from the clone.defaultRemoteName configuration variable, which has
83 been plugged.
84 (merge 6dfadc8981 jc/clone-remote-name-leak-fix later to maint).
85
86 * Get rid of a bogus and over-eager coccinelle rule.
87 (merge 08bdd3a185 jc/cocci-xstrdup-or-null-fix later to maint).
88
89 * The path taken by "git multi-pack-index" command from the end user
90 was compared with path internally prepared by the tool withut first
91 normalizing, which lead to duplicated paths not being noticed,
92 which has been corrected.
93 (merge 11f9e8de3d ds/midx-normalize-pathname-before-comparison later to maint).
94
95 * Correct choices of C compilers used in various CI jobs.
96 (merge 3506cae04f ab/cc-package-fixes later to maint).
97
98 * Various cleanups to "git p4".
99 (merge 4ff0108d9e jh/p4-various-fixups later to maint).
100
101 * The progress meter of "git blame" was showing incorrect numbers
102 when processing only parts of the file.
103 (merge e5f5d7d42e ea/progress-partial-blame later to maint).
104
105 * "git rebase --keep-base <upstream> <branch-to-rebase>" computed the
106 commit to rebase onto incorrectly, which has been corrected.
107 (merge 9e5ebe9668 ah/rebase-keep-base-fix later to maint).
108
109 * Fix a leak of FILE * in an error codepath.
110 (merge c0befa0c03 kt/commit-graph-plug-fp-leak-on-error later to maint).
111
112 * Avoid problems from interaction between malloc_check and address
113 sanitizer.
114 (merge 067109a5e7 pw/test-malloc-with-sanitize-address later to maint).
115
116 * The commit summary shown after making a commit is matched to what
117 is given in "git status" not to use the break-rewrite heuristics.
118 (merge 84792322ed rs/commit-summary-wo-break-rewrite later to maint).
119
120 * Update a few end-user facing messages around eol conversion.
121 (merge c970d30c2c ah/convert-warning-message later to maint).
122
123 * Trace2 documentation updates.
124 (merge a6c80c313c js/trace2-doc-fixes later to maint).
125
126 * Build procedure fixup.
127 (merge 1fbfd96f50 mg/detect-compiler-in-c-locale later to maint).
128
129 * "git pull" without "--recurse-submodules=<arg>" made
130 submodule.recurse take precedence over fetch.recurseSubmodules by
131 mistake, which has been corrected.
132 (merge 5819417365 gc/pull-recurse-submodules later to maint).
133
134 * "git bisect" was too silent before it is ready to start computing
135 the actual bisection, which has been corrected.
136 (merge f11046e6de cd/bisect-messages-from-pre-flight-states later to maint).
137
138 * macOS CI jobs have been occasionally flaky due to tentative version
139 skew between perforce and the homebrew packager. Instead of
140 failing the whole CI job, just let it skip the p4 tests when this
141 happens.
142 (merge f15e00b463 cb/ci-make-p4-optional later to maint).
143
144 * A bit of test framework fixes with a few fixes to issues found by
145 valgrind.
146 (merge 7c898554d7 ab/valgrind-fixes later to maint).
147
148 * "git archive --add-file=<path>" picked up the raw permission bits
149 from the path and propagated to zip output in some cases, without
150 normalization, which has been corrected (tar output did not have
151 this issue).
152 (merge 6a61661967 jc/archive-add-file-normalize-mode later to maint).
153
154 * "make coverage-report" without first running "make coverage" did
155 not produce any meaningful result, which has been corrected.
156 (merge 96ddfecc5b ep/coverage-report-wants-test-to-have-run later to maint).
157
158 * The "--current" option of "git show-branch" should have been made
159 incompatible with the "--reflog" mode, but this was not enforced,
160 which has been corrected.
161 (merge 41c64ae0e7 jc/show-branch-g-current later to maint).
162
163 * "git fetch" unnecessarily failed when an unexpected optional
164 section appeared in the output, which has been corrected.
165 (merge 7709acf7be jt/fetch-peek-optional-section later to maint).
166
167 * The way "git fetch" without "--update-head-ok" ensures that HEAD in
168 no worktree points at any ref being updated was too wasteful, which
169 has been optimized a bit.
170 (merge f7400da800 os/fetch-check-not-current-branch later to maint).
171
172 * "git fetch --recurse-submodules" from multiple remotes (either from
173 a remote group, or "--all") used to make one extra "git fetch" in
174 the submodules, which has been corrected.
175 (merge 0353c68818 jc/avoid-redundant-submodule-fetch later to maint).
176
177 * With a recent update to refuse access to repositories of other
178 people by default, "sudo make install" and "sudo git describe"
179 stopped working. This series intends to loosen it while keeping
180 the safety.
181 (merge b9063afda1 cb/path-owner-check-with-sudo later to maint).
182
183 * Other code cleanup, docfix, build fix, etc.
184 (merge e6b2582da3 cm/reftable-0-length-memset later to maint).
185 (merge 0b75e5bf22 ab/misc-cleanup later to maint).
186 (merge 52e1ab8a76 ea/rebase-code-simplify later to maint).
187 (merge 756d15923b sg/safe-directory-tests-and-docs later to maint).
188 (merge d097a23bfa ds/do-not-call-bug-on-bad-refs later to maint).
189 (merge c36c27e75c rs/t7812-pcre2-ws-bug-test later to maint).
190 (merge 1da312742d gf/unused-includes later to maint).
191 (merge 465b30a92d pb/submodule-recurse-mode-enum later to maint).
192 (merge 82b28c4ed8 km/t3501-use-test-helpers later to maint).
193 (merge 72315e431b sa/t1011-use-helpers later to maint).
194 (merge 95b3002201 cg/vscode-with-gdb later to maint).
195 (merge fbe5f6b804 tk/p4-utf8-bom later to maint).
196 (merge 17f273ffba tk/p4-with-explicity-sync later to maint).
197 (merge 944db25c60 kf/p4-multiple-remotes later to maint).
198 (merge b014cee8de jc/update-ozlabs-url later to maint).
199 (merge 4ec5008062 pb/ggg-in-mfc-doc later to maint).
200 (merge af845a604d tb/receive-pack-code-cleanup later to maint).