Fifth batch for 2.21

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

Junio C Hamano committed Feb 5, 2019 at 14:27 UTC 8feddda32cc50e928404788d7b9377c0b5f73f50
1 file changed +90
Documentation/RelNotes/2.21.0.txt
+90
@@ -59,6 +59,9 @@ UI, Workflows & Features
59 * Custom userformat "log --format" learned %S atom that stands for
60 the tip the traversal reached the commit from, i.e. --source.
61
62 + * "git instaweb" learned to drive http.server that comes with
63 + "batteries included" Python installation (both Python2 & 3).
64 +
65
66 Performance, Internal Implementation, Development Support etc.
67
@@ -101,6 +104,26 @@ Performance, Internal Implementation, Development Support etc.
104 * The code to walk tree objects has been taught that we may be
105 working with object names that are not computed with SHA-1.
106
107 + * The in-core repository instances are passed through more codepaths.
108 +
109 + * Update the protocol message specification to allow only the limited
110 + use of scaled quantities. This is ensure potential compatibility
111 + issues will not go out of hand.
112 +
113 + * Micro-optimize the code that prepares commit objects to be walked
114 + by "git rev-list" when the commit-graph is available.
115 +
116 + * "git fetch" and "git upload-pack" learned to send all exchange over
117 + the sideband channel while talking the v2 protocol.
118 +
119 + * The codepath to write out commit-graph has been optimized by
120 + following the usual pattern of visiting objects in in-pack order.
121 +
122 + * The codepath to show progress meter while writing out commit-graph
123 + file has been improved.
124 +
125 + * Cocci rules have been updated to encourage use of strbuf_addbuf().
126 +
127
128 Fixes since v2.20
129 -----------------
@@ -221,6 +244,71 @@ Fixes since v2.20
244 temporary file.
245 (merge fa6f225e01 js/add-e-clear-patch-before-stating later to maint).
246
247 + * "git p4" failed to update a shelved change when there were moved
248 + files, which has been corrected.
249 + (merge 7a10946ab9 ld/git-p4-shelve-update-fix later to maint).
250 +
251 + * The codepath to read from the commit-graph file attempted to read
252 + past the end of it when the file's table-of-contents was corrupt.
253 +
254 + * The compat/obstack code had casts that -Wcast-function-type
255 + compilation option found questionable.
256 + (merge 764473d257 sg/obstack-cast-function-type-fix later to maint).
257 +
258 + * An obvious typo in an assertion error message has been fixed.
259 + (merge 3c27e2e059 cc/test-ref-store-typofix later to maint).
260 +
261 + * In Git for Windows, "git clone \\server\share\path" etc. that uses
262 + UNC paths from command line had bad interaction with its shell
263 + emulation.
264 +
265 + * "git add --ignore-errors" did not work as advertised and instead
266 + worked as an unintended synonym for "git add --renormalize", which
267 + has been fixed.
268 + (merge 9e5da3d055 jk/add-ignore-errors-bit-assignment-fix later to maint).
269 +
270 + * On a case-insensitive filesystem, we failed to compare the part of
271 + the path that is above the worktree directory in an absolute
272 + pathname, which has been corrected.
273 +
274 + * Asking "git check-attr" about a macro (e.g. "binary") on a specific
275 + path did not work correctly, even though "git check-attr -a" listed
276 + such a macro correctly. This has been corrected.
277 + (merge 7b95849be4 jk/attr-macro-fix later to maint).
278 +
279 + * "git pack-objects" incorrectly used uninitialized mutex, which has
280 + been corrected.
281 + (merge edb673cf10 ph/pack-objects-mutex-fix later to maint).
282 +
283 + * "git checkout -b <new> [HEAD]" to create a new branch from the
284 + current commit and check it out ought to be a no-op in the index
285 + and the working tree in normal cases, but there are corner cases
286 + that do require updates to the index and the working tree. Running
287 + it immediately after "git clone --no-checkout" is one of these
288 + cases that an earlier optimization kicked in incorrectly, which has
289 + been fixed.
290 + (merge 8424bfd45b bp/checkout-new-branch-optim later to maint).
291 +
292 + * "git diff --color-moved --cc --stat -p" did not work well due to
293 + funny interaction between a bug in color-moved and the rest, which
294 + has been fixed.
295 + (merge dac03b5518 jk/diff-cc-stat-fixes later to maint).
296 +
297 + * When GIT_SEQUENCE_EDITOR is set, the command was incorrectly
298 + started when modes of "git rebase" that implicitly uses the
299 + machinery for the interactive rebase are run, which has been
300 + corrected.
301 + (merge 891d4a0313 pw/no-editor-in-rebase-i-implicit later to maint).
302 +
303 + * The commit-graph facility did not work when in-core objects that
304 + are promoted from unknown type to commit (e.g. a commit that is
305 + accessed via a tag that refers to it) were involved, which has been
306 + corrected.
307 + (merge 4468d4435c sg/object-as-type-commit-graph-fix later to maint).
308 +
309 + * "git fetch" output cleanup.
310 + (merge dc40b24df4 nd/fetch-compact-update later to maint).
311 +
312 * Code cleanup, docfix, build fix, etc.
313 (merge 89ba9a79ae hb/t0061-dot-in-path-fix later to maint).
314 (merge d173e799ea sb/diff-color-moved-config-option-fixup later to maint).
@@ -240,3 +328,5 @@ Fixes since v2.20
328 (merge 1747125e2c cc/parial-clone-doc-typofix later to maint).
329 (merge e01378753d cc/fetch-error-message-fix later to maint).
330 (merge 54e8c11215 jk/remote-insteadof-cleanup later to maint).
331 + (merge d609615f48 js/test-git-installed later to maint).
332 + (merge ba170517be ja/doc-style-fix later to maint).