The first batch for 2.16
[git/git.git] / Documentation / RelNotes / 2.16.0.txt
CommitLineData
c2ece9dc
JH
1Git 2.16 Release Notes
2======================
3
4Backward compatibility notes and other notable changes.
5
6 * Use of an empty string as a pathspec element that is used for
7 'everything matches' is now an error.
8
9
10Updates since v2.15
11-------------------
12
13UI, Workflows & Features
14
15 * An empty string as a pathspec element that means "everything"
16 i.e. 'git add ""', is now illegal. We started this by first
17 deprecating and warning a pathspec that has such an element in
18 2.11 (Nov 2016).
19
20
21Performance, Internal Implementation, Development Support etc.
22
23 * An earlier update made it possible to use an on-stack in-core
24 lockfile structure (as opposed to having to deliberately leak an
25 on-heap one). Many codepaths have been updated to take advantage
26 of this new facility.
27 (merge b74c90fb41 ma/lockfile-fixes later to maint).
28
29 * Calling cmd_foo() as if it is a general purpose helper function is
30 a no-no. Correct two instances of such to set an example.
31 (merge a92b1095d1 jc/no-cmd-as-subroutine later to maint).
32
33 * We try to see if somebody runs our test suite with a shell that
34 does not support "local" like bash/dash does.
35 (merge 01d3a526ad mh/test-local-canary later to maint).
36
37
38Also contains various documentation updates and code clean-ups.
39
40
41Fixes since v2.15
42-----------------
43
44 * "auto" as a value for the columnar output configuration ought to
45 judge "is the output consumed by humans?" with the same criteria as
46 "auto" for coloured output configuration, i.e. either the standard
47 output stream is going to tty, or a pager is in use. We forgot the
48 latter, which has been fixed.
49 (merge 965ff23a43 kd/auto-col-with-pager-fix later to maint).
50
51 * The experimental "color moved lines differently in diff output"
52 feature was buggy around "ignore whitespace changes" edges, whihch
53 has been corrected.
54 (merge b66b507292 jk/diff-color-moved-fix later to maint).
55
56 * Instead of using custom line comparison and hashing functions to
57 implement "moved lines" coloring in the diff output, use the pair
58 of these functions from lower-layer xdiff/ code.
59 (merge 01be97c2b2 sb/diff-color-moved-use-xdl-recmatch later to maint).
60
61 * Some codepaths did not check for errors when asking what branch the
62 HEAD points at, which have been fixed.
63 (merge dbd2b55cb7 jk/misc-resolve-ref-unsafe-fixes later to maint).
64
65 * "git commit", after making a commit, did not check for errors when
66 asking on what branch it made the commit, which has been correted.
67 (merge c26de08370 ao/check-resolve-ref-unsafe-result later to maint).
68
69 * "git status --ignored -u" did not stop at a working tree of a
70 separate project that is embedded in an ignored directory and
71 listed files in that other project, instead of just showing the
72 directory itself as ignored.
73 (merge fadb4820c4 js/submodule-in-excluded later to maint).
74
75 * A broken access to object databases in recent update to "git grep
76 --recurse-submodules" has been fixed.
77 (merge 9560e6245a bw/grep-recurse-submodules later to maint).
78
79 * A recent regression in "git rebase -i" that broke execution of git
80 commands from subdirectories via "exec" insn has been fixed.
81 (merge 09d7b6c6fa jk/rebase-i-exec-gitdir-fix later to maint).
82
83 * Other minor doc, test and build updates and code cleanups.
84 (merge bab76141da cn/diff-indent-no-longer-is-experimental later to maint).