Third batch after 2.20

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Jan 18, 2019 at 13:56 UTC 16a465bc018d09e9d7bbbdc5f40a7fb99c21f8ef
1 file changed +80
Documentation/RelNotes/2.21.0.txt
+80
@@ -29,6 +29,28 @@ UI, Workflows & Features
29 which gives it the same degree of noisy-ness as the case in which
30 the command checks out a branch.
31
32 + * "git quiltimport" learned "--keep-non-patch" option.
33 +
34 + * "git worktree remove" and "git worktree move" refused to work when
35 + there is a submodule involved. This has been loosened to ignore
36 + uninitialized submodules.
37 +
38 + * "git cherry-pick -m1" was forbidden when picking a non-merge
39 + commit, even though there _is_ parent number 1 for such a commit.
40 + This was done to avoid mistakes back when "cherry-pick" was about
41 + picking a single commit, but is no longer useful with "cherry-pick"
42 + that can pick a range of commits. Now the "-m$num" option is
43 + allowed when picking any commit, as long as $num names an existing
44 + parent of the commit.
45 +
46 + * Update "git multimail" from the upstream.
47 +
48 + * "git p4" update.
49 +
50 + * The "--format=<placeholder>" option of for-each-ref, branch and tag
51 + learned to show a few more traits of objects that can be learned by
52 + the object_info API.
53 +
54
55 Performance, Internal Implementation, Development Support etc.
56
@@ -38,6 +60,23 @@ Performance, Internal Implementation, Development Support etc.
60 * More codepaths become aware of working with in-core repository
61 instance other than the default "the_repository".
62
63 + * The "strncat()" function is now among the banned functions.
64 +
65 + * Portability updates for the HPE NonStop platform.
66 +
67 + * Earlier we added "-Wformat-security" to developer builds, assuming
68 + that "-Wall" (which includes "-Wformat" which in turn is required
69 + to use "-Wformat-security") is always in effect. This is not true
70 + when config.mak.autogen is in use, unfortunately. This has been
71 + fixed by unconditionally adding "-Wall" to developer builds.
72 +
73 + * The loose object cache used to optimize existence look-up has been
74 + updated.
75 +
76 + * Flaky tests can now be repeatedly run under load with the
77 + "--stress" option.
78 + (merge fb7d1e3ac8 sg/stress-test later to maint).
79 +
80
81 Fixes since v2.20
82 -----------------
@@ -97,6 +136,40 @@ Fixes since v2.20
136 the --text option is in effect, that is).
137 (merge e0e7cb8080 tb/log-G-binary later to maint).
138
139 + * "git submodule update" ought to use a single job unless asked, but
140 + by mistake used multiple jobs, which has been fixed.
141 + (merge e3a9d1aca9 sb/submodule-fetchjobs-default-to-one later to maint).
142 +
143 + * "git stripspace" should be usable outside a git repository, but
144 + under the "-s" or "-c" mode, it didn't.
145 + (merge 957da75802 jn/stripspace-wo-repository later to maint).
146 +
147 + * Some of the documentation pages formatted incorrectly with
148 + Asciidoctor, which have been fixed.
149 + (merge b62eb1d2f4 ma/asciidoctor later to maint).
150 +
151 + * The core.worktree setting in a submodule repository should not be
152 + pointing at a directory when the submodule loses its working tree
153 + (e.g. getting deinit'ed), but the code did not properly maintain
154 + this invariant.
155 +
156 + * With zsh, "git cmd path<TAB>" was completed to "git cmd path name"
157 + when the completed path has a special character like SP in it,
158 + without any attempt to keep "path name" a single filename. This
159 + has been fixed to complete it to "git cmd path\ name" just like
160 + Bash completion does.
161 +
162 + * The test suite tried to see if it is run under bash, but the check
163 + itself failed under some other implementations of shell (notably
164 + under NetBSD). This has been corrected.
165 + (merge 54ea72f09c sg/test-bash-version-fix later to maint).
166 +
167 + * "git gc" and "git repack" did not close the open packfiles that
168 + they found unneeded before removing them, which didn't work on a
169 + platform incapable of removing an open file. This has been
170 + corrected.
171 + (merge 5bdece0d70 js/gc-repack-close-before-remove later to maint).
172 +
173 * Code cleanup, docfix, build fix, etc.
174 (merge 89ba9a79ae hb/t0061-dot-in-path-fix later to maint).
175 (merge d173e799ea sb/diff-color-moved-config-option-fixup later to maint).
@@ -106,3 +179,10 @@ Fixes since v2.20
179 (merge 112ea42663 fd/gitweb-snapshot-conf-doc-fix later to maint).
180 (merge 1cadad6f65 tb/use-common-win32-pathfuncs-on-cygwin later to maint).
181 (merge 57e9dcaa65 km/rebase-doc-typofix later to maint).
182 + (merge b8b4cb27e6 ds/gc-doc-typofix later to maint).
183 + (merge 3b3357626e nd/style-opening-brace later to maint).
184 + (merge b4583d5595 es/doc-worktree-guessremote-config later to maint).
185 + (merge cce99cd8c6 ds/commit-graph-assert-missing-parents later to maint).
186 + (merge 0650614982 cy/completion-typofix later to maint).
187 + (merge 6881925ef5 rs/sha1-file-close-mapped-file-on-error later to maint).
188 + (merge bd8d6f0def en/show-ref-doc-fix later to maint).