range-diff: libify the read_patches() function again
[git] / Documentation / RelNotes / 2.31.0.txt
1 Git 2.31 Release Notes
2 ======================
3
4 Updates since v2.30
5 -------------------
6
7 UI, Workflows & Features
8
9  * The "--format=%(trailers)" mechanism gets enhanced to make it
10    easier to design output for machine consumption.
11
12  * When a user does not tell "git pull" to use rebase or merge, the
13    command gives a loud message telling a user to choose between
14    rebase or merge but creates a merge anyway, forcing users who would
15    want to rebase to redo the operation.  Fix an early part of this
16    problem by tightening the condition to give the message---there is
17    no reason to stop or force the user to choose between rebase or
18    merge if the history fast-forwards.
19
20  * The configuration variable 'core.abbrev' can be set to 'no' to
21    force no abbreviation regardless of the hash algorithm.
22
23  * "git rev-parse" can be explicitly told to give output as absolute
24    or relative path with the `--path-format=(absolute|relative)` option.
25
26  * Bash completion (in contrib/) update to make it easier for
27    end-users to add completion for their custom "git" subcommands.
28
29  * "git maintenance" learned to drive scheduled maintenance on
30    platforms whose native scheduling methods are not 'cron'.
31
32
33 Performance, Internal Implementation, Development Support etc.
34
35  * A 3-year old test that was not testing anything useful has been
36    corrected.
37
38  * Retire more names with "sha1" in it.
39
40  * The topological walk codepath is covered by new trace2 stats.
41
42
43 Fixes since v2.30
44 -----------------
45
46  * Diagnose command line error of "git rebase" early.
47    (merge ca5120c339 rs/rebase-commit-validation later to maint).
48
49  * Clean up option descriptions in "git cmd --help".
50    (merge e73fe3dd02 zh/arg-help-format later to maint).
51
52  * "git stash" did not work well in a sparsely checked out working
53    tree.
54    (merge ba359fd507 en/stash-apply-sparse-checkout later to maint).
55
56  * Some tests expect that "ls -l" output has either '-' or 'x' for
57    group executable bit, but setgid bit can be inherited from parent
58    directory and make these fields 'S' or 's' instead, causing test
59    failures.
60    (merge ea8bbf2a4e mt/t4129-with-setgid-dir later to maint).
61
62  * "git for-each-repo --config=<var> <cmd>" should not run <cmd> for
63    any repository when the configuration variable <var> is not defined
64    even once.
65    (merge 6c62f01552 ds/for-each-repo-noopfix later to maint).
66
67  * Fix 2.29 regression where "git mergetool --tool-help" fails to list
68    all the available tools.
69    (merge 80f5a16798 pb/mergetool-tool-help-fix later to maint).
70
71  * Fix for procedure to building CI test environment for mac.
72    (merge 3831132ace jc/macos-install-dependencies-fix later to maint).
73
74  * Other code cleanup, docfix, build fix, etc.
75    (merge 505a276596 pk/subsub-fetch-fix-take-2 later to maint).
76    (merge 33fc56253b fc/t6030-bisect-reset-removes-auxiliary-files later to maint).
77    (merge 7efc378205 ta/doc-typofix later to maint).
78    (merge 1f4e9319c7 pb/doc-modules-git-work-tree-typofix later to maint).
79    (merge 04f6b0a192 ma/t1300-cleanup later to maint).
80    (merge 7b77f5a13e ma/doc-pack-format-varint-for-sizes later to maint).
81    (merge cc2d43be2b nk/perf-fsmonitor-cleanup later to maint).
82    (merge c8302c6c00 ar/t6016-modernise later to maint).
83    (merge 0454986e78 jc/sign-off later to maint).
84    (merge 155067ab4f vv/send-email-with-less-secure-apps-access later to maint).
85    (merge acaabcf391 jk/t5516-deflake later to maint).
86    (merge a1e03535db ad/t4129-setfacl-target-fix later to maint).
87    (merge b356d23638 ug/doc-lose-dircache later to maint).
88    (merge 9371c0e9dd ab/gettext-charset-comment-fix later to maint).
89    (merge 52fc4f195c dl/p4-encode-after-kw-expansion later to maint).
90    (merge 4eb56b56e7 bc/doc-status-short later to maint).
91    (merge a4a1ca22ef tb/local-clone-race-doc later to maint).