The fifth batch for 2.18

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

Junio C Hamano committed May 8, 2018 at 15:50 UTC ccdcbd54c4475c2238b310f7113ab3075b5abc9c
1 file changed +112
Documentation/RelNotes/2.18.0.txt
+112
@@ -44,6 +44,44 @@ UI, Workflows & Features
44
45 * "git mergetools" learned talking to guiffy.
46
47 + * The scripts in contrib/emacs/ have outlived their usefulness and
48 + have been replaced with a stub that errors out and tells the user
49 + there are replacements.
50 +
51 + * The new "checkout-encoding" attribute can ask Git to convert the
52 + contents to the specified encoding when checking out to the working
53 + tree (and the other way around when checking in).
54 +
55 + * The "git config" command uses separate options e.g. "--int",
56 + "--bool", etc. to specify what type the caller wants the value to
57 + be interpreted as. A new "--type=<typename>" option has been
58 + introduced, which would make it cleaner to define new types.
59 +
60 + * "git config --get" learned the "--default" option, to help the
61 + calling script. Building on top of the above changes, the
62 + "git config" learns "--type=color" type. Taken together, you can
63 + do things like "git config --get foo.color --default blue" and get
64 + the ANSI color sequence for the color given to foo.color variable,
65 + or "blue" if the variable does not exist.
66 +
67 + * "git ls-remote" learned an option to allow sorting its output based
68 + on the refnames being shown.
69 +
70 + * The command line completion (in contrib/) has been taught that "git
71 + stash save" has been deprecated ("git stash push" is the preferred
72 + spelling in the new world) and does not offer it as a possible
73 + completion candidate when "git stash push" can be.
74 +
75 + * "git gc --prune=nonsense" spent long time repacking and then
76 + silently failed when underlying "git prune --expire=nonsense"
77 + failed to parse its command line. This has been corrected.
78 +
79 + * Error messages from "git push" can be painted for more visibility.
80 +
81 + * "git http-fetch" (deprecated) had an optional and experimental
82 + "feature" to fetch only commits and/or trees, which nobody used.
83 + This has been removed.
84 +
85
86 Performance, Internal Implementation, Development Support etc.
87
@@ -118,6 +156,30 @@ Performance, Internal Implementation, Development Support etc.
156 fast-import.c, which in turn has become the first user of the
157 mem-pool API.
158
159 + * A build-time option has been added to allow Git to be told to refer
160 + to its associated files relative to the main binary, in the same
161 + way that has been possible on Windows for quite some time, for
162 + Linux, BSDs and Darwin.
163 +
164 + * Precompute and store information necessary for ancestry traversal
165 + in a separate file to optimize graph walking.
166 +
167 + * The effort to pass the repository in-core structure throughout the
168 + API continues. This round deals with the code that implements the
169 + refs/replace/ mechanism.
170 +
171 + * The build procedure "make DEVELOPER=YesPlease" learned to enable a
172 + bit more warning options depending on the compiler used to help
173 + developers more. There also is "make DEVOPTS=tokens" knob
174 + available now, for those who want to help fixing warnings we
175 + usually ignore, for example.
176 +
177 + * A new version of the transport protocol is being worked on.
178 +
179 + * The code to interface to GPG has been restructured somewhat to make
180 + it cleaner to integrate with other types of signature systems later.
181 +
182 +
183 Also contains various documentation updates and code clean-ups.
184
185
@@ -183,6 +245,53 @@ Fixes since v2.17
245 attacker's control) buffer overflow.
246 (merge d8579accfa bp/fsmonitor-bufsize-fix later to maint).
247
248 + * Recent simplification of build procedure forgot a bit of tweak to
249 + the build procedure of contrib/mw-to-git/
250 + (merge d8698987f3 ab/simplify-perl-makefile later to maint).
251 +
252 + * Moving a submodule that itself has submodule in it with "git mv"
253 + forgot to make necessary adjustment to the nested sub-submodules;
254 + now the codepath learned to recurse into the submodules.
255 +
256 + * "git config --unset a.b", when "a.b" is the last variable in an
257 + otherwise empty section "a", left an empty section "a" behind, and
258 + worse yet, a subsequent "git config a.c value" did not reuse that
259 + empty shell and instead created a new one. These have been
260 + (partially) corrected.
261 + (merge c71d8bb38a js/empty-config-section-fix later to maint).
262 +
263 + * "git worktree remove" learned that "-f" is a shorthand for
264 + "--force" option, just like for "git worktree add".
265 + (merge d228eea514 sb/worktree-remove-opt-force later to maint).
266 +
267 + * The completion script (in contrib/) learned to clear cached list of
268 + command line options upon dot-sourcing it again in a more efficient
269 + way.
270 + (merge 94408dc71c sg/completion-clear-cached later to maint).
271 +
272 + * "git svn" had a minor thinko/typo which has been fixed.
273 + (merge 51db271587 ab/git-svn-get-record-typofix later to maint).
274 +
275 + * During a "rebase -i" session, the code could give older timestamp
276 + to commits created by later "pick" than an earlier "reword", which
277 + has been corrected.
278 + (merge 12f7babd6b js/ident-date-fix later to maint).
279 +
280 + * "git submodule status" did not check the symbolic revision name it
281 + computed for the submodule HEAD is not the NULL, and threw it at
282 + printf routines, which has been corrected.
283 + (merge 0b5e2ea7cf nd/submodule-status-fix later to maint).
284 +
285 + * When fed input that already has In-Reply-To: and/or References:
286 + headers and told to add the same information, "git send-email"
287 + added these headers separately, instead of appending to an existing
288 + one, which is a violation of the RFC. This has been corrected.
289 + (merge 256be1d3f0 sa/send-email-dedup-some-headers later to maint).
290 +
291 + * "git fast-export" had a regression in v2.15.0 era where it skipped
292 + some merge commits in certain cases, which has been corrected.
293 + (merge be011bbe00 ma/fast-export-skip-merge-fix later to maint).
294 +
295 * Other minor doc, test and build updates and code cleanups.
296 (merge 248f66ed8e nd/trace-with-env later to maint).
297 (merge 14ced5562c ys/bisect-object-id-missing-conversion-fix later to maint).
@@ -198,3 +307,6 @@ Fixes since v2.17
307 (merge decf711fc1 ps/test-chmtime-get later to maint).
308 (merge 22d11a6e8e es/worktree-docs later to maint).
309 (merge 92a5dbbc22 tg/use-git-contacts later to maint).
310 + (merge adc887221f tq/t1510 later to maint).
311 + (merge bed21a8ad6 sg/doc-gc-quote-mismatch-fix later to maint).
312 + (merge 73364e4f10 tz/doc-git-urls-reference later to maint).