diff: properly error out when combining multiple pickaxe options
[git.git] / Documentation / RelNotes / 2.16.0.txt
blobe46197f478583a85cde69d55a1944cb1ddaf1ba3
1 Git 2.16 Release Notes
2 ======================
4 Backward compatibility notes and other notable changes.
6  * Use of an empty string as a pathspec element that is used for
7    'everything matches' is now an error.
10 Updates since v2.15
11 -------------------
13 UI, Workflows & Features
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).
20  * A hook script that is set unexecutable is simply ignored.  Git
21    notifies when such a file is ignored, unless the message is
22    squelched via advice.ignoredHook configuration.
24  * "git pull" has been taught to accept "--[no-]signoff" option and
25    pass it down to "git merge".
27  * The "--push-option=<string>" option to "git push" now defaults to a
28    list of strings configured via push.pushOption variable.
30  * "gitweb" checks if a directory is searchable with Perl's "-x"
31    operator, which can be enhanced by using "filetest 'access'"
32    pragma, which now we do.
34  * "git stash save" has been deprecated in favour of "git stash push".
37 Performance, Internal Implementation, Development Support etc.
39  * An earlier update made it possible to use an on-stack in-core
40    lockfile structure (as opposed to having to deliberately leak an
41    on-heap one).  Many codepaths have been updated to take advantage
42    of this new facility.
44  * Calling cmd_foo() as if it is a general purpose helper function is
45    a no-no.  Correct two instances of such to set an example.
47  * We try to see if somebody runs our test suite with a shell that
48    does not support "local" like bash/dash does.
50  * An early part of piece-by-piece rewrite of "git bisect" in C.
52  * GSoC to piece-by-piece rewrite "git submodule" in C.
54  * Optimize the code to find shortest unique prefix of object names.
56  * Pathspec-limited revision traversal was taught not to keep finding
57    unneeded differences once it knows two trees are different inside
58    given pathspec.
60  * Conversion from uchar[20] to struct object_id continues.
62  * Code cleanup.
63    (merge 62a24c8923 rs/hex-to-bytes-cleanup later to maint).
65  * A single-word "unsigned flags" in the diff options is being split
66    into a structure with many bitfields.
67    (merge 0d1e0e7801 bw/diff-opt-impl-to-bitfields later to maint).
69  * TravisCI build updates.
70    (merge c2154953b8 sg/travis-fixes later to maint).
73 Also contains various documentation updates and code clean-ups.
76 Fixes since v2.15
77 -----------------
79  * "auto" as a value for the columnar output configuration ought to
80    judge "is the output consumed by humans?" with the same criteria as
81    "auto" for coloured output configuration, i.e. either the standard
82    output stream is going to tty, or a pager is in use.  We forgot the
83    latter, which has been fixed.
84    (merge 965ff23a43 kd/auto-col-with-pager-fix later to maint).
86  * The experimental "color moved lines differently in diff output"
87    feature was buggy around "ignore whitespace changes" edges, whihch
88    has been corrected.
89    (merge b66b507292 jk/diff-color-moved-fix later to maint).
91  * Instead of using custom line comparison and hashing functions to
92    implement "moved lines" coloring in the diff output, use the pair
93    of these functions from lower-layer xdiff/ code.
94    (merge 01be97c2b2 sb/diff-color-moved-use-xdl-recmatch later to maint).
96  * Some codepaths did not check for errors when asking what branch the
97    HEAD points at, which have been fixed.
98    (merge dbd2b55cb7 jk/misc-resolve-ref-unsafe-fixes later to maint).
100  * "git commit", after making a commit, did not check for errors when
101    asking on what branch it made the commit, which has been correted.
102    (merge c26de08370 ao/check-resolve-ref-unsafe-result later to maint).
104  * "git status --ignored -u" did not stop at a working tree of a
105    separate project that is embedded in an ignored directory and
106    listed files in that other project, instead of just showing the
107    directory itself as ignored.
108    (merge fadb4820c4 js/submodule-in-excluded later to maint).
110  * A broken access to object databases in recent update to "git grep
111    --recurse-submodules" has been fixed.
112    (merge 9560e6245a bw/grep-recurse-submodules later to maint).
114  * A recent regression in "git rebase -i" that broke execution of git
115    commands from subdirectories via "exec" insn has been fixed.
116    (merge 09d7b6c6fa jk/rebase-i-exec-gitdir-fix later to maint).
118  * A (possibly flakey) test fix.
119    (merge cff48ccf2a jc/t5601-copy-workaround later to maint).
121  * "git check-ref-format --branch @{-1}" bit a "BUG()" when run
122    outside a repository for obvious reasons; clarify the documentation
123    and make sure we do not even try to expand the at-mark magic in
124    such a case, but still call the validation logic for branch names.
125    (merge 89dd32aedc jc/check-ref-format-oor later to maint).
127  * "git fetch --recurse-submodules" now knows that submodules can be
128    moved around in the superproject in addition to getting updated,
129    and finds the ones that need to be fetched accordingly.
130    (merge 4b4acedd61 hv/fetch-moved-submodules-on-demand later to maint).
132  * Command line completion (in contrib/) update.
133    (merge 6357d9d004 tb/complete-checkout later to maint).
135  * Description of blame.{showroot,blankboundary,showemail,date}
136    configuration variables have been added to "git config --help".
137    (merge de0bc11d13 sb/blame-config-doc later to maint).
139  * After an error from lstat(), diff_populate_filespec() function
140    sometimes still went ahead and used invalid data in struct stat,
141    which has been fixed.
142    (merge 10e0ca843d ao/diff-populate-filespec-lstat-errorpath-fix later to maint).
144  * UNC paths are also relevant in Cygwin builds and they are now
145    tested just like Mingw builds.
146    (merge f21d60b429 ad/5580-unc-tests-on-cygwin later to maint).
148  * Correct start-up sequence so that a repository could be placed
149    immediately under the root directory again (which was broken at
150    around Git 2.13).
151    (merge fa4d8c783d js/early-config later to maint).
153  * The credential helper for libsecret (in contrib/) has been improved
154    to allow possibly prompting the end user to unlock secrets that are
155    currently locked (otherwise the secrets may not be loaded).
156    (merge 9c109e9bbc dk/libsecret-unlock-to-load-fix later to maint).
158  * MinGW updates.
159    (merge 39bb86b4e5 js/mingw-full-version-in-resources later to maint).
160    (merge 601e1e7897 js/wincred-empty-cred later to maint).
161    (merge b2f55717c7 js/mingw-redirect-std-handles later to maint).
163  * Other minor doc, test and build updates and code cleanups.
164    (merge bab76141da cn/diff-indent-no-longer-is-experimental later to maint).
165    (merge 8684dde10d jm/relnotes-2.15-typofix later to maint).
166    (merge cd3f8e2fc2 ks/mailmap later to maint).