The second batch

Junio C Hamano committed Dec 10, 2021 at 14:28 UTC e773545c7fe7eca21b134847f4fc2cbc9547fa14
1 file changed +99
Documentation/RelNotes/2.35.0.txt
+99
@@ -18,6 +18,24 @@ UI, Workflows & Features
18 * "git stash" learned the "--staged" option to stash away what has
19 been added to the index (and nothing else).
20
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.
23 +
24 + * Various operating modes of "git reset" have been made to work
25 + better with the sparse index.
26 +
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.
34 +
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.
38 +
39
40 Performance, Internal Implementation, Development Support etc.
41
@@ -31,6 +49,21 @@ Performance, Internal Implementation, Development Support etc.
49 tweaked to make it easier to keep it in sync with the command itself.
50
51
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.
55 +
56 + * Code clean-up to eventually allow information on remotes defined
57 + for an arbitrary repository to be read.
58 +
59 + * Build optimization.
60 +
61 + * Tighten code for testing pack-bitmap.
62 +
63 + * Weather balloon to break people with compilers that do not support
64 + C99.
65 +
66 +
67 Fixes since v2.34
68 -----------------
69
@@ -63,3 +96,69 @@ Fixes since v2.34
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).
99 +
100 + * Redact the path part of packfile URI that appears in the trace output.
101 + (merge 0ba558ffb1 if/redact-packfile-uri later to maint).
102 +
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).
106 +
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).
110 +
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).
114 +
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).
118 +
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).
123 +
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).
128 +
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).
136 +
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).
141 +
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).
146 +
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).
150 +
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).