t6300: abstract away SHA-1-specific constants
[git/raj.git] / Documentation / RelNotes / 2.26.0.txt
blobe8a78b7a19b6a4a2825a983e7b2981c51bc5b41c
1 Git 2.26 Release Notes
2 ======================
4 Updates since v2.25
5 -------------------
7 UI, Workflows & Features
9  * Sample credential helper for using .netrc has been updated to work
10    out of the box.
12  * gpg.minTrustLevel configuration variable has been introduced to
13    tell various signature verification codepaths the required minimum
14    trust level.
16  * The command line completion (in contrib/) learned to complete
17    subcommands and arguments to "git worktree".
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.
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.
29  * Two help messages given when "git add" notices the user gave it
30    nothing to add have been updated to use advise() API.
32  * A new version of fsmonitor-watchman hook has been introduced, to
33    avoid races.
35  * "git config" learned to show in which "scope", in addition to in
36    which file, each config setting comes from.
39 Performance, Internal Implementation, Development Support etc.
41  * Tell .editorconfig that in this project, *.txt files are indented
42    with tabs.
44  * The test-lint machinery knew to check "VAR=VAL shell_function"
45    construct, but did not check "VAR= shell_funciton", which has been
46    corrected.
48  * Replace "git config --bool" calls with "git config --type=bool" in
49    sample templates.
51  * The effort to move "git-add--interactive" to C continues.
53  * Improve error message generation for "git submodule add".
55  * Preparation of test scripts for the day when the object names will
56    use SHA-256 continues.
58  * Warn programmers about pretend_object_file() that allows the code
59    to tentatively use in-core objects.
61  * The way "git pack-objects" reuses objects stored in existing pack
62    to generate its result has been improved.
64  * The transport protocol version 2 becomes the default one.
66  * Traditionally, we avoided threaded grep while searching in objects
67    (as opposed to files in the working tree) as accesses to the object
68    layer is not thread-safe.  This limitation is getting lifted.
70  * "git rebase -i" (and friends) used to unnecessarily check out the
71    tip of the branch to be rebased, which has been corrected.
73  * A low-level API function get_oid(), that accepts various ways to
74    name an object, used to issue end-user facing error messages
75    without l10n, which has been updated to be translatable.
77  * Unneeded connectivity check is now disabled in a partial clone when
78    fetching into it.
80  * Some rough edges in the sparse-checkout feature, especially around
81    the cone mode, have been cleaned up.
83  * The diff-* plumbing family of subcommands now pay attention to the
84    diff.wsErrorHighlight configuration, which has been ignored before;
85    this allows "git add -p" to also show the whitespace problems to
86    the end user.
88  * Some codepaths were given a repository instance as a parameter to
89    work in the repository, but passed the_repository instance to its
90    callees, which has been cleaned up (somewhat).
92  * Memory footprint and performance of "git name-rev" has been
93    improved.
96 Fixes since v2.25
97 -----------------
99  * "git commit" gives output similar to "git status" when there is
100    nothing to commit, but without honoring the advise.statusHints
101    configuration variable, which has been corrected.
103  * has_object_file() said "no" given an object registered to the
104    system via pretend_object_file(), making it inconsistent with
105    read_object_file(), causing lazy fetch to attempt fetching an
106    empty tree from promisor remotes.
108  * Complete an update to tutorial that encourages "git switch" over
109    "git checkout" that was done only half-way.
111  * C pedantry ;-) fix.
113  * The code that tries to skip over the entries for the paths in a
114    single directory using the cache-tree was not careful enough
115    against corrupt index file.
117  * Reduce unnecessary round-trip when running "ls-remote" over the
118    stateless RPC mechanism.
120  * "git restore --staged" did not correctly update the cache-tree
121    structure, resulting in bogus trees to be written afterwards, which
122    has been corrected.
124  * The code recently added to move to the entry beyond the ones in the
125    same directory in the index in the sparse-cone mode did not count
126    the number of entries to skip over incorrectly, which has been
127    corrected.
129  * Rendering by "git log --graph" of ancestry lines leading to a merge
130    commit were made suboptimal to waste vertical space a bit with a
131    recent update, which has been corrected.
133  * Work around test breakages caused by custom regex engine used in
134    libasan, when address sanitizer is used with more recent versions
135    of gcc and clang.
137  * Minor bugfixes to "git add -i" that has recently been rewritten in C.
138    (merge 849e43cc18 js/builtin-add-i-cmds later to maint).
140  * "git fetch --refmap=" option has got a better documentation.
142  * "git checkout X" did not correctly fail when X is not a local
143    branch but could name more than one remote-tracking branches
144    (i.e. to be dwimmed as the starting point to create a corresponding
145    local branch), which has been corrected.
146    (merge fa74180d08 am/checkout-file-and-ref-ref-ambiguity later to maint).
148  * Corner case bugs in "git clean" that stems from a (necessarily for
149    performance reasons) awkward calling convention in the directory
150    enumeration API has been corrected.
152  * A fetch that is told to recursively fetch updates in submodules
153    inevitably produces reams of output, and it becomes hard to spot
154    error messages.  The command has been taught to enumerate
155    submodules that had errors at the end of the operation.
156    (merge 0222540827 es/fetch-show-failed-submodules-atend later to maint).
158  * The "--recurse-submodules" option of various subcommands did not
159    work well when run in an alternate worktree, which has been
160    corrected.
161    (merge a9472afb63 pb/recurse-submodule-in-worktree-fix later to maint).
163  * Futureproofing a test not to depend on the current implementation
164    detail.
166  * Running "git rm" on a submodule failed unnecessarily when
167    .gitmodules is only cache-dirty, which has been corrected.
168    (merge 7edee32985 dt/submodule-rm-with-stale-cache later to maint).
170  * C pedantry ;-) fix.
171    (merge cf82bff73f jk/clang-sanitizer-fixes later to maint).
173  * "git grep --no-index" should not get affected by the contents of
174    the .gitmodules file but when "--recurse-submodules" is given or
175    the "submodule.recurse" variable is set, it did.  Now these
176    settings are ignored in the "--no-index" mode.
178  * Technical details of the bundle format has been documented.
180  * Unhelpful warning messages during documentation build have been squelched.
182  * "git rebase -i" identifies existing commits in its todo file with
183    their abbreviated object name, which could become ambigous as it
184    goes to create new commits, and has a mechanism to avoid ambiguity
185    in the main part of its execution.  A few other cases however were
186    not covered by the protection against ambiguity, which has been
187    corrected.
188    (merge 26027625dd js/rebase-i-with-colliding-hash later to maint).
190  * Allow the rebase.missingCommitsCheck configuration to kick in when
191    "rebase --edit-todo" and "rebase --continue" restarts the procedure.
192    (merge 5a5445d878 ag/edit-todo-drop-check later to maint).
194  * The way "git submodule status" reports an initialized but not yet
195    populated submodule has not been reimplemented correctly when a
196    part of the "git submodule" command was rewritten in C, which has
197    been corrected.
198    (merge f38c92452d pk/status-of-uncloned-submodule later to maint).
200  * The code to automatically shrink the fan-out in the notes tree had
201    an off-by-one bug, which has been killed.
202    (merge dbc27477ff jh/notes-fanout-fix later to maint).
204  * The index-pack code now diagnoses a bad input packstream that
205    records the same object twice when it is used as delta base; the
206    code used to declare a software bug when encountering such an
207    input, but it is an input error.
208    (merge a21781011f jk/index-pack-dupfix later to maint).
210  * The code to compute the commit-graph has been taught to use a more
211    robust way to tell if two object directories refer to the same
212    thing.
213    (merge a7df60cac8 tb/commit-graph-object-dir later to maint).
215  * Other code cleanup, docfix, build fix, etc.
216    (merge 26f924d50e en/simplify-check-updates-in-unpack-trees later to maint).
217    (merge d0d0a357a1 am/update-pathspec-f-f-tests later to maint).
218    (merge f94f7bd00d am/test-pathspec-f-f-error-cases later to maint).
219    (merge c513a958b6 ss/t6025-modernize later to maint).
220    (merge b441717256 dl/test-must-fail-fixes later to maint).
221    (merge d031049da3 mt/sparse-checkout-doc-update later to maint).
222    (merge 145136a95a jc/skip-prefix later to maint).
223    (merge 5290d45134 jk/alloc-cleanups later to maint).
224    (merge 7a9f8ca805 rs/parse-options-concat-dup later to maint).
225    (merge 517b60564e rs/strbuf-insertstr later to maint).
226    (merge f696a2b1c8 jk/mailinfo-cleanup later to maint).
227    (merge 076ee3e8a2 js/test-write-junit-xml-fix later to maint).
228    (merge de26f02db1 js/test-avoid-pipe later to maint).
229    (merge bfe2bbb47f js/test-unc-fetch later to maint).
230    (merge 08809c09aa js/mingw-open-in-gdb later to maint).
231    (merge cc4f2eb828 jk/doc-credential-helper later to maint).
232    (merge e0020b2f82 es/outside-repo-errmsg-hints later to maint).