Merge branch 'ag/edit-todo-drop-check'
[git] / Documentation / RelNotes / 2.26.0.txt
1 Git 2.26 Release Notes
2 ======================
3
4 Updates since v2.25
5 -------------------
6
7 UI, Workflows & Features
8
9  * Sample credential helper for using .netrc has been updated to work
10    out of the box.
11
12  * gpg.minTrustLevel configuration variable has been introduced to
13    tell various signature verification codepaths the required minimum
14    trust level.
15
16  * The command line completion (in contrib/) learned to complete
17    subcommands and arguments to "git worktree".
18
19  * Disambiguation logic to tell revisions and pathspec apart has been
20    tweaked so that backslash-escaped glob special characters do not
21    count in the "wildcards are pathspec" rule.
22
23  * One effect of specifying where the GIT_DIR is (either with the
24    environment variable, or with the "git --git-dir=<where> cmd"
25    option) is to disable the repository discovery.  This has been
26    placed a bit more stress in the documentation, as new users often
27    get confused.
28
29
30 Performance, Internal Implementation, Development Support etc.
31
32  * Tell .editorconfig that in this project, *.txt files are indented
33    with tabs.
34
35  * The test-lint machinery knew to check "VAR=VAL shell_function"
36    construct, but did not check "VAR= shell_funciton", which has been
37    corrected.
38
39  * Replace "git config --bool" calls with "git config --type=bool" in
40    sample templates.
41
42  * The effort to move "git-add--interactive" to C continues.
43
44  * Improve error message generation for "git submodule add".
45
46  * Preparation of test scripts for the day when the object names will
47    use SHA-256 continues.
48
49  * Warn programmers about pretend_object_file() that allows the code
50    to tentatively use in-core objects.
51
52
53 Fixes since v2.25
54 -----------------
55
56  * "git commit" gives output similar to "git status" when there is
57    nothing to commit, but without honoring the advise.statusHints
58    configuration variable, which has been corrected.
59    (merge 5c4f55f1f6 hw/commit-advise-while-rejecting later to maint).
60
61  * has_object_file() said "no" given an object registered to the
62    system via pretend_object_file(), making it inconsistent with
63    read_object_file(), causing lazy fetch to attempt fetching an
64    empty tree from promisor remotes.
65    (merge 9c8a294a1a jt/sha1-file-remove-oi-skip-cached later to maint).
66
67  * Complete an update to tutorial that encourages "git switch" over
68    "git checkout" that was done only half-way.
69    (merge 1a7e454dd6 hw/tutorial-favor-switch-over-checkout later to maint).
70
71  * C pedantry ;-) fix.
72    (merge 63ab08fb99 bc/run-command-nullness-after-free-fix later to maint).
73
74  * The code that tries to skip over the entries for the paths in a
75    single directory using the cache-tree was not careful enough
76    against corrupt index file.
77    (merge 573117dfa5 es/unpack-trees-oob-fix later to maint).
78
79  * Reduce unnecessary round-trip when running "ls-remote" over the
80    stateless RPC mechanism.
81    (merge 4d8cab95cc jk/no-flush-upon-disconnecting-slrpc-transport later to maint).
82
83  * "git restore --staged" did not correctly update the cache-tree
84    structure, resulting in bogus trees to be written afterwards, which
85    has been corrected.
86    (merge e701bab3e9 nd/switch-and-restore later to maint).
87
88  * The code recently added to move to the entry beyond the ones in the
89    same directory in the index in the sparse-cone mode did not count
90    the number of entries to skip over incorrectly, which has been
91    corrected.
92    (merge 7210ca4ee5 ds/sparse-cone later to maint).
93
94  * Rendering by "git log --graph" of ancestry lines leading to a merge
95    commit were made suboptimal to waste vertical space a bit with a
96    recent update, which has been corrected.
97    (merge c958d3bd0a ds/graph-horizontal-edges later to maint).
98
99  * Work around test breakages caused by custom regex engine used in
100    libasan, when address sanitizer is used with more recent versions
101    of gcc and clang.
102    (merge f65d07fffa jk/asan-build-fix later to maint).
103
104  * Minor bugfixes to "git add -i" that has recently been rewritten in C.
105    (merge 849e43cc18 js/builtin-add-i-cmds later to maint).
106
107  * "git fetch --refmap=" option has got a better documentation.
108    (merge b40a50264a ds/refmap-doc later to maint).
109
110  * "git checkout X" did not correctly fail when X is not a local
111    branch but could name more than one remote-tracking branches
112    (i.e. to be dwimmed as the starting point to create a corresponding
113    local branch), which has been corrected.
114    (merge fa74180d08 am/checkout-file-and-ref-ref-ambiguity later to maint).
115
116  * Corner case bugs in "git clean" that stems from a (necessarily for
117    performance reasons) awkward calling convention in the directory
118    enumeration API has been corrected.
119    (merge 0cbb60574e en/fill-directory-fixes-more later to maint).
120
121  * A fetch that is told to recursively fetch updates in submodules
122    inevitably produces reams of output, and it becomes hard to spot
123    error messages.  The command has been taught to enumerate
124    submodules that had errors at the end of the operation.
125    (merge 0222540827 es/fetch-show-failed-submodules-atend later to maint).
126
127  * The "--recurse-submodules" option of various subcommands did not
128    work well when run in an alternate worktree, which has been
129    corrected.
130    (merge a9472afb63 pb/recurse-submodule-in-worktree-fix later to maint).
131
132  * Futureproofing a test not to depend on the current implementation
133    detail.
134    (merge b54128bb0b jt/t5616-robustify later to maint).
135
136  * Running "git rm" on a submodule failed unnecessarily when
137    .gitmodules is only cache-dirty, which has been corrected.
138    (merge 7edee32985 dt/submodule-rm-with-stale-cache later to maint).
139
140  * C pedantry ;-) fix.
141    (merge cf82bff73f jk/clang-sanitizer-fixes later to maint).
142
143  * "git grep --no-index" should not get affected by the contents of
144    the .gitmodules file but when "--recurse-submodules" is given or
145    the "submodule.recurse" variable is set, it did.  Now these
146    settings are ignored in the "--no-index" mode.
147    (merge c56c48dd07 pb/do-not-recurse-grep-no-index later to maint).
148
149  * Technical details of the bundle format has been documented.
150    (merge 7378ec90e1 ms/doc-bundle-format later to maint).
151
152  * Unhelpful warning messages during documentation build have been squelched.
153    (merge 30183894ea js/ci-squelch-doc-warning later to maint).
154
155  * Other code cleanup, docfix, build fix, etc.
156    (merge 26f924d50e en/simplify-check-updates-in-unpack-trees later to maint).
157    (merge 065027ee1a en/string-list-can-be-custom-sorted later to maint).
158    (merge d0d0a357a1 am/update-pathspec-f-f-tests later to maint).
159    (merge f94f7bd00d am/test-pathspec-f-f-error-cases later to maint).
160    (merge e4837b4406 jk/test-fixes later to maint).
161    (merge a4ffbbbb99 rt/submodule-i18n later to maint).
162    (merge 856249c62a bc/actualmente later to maint).
163    (merge c513a958b6 ss/t6025-modernize later to maint).
164    (merge 69e104d70e bc/author-committer-doc later to maint).
165    (merge 7a2dc95cbc bc/misconception-doc later to maint).
166    (merge b441717256 dl/test-must-fail-fixes later to maint).
167    (merge d031049da3 mt/sparse-checkout-doc-update later to maint).
168    (merge 145136a95a jc/skip-prefix later to maint).
169    (merge eb31044ff7 jb/multi-pack-index-docfix later to maint).
170    (merge 04e5b3f0b4 km/submodule-doc-use-sm-path later to maint).
171    (merge e469afe158 ma/filter-branch-doc-caret later to maint).
172    (merge 395518cf7a jb/parse-options-message-fix later to maint).
173    (merge 303b3c1c46 es/submodule-fetch-message-fix later to maint).
174    (merge 9299f84921 ma/diff-doc-clarify-regexp-example later to maint).
175    (merge 2b0f19fa7a js/convert-typofix later to maint).