aboutsummaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/2.16.0.txt
blob: e46197f478583a85cde69d55a1944cb1ddaf1ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
Git 2.16 Release Notes
======================

Backward compatibility notes and other notable changes.

 * Use of an empty string as a pathspec element that is used for
   'everything matches' is now an error.


Updates since v2.15
-------------------

UI, Workflows & Features

 * An empty string as a pathspec element that means "everything"
   i.e. 'git add ""', is now illegal.  We started this by first
   deprecating and warning a pathspec that has such an element in
   2.11 (Nov 2016).

 * A hook script that is set unexecutable is simply ignored.  Git
   notifies when such a file is ignored, unless the message is
   squelched via advice.ignoredHook configuration.

 * "git pull" has been taught to accept "--[no-]signoff" option and
   pass it down to "git merge".

 * The "--push-option=<string>" option to "git push" now defaults to a
   list of strings configured via push.pushOption variable.

 * "gitweb" checks if a directory is searchable with Perl's "-x"
   operator, which can be enhanced by using "filetest 'access'"
   pragma, which now we do.

 * "git stash save" has been deprecated in favour of "git stash push".


Performance, Internal Implementation, Development Support etc.

 * An earlier update made it possible to use an on-stack in-core
   lockfile structure (as opposed to having to deliberately leak an
   on-heap one).  Many codepaths have been updated to take advantage
   of this new facility.

 * Calling cmd_foo() as if it is a general purpose helper function is
   a no-no.  Correct two instances of such to set an example.

 * We try to see if somebody runs our test suite with a shell that
   does not support "local" like bash/dash does.

 * An early part of piece-by-piece rewrite of "git bisect" in C.

 * GSoC to piece-by-piece rewrite "git submodule" in C.

 * Optimize the code to find shortest unique prefix of object names.

 * Pathspec-limited revision traversal was taught not to keep finding
   unneeded differences once it knows two trees are different inside
   given pathspec.

 * Conversion from uchar[20] to struct object_id continues.

 * Code cleanup.
   (merge 62a24c8923 rs/hex-to-bytes-cleanup later to maint).

 * A single-word "unsigned flags" in the diff options is being split
   into a structure with many bitfields.
   (merge 0d1e0e7801 bw/diff-opt-impl-to-bitfields later to maint).

 * TravisCI build updates.
   (merge c2154953b8 sg/travis-fixes later to maint).


Also contains various documentation updates and code clean-ups.


Fixes since v2.15
-----------------

 * "auto" as a value for the columnar output configuration ought to
   judge "is the output consumed by humans?" with the same criteria as
   "auto" for coloured output configuration, i.e. either the standard
   output stream is going to tty, or a pager is in use.  We forgot the
   latter, which has been fixed.
   (merge 965ff23a43 kd/auto-col-with-pager-fix later to maint).

 * The experimental "color moved lines differently in diff output"
   feature was buggy around "ignore whitespace changes" edges, whihch
   has been corrected.
   (merge b66b507292 jk/diff-color-moved-fix later to maint).

 * Instead of using custom line comparison and hashing functions to
   implement "moved lines" coloring in the diff output, use the pair
   of these functions from lower-layer xdiff/ code.
   (merge 01be97c2b2 sb/diff-color-moved-use-xdl-recmatch later to maint).

 * Some codepaths did not check for errors when asking what branch the
   HEAD points at, which have been fixed.
   (merge dbd2b55cb7 jk/misc-resolve-ref-unsafe-fixes later to maint).

 * "git commit", after making a commit, did not check for errors when
   asking on what branch it made the commit, which has been correted.
   (merge c26de08370 ao/check-resolve-ref-unsafe-result later to maint).

 * "git status --ignored -u" did not stop at a working tree of a
   separate project that is embedded in an ignored directory and
   listed files in that other project, instead of just showing the
   directory itself as ignored.
   (merge fadb4820c4 js/submodule-in-excluded later to maint).

 * A broken access to object databases in recent update to "git grep
   --recurse-submodules" has been fixed.
   (merge 9560e6245a bw/grep-recurse-submodules later to maint).

 * A recent regression in "git rebase -i" that broke execution of git
   commands from subdirectories via "exec" insn has been fixed.
   (merge 09d7b6c6fa jk/rebase-i-exec-gitdir-fix later to maint).

 * A (possibly flakey) test fix.
   (merge cff48ccf2a jc/t5601-copy-workaround later to maint).

 * "git check-ref-format --branch @{-1}" bit a "BUG()" when run
   outside a repository for obvious reasons; clarify the documentation
   and make sure we do not even try to expand the at-mark magic in
   such a case, but still call the validation logic for branch names.
   (merge 89dd32aedc jc/check-ref-format-oor later to maint).

 * "git fetch --recurse-submodules" now knows that submodules can be
   moved around in the superproject in addition to getting updated,
   and finds the ones that need to be fetched accordingly.
   (merge 4b4acedd61 hv/fetch-moved-submodules-on-demand later to maint).

 * Command line completion (in contrib/) update.
   (merge 6357d9d004 tb/complete-checkout later to maint).

 * Description of blame.{showroot,blankboundary,showemail,date}
   configuration variables have been added to "git config --help".
   (merge de0bc11d13 sb/blame-config-doc later to maint).

 * After an error from lstat(), diff_populate_filespec() function
   sometimes still went ahead and used invalid data in struct stat,
   which has been fixed.
   (merge 10e0ca843d ao/diff-populate-filespec-lstat-errorpath-fix later to maint).

 * UNC paths are also relevant in Cygwin builds and they are now
   tested just like Mingw builds.
   (merge f21d60b429 ad/5580-unc-tests-on-cygwin later to maint).

 * Correct start-up sequence so that a repository could be placed
   immediately under the root directory again (which was broken at
   around Git 2.13).
   (merge fa4d8c783d js/early-config later to maint).

 * The credential helper for libsecret (in contrib/) has been improved
   to allow possibly prompting the end user to unlock secrets that are
   currently locked (otherwise the secrets may not be loaded).
   (merge 9c109e9bbc dk/libsecret-unlock-to-load-fix later to maint).

 * MinGW updates.
   (merge 39bb86b4e5 js/mingw-full-version-in-resources later to maint).
   (merge 601e1e7897 js/wincred-empty-cred later to maint).
   (merge b2f55717c7 js/mingw-redirect-std-handles later to maint).

 * Other minor doc, test and build updates and code cleanups.
   (merge bab76141da cn/diff-indent-no-longer-is-experimental later to maint).
   (merge 8684dde10d jm/relnotes-2.15-typofix later to maint).
   (merge cd3f8e2fc2 ks/mailmap later to maint).