Merge branch 'ab/ci-updates'
[git/debian.git] / Documentation / RelNotes / 2.35.0.txt
blob34b5ffedfdafc8e7edccfcfa4d34f0635199c504
1 Git 2.35 Release Notes
2 ======================
4 Updates since Git 2.34
5 ----------------------
7 Backward compatibility warts
9  * "_" is now treated as any other URL-valid characters in an URL when
10    matching the per-URL configuration variable names.
13 UI, Workflows & Features
15  * "git status --porcelain=v2" now show the number of stash entries
16    with --show-stash like the normal output does.
18  * "git stash" learned the "--staged" option to stash away what has
19    been added to the index (and nothing else).
21  * "git var GIT_DEFAULT_BRANCH" is a way to see what name is used for
22    the newly created branch if "git init" is run.
24  * Various operating modes of "git reset" have been made to work
25    better with the sparse index.
27  * "git submodule deinit" for a submodule whose .git metadata
28    directory is embedded in its working tree refused to work, until
29    the submodule gets converted to use the "absorbed" form where the
30    metadata directory is stored in superproject, and a gitfile at the
31    top-level of the working tree of the submodule points at it.  The
32    command is taught to convert such submodules to the absorbed form
33    as needed.
35  * The completion script (in contrib/) learns that the "--date"
36    option of commands from the "git log" family takes "human" and
37    "auto" as valid values.
40 Performance, Internal Implementation, Development Support etc.
42  * The use of errno as a means to carry the nature of error in the ref
43    API implementation has been reworked and reduced.
45  * Teach and encourage first-time contributors to this project to
46    state the base commit when they submit their topic.
48  * The command line complation for "git send-email" options have been
49    tweaked to make it easier to keep it in sync with the command itself.
52  * Ensure that the sparseness of the in-core index matches the
53    index.sparse configuration specified by the repository immediately
54    after the on-disk index file is read.
56  * Code clean-up to eventually allow information on remotes defined
57    for an arbitrary repository to be read.
59  * Build optimization.
61  * Tighten code for testing pack-bitmap.
63  * Weather balloon to break people with compilers that do not support
64    C99.
67 Fixes since v2.34
68 -----------------
70  * "git grep" looking in a blob that has non-UTF8 payload was
71    completely broken when linked with certain versions of PCREv2
72    library in the latest release.
74  * Other code cleanup, docfix, build fix, etc.
76  * "git pull" with any strategy when the other side is behind us
77    should succeed as it is a no-op, but doesn't.
79  * An earlier change in 2.34.0 caused JGit application (that abused
80    GIT_EDITOR mechanism when invoking "git config") to get stuck with
81    a SIGTTOU signal; it has been reverted.
83  * An earlier change that broke .gitignore matching has been reverted.
85  * Things like "git -c branch.sort=bogus branch new HEAD", i.e. the
86    operation modes of the "git branch" command that do not need the
87    sort key information, no longer errors out by seeing a bogus sort
88    key.
89    (merge 98e7ab6d42 jc/fix-ref-sorting-parse later to maint).
91  * The compatibility implementation for unsetenv(3) were written to
92    mimic ancient, non-POSIX, variant seen in an old glibc; it has been
93    changed to return an integer to match the more modern era.
94    (merge a38989bd5b jc/unsetenv-returns-an-int later to maint).
96  * The clean/smudge conversion code path has been prepared to better
97    work on platforms where ulong is narrower than size_t.
98    (merge 596b5e77c9 mc/clean-smudge-with-llp64 later to maint).
100  * Redact the path part of packfile URI that appears in the trace output.
101    (merge 0ba558ffb1 if/redact-packfile-uri later to maint).
103  * CI has been taught to catch some Unicode directional formatting
104    sequence that can be used in certain mischief.
105    (merge 0e7696c64d js/ci-no-directional-formatting later to maint).
107  * The "--date=format:<strftime>" gained a workaround for the lack of
108    system support for a non-local timezone to handle "%s" placeholder.
109    (merge 9b591b9403 jk/strbuf-addftime-seconds-since-epoch later to maint).
111  * The "merge" subcommand of "git jump" (in contrib/) silently ignored
112    pathspec and other parameters.
113    (merge 67ba13e5a4 jk/jump-merge-with-pathspec later to maint).
115  * The code to decode the length of packed object size has been
116    corrected.
117    (merge 34de5b8eac jt/pack-header-lshift-overflow later to maint).
119  * The advice message given by "git pull" when the user hasn't made a
120    choice between merge and rebase still said that the merge is the
121    default, which no longer is the case.  This has been corrected.
122    (merge 71076d0edd ah/advice-pull-has-no-preference-between-rebase-and-merge later to maint).
124  * "git fetch", when received a bad packfile, can fail with SIGPIPE.
125    This wasn't wrong per-se, but we now detect the situation and fail
126    in a more predictable way.
127    (merge 2a4aed42ec jk/fetch-pack-avoid-sigpipe-to-index-pack later to maint).
129  * The function to cull a child process and determine the exit status
130    had two separate code paths for normal callers and callers in a
131    signal handler, and the latter did not yield correct value when the
132    child has caught a signal.  The handling of the exit status has
133    been unified for these two code paths.  An existing test with
134    flakiness has also been corrected.
135    (merge 5263e22cba jk/t7006-sigpipe-tests-fix later to maint).
137  * When a non-existent program is given as the pager, we tried to
138    reuse an uninitialized child_process structure and crashed, which
139    has been fixed.
140    (merge f917f57f40 em/missing-pager later to maint).
142  * The single-key-input mode in "git add -p" had some code to handle
143    keys that generate a sequence of input via ReadKey(), which did not
144    handle end-of-file correctly, which has been fixed.
145    (merge fc8a8126df cb/add-p-single-key-fix later to maint).
147  * "git rebase -x" added an unnecessary 'exec' instructions before
148    'noop', which has been corrected.
149    (merge cc9dcdee61 en/rebase-x-fix later to maint).
151  * Other code cleanup, docfix, build fix, etc.
152    (merge 74db416c9c cw/protocol-v2-doc-fix later to maint).
153    (merge f9b2b6684d ja/doc-cleanup later to maint).
154    (merge 7d1b866778 jc/fix-first-object-walk later to maint).
155    (merge 538ac74604 js/trace2-avoid-recursive-errors later to maint).
156    (merge 152923b132 jk/t5319-midx-corruption-test-deflake later to maint).
157    (merge 9081a421a6 ab/checkout-branch-info-leakfix later to maint).
158    (merge 42c456ff81 rs/mergesort later to maint).
159    (merge ad506e6780 tl/midx-docfix later to maint).
160    (merge bf5b83fd8a hk/ci-checkwhitespace-commentfix later to maint).
161    (merge 49f1eb3b34 jk/refs-g11-workaround later to maint).
162    (merge 7d3fc7df70 jt/midx-doc-fix later to maint).
163    (merge 7b089120d9 hn/create-reflog-simplify later to maint).
164    (merge 9e12400da8 cb/mingw-gmtime-r later to maint).