@@ -12,7 +12,7 @@ Backward compatibility notes
12
12
$ git config core.pager "less -S"
13
13
14
14
to restore the traditional behaviour. It is expected that people
15
- find output from the most subcommands easier to read with the new
15
+ find output from most subcommands easier to read with the new
16
16
default, except for "blame" which tends to produce really long
17
17
lines. To override the new default only for "git blame", you can
18
18
do this:
@@ -31,78 +31,76 @@ UI, Workflows & Features
31
31
default value "FRSX" when we spawn "less" as the pager. "S" (chop
32
32
long lines instead of wrapping) has been removed from this default
33
33
set of options, because it is more or less a personal taste thing,
34
- as opposed to others that have good justifications (i.e. "R" is
34
+ as opposed to the others that have good justifications (i.e. "R" is
35
35
very much justified because many kinds of output we produce are
36
36
colored and "FX" is justified because output we produce is often
37
37
shorter than a page).
38
38
39
39
* The logic and data used to compute the display width needed for
40
40
UTF-8 strings have been updated to match Unicode 7.0 better.
41
41
42
- * HTTP-based transports learned to propagate the error messages from
43
- the webserver better to the client coming over the HTTP transport.
42
+ * HTTP-based transports learned to better propagate the error messages from
43
+ the webserver to the client coming over the HTTP transport.
44
44
45
45
* The completion script for bash (in contrib/) has been updated to
46
- handle aliases that define complex sequence of commands better .
46
+ better handle aliases that define a complex sequence of commands.
47
47
48
- * The "core.preloadindex" configuration variable is by default
49
- enabled, allowing modern platforms to take advantage of the
50
- multiple cores they have .
48
+ * The "core.preloadindex" configuration variable is enabled by default,
49
+ allowing modern platforms to take advantage of their
50
+ multiple cores.
51
51
52
52
* "git clone" applies the "if cloning from a local disk, physically
53
- copy repository using hardlinks, unless otherwise told not to with
54
- --no-local" optimization when url.*.insteadOf mechanism rewrites a
55
- "git clone $URL" that refers to a repository over the network to a
53
+ copy the repository using hardlinks, unless otherwise told not to with
54
+ --no-local" optimization when the url.*.insteadOf mechanism rewrites a
55
+ remote-repository "git clone $URL" into a
56
56
clone from a local disk.
57
57
58
- * "git commit --date=<date>" option learned to read from more
58
+ * "git commit --date=<date>" option learned more
59
59
timestamp formats, including "--date=now".
60
60
61
61
* The `core.commentChar` configuration variable is used to specify a
62
- custom comment character other than the default "#" to be used in
63
- the commit log editor. This can be set to `auto` to attempt to
64
- choose a different character that does not conflict with what
65
- already starts a line in the message being edited for cases like
62
+ custom comment character ( other than the default "#") for
63
+ the commit message editor. This can be set to `auto` to attempt to
64
+ choose a different character that does not conflict with any that
65
+ already starts a line in the message being edited, for cases like
66
66
"git commit --amend".
67
67
68
- * "git format-patch" learned --signature-file=<file> to take the mail
69
- signature from .
68
+ * "git format-patch" learned --signature-file=<file> to add the contents
69
+ of a file as a signature to the mail message it produces .
70
70
71
- * "git grep" learned grep.fullname configuration variable to force
72
- "--full-name" to be default. This may cause regressions on
73
- scripted users that do not expect this new behaviour.
71
+ * "git grep" learned the grep.fullname configuration variable to force
72
+ "--full-name" to be the default. This may cause regressions for
73
+ scripted users who do not expect this new behaviour.
74
74
75
75
* "git imap-send" learned to ask the credential helper for auth
76
76
material.
77
77
78
- * "git log" and friends now understand the value "auto" set to the
78
+ * "git log" and friends now understand the value "auto" for the
79
79
"log.decorate" configuration variable to enable the "--decorate"
80
80
option automatically when the output is sent to tty.
81
81
82
- * "git merge" without argument, even when there is an upstream
82
+ * "git merge" without an argument, even when there is an upstream
83
83
defined for the current branch, refused to run until
84
84
merge.defaultToUpstream is set to true. Flip the default of that
85
85
configuration variable to true.
86
86
87
87
* "git mergetool" learned to drive the vimdiff3 backend.
88
88
89
89
* mergetool.prompt used to default to 'true', always asking "do you
90
- really want to run the tool on this path?". Among the two
91
- purposes this prompt serves, ignore the use case to confirm that
92
- the user wants to view particular path with the named tool, and
93
- redefine the meaning of the prompt only to confirm the choice of
94
- the tool made by the autodetection (for those who configured the
95
- tool explicitly, the prompt shown for the latter purpose is
96
- simply annoying).
97
-
98
- Strictly speaking, this is a backward incompatible change and the
90
+ really want to run the tool on this path?". The default has been
91
+ changed to 'false'. However, the prompt will still appear if
92
+ mergetool used its autodetection system to guess which tool to use.
93
+ Users who explicitly specify or configure a tool will no longer see
94
+ the prompt by default.
95
+
96
+ Strictly speaking, this is a backward incompatible change and
99
97
users need to explicitly set the variable to 'true' if they want
100
- to resurrect the now-ignored use case .
98
+ to be prompted to confirm running the tool on each path .
101
99
102
100
* "git replace" learned the "--edit" subcommand to create a
103
101
replacement by editing an existing object.
104
102
105
- * "git replace" learned a "--graft" option to rewrite parents of a
103
+ * "git replace" learned a "--graft" option to rewrite the parents of a
106
104
commit.
107
105
108
106
* "git send-email" learned "--to-cover" and "--cc-cover" options, to
@@ -117,10 +115,10 @@ UI, Workflows & Features
117
115
being edited as a comment in the editor.
118
116
119
117
* "git tag" learned to pay attention to "tag.sort" configuration, to
120
- be used as the default sort order when no --sort=<value> the option
118
+ be used as the default sort order when no --sort=<value> option
121
119
is given.
122
120
123
- * "git verify-commit" command to check GPG signature in signed
121
+ * A new "git verify-commit" command, to check GPG signatures in signed
124
122
commits, in a way similar to "git verify-tag" is used to check
125
123
signed tags, was added.
126
124
@@ -129,8 +127,8 @@ Performance, Internal Implementation, etc.
129
127
130
128
* Build procedure for 'subtree' (in contrib/) has been cleaned up.
131
129
132
- * The support for the profile-feedback build, which has been left
133
- bit-rotten for quite a while, has been updated.
130
+ * Support for the profile-feedback build, which has
131
+ bit-rotted for quite a while, has been updated.
134
132
135
133
* An experimental format to use two files (the base file and
136
134
incremental changes relative to it) to represent the index has been
@@ -145,20 +143,14 @@ Performance, Internal Implementation, etc.
145
143
* Eradication of "test $condition -a $condition" from our scripts
146
144
continues.
147
145
148
- * The leaf function to check validity of a refname format has been
149
- micro-optimized, using SSE2 instructions when available. A few
150
- breakages during its development have been caught and fixed already
151
- but there might remain some more still; please test and report if
152
- you find any.
153
-
154
146
* The `core.deltabasecachelimit` used to default to 16 MiB , but this
155
147
proved to be too small, and has been bumped to 96 MiB.
156
148
157
149
* "git blame" has been optimized greatly by reorganising the data
158
150
structure that is used to keep track of the work to be done.
159
151
160
152
* "git diff" that compares 3-or-more trees (e.g. parents and the
161
- result of a merge) have been optimized.
153
+ result of a merge) has been optimized.
162
154
163
155
* The API to update/delete references are being converted to handle
164
156
updates to multiple references in a transactional way. As an
@@ -194,8 +186,8 @@ notes for details).
194
186
to a tty.
195
187
(merge 38de156 mn/sideband-no-ansi later to maint).
196
188
197
- * Mishandling of patterns in .gitignore that has trailing SPs quoted
198
- with backslashes (e.g. ones that end with "\ ") have been
189
+ * Mishandling of patterns in .gitignore that have trailing SPs quoted
190
+ with backslashes (e.g. ones that end with "\ ") has been
199
191
corrected.
200
192
(merge 97c1364be6b pb/trim-trailing-spaces later to maint).
201
193
@@ -232,7 +224,7 @@ notes for details).
232
224
and to allow the caller find the length of the object.
233
225
(merge 218aa3a jk/commit-buffer-length later to maint).
234
226
235
- * The "mailmap.file" configuration option did not support the tilde
227
+ * The "mailmap.file" configuration option did not support tilde
236
228
expansion (i.e. ~user/path and ~/path).
237
229
(merge 9352fd5 ow/config-mailmap-pathname later to maint).
238
230
@@ -244,20 +236,20 @@ notes for details).
244
236
* The unix-domain socket used by the sample credential cache daemon
245
237
tried to unlink an existing stale one at a wrong path, if the path
246
238
to the socket was given as an overlong path that does not fit in
247
- sun_path member of the sockaddr_un structure.
239
+ the sun_path member of the sockaddr_un structure.
248
240
(merge 2869b3e rs/fix-unlink-unix-socket later to maint).
249
241
250
242
* An ancient rewrite passed a wrong pointer to a curl library
251
243
function in a rarely used code path.
252
244
(merge 479eaa8 ah/fix-http-push later to maint).
253
245
254
246
* "--ignore-space-change" option of "git apply" ignored the spaces
255
- at the beginning of line too aggressively, which is inconsistent
256
- with the option of the same name "diff" and "git diff" have.
247
+ at the beginning of lines too aggressively, which is inconsistent
248
+ with the option of the same name that "diff" and "git diff" have.
257
249
(merge 14d3bb4 jc/apply-ignore-whitespace later to maint).
258
250
259
- * "git blame" miscounted number of columns needed to show localized
260
- timestamps, resulting in jaggy left-side-edge of the source code
251
+ * "git blame" miscounted the number of columns needed to show localized
252
+ timestamps, resulting in a jaggy left-side-edge for the source code
261
253
lines in its output.
262
254
(merge dd75553 jx/blame-align-relative-time later to maint).
263
255
@@ -271,17 +263,17 @@ notes for details).
271
263
because it incorrectly used strstr().
272
264
(merge 60a5f5f jc/fix-clone-single-starting-at-a-tag later to maint).
273
265
274
- * "git commit --allow-empty-messag -C $commit" did not work when the
266
+ * "git commit --allow-empty-message -C $commit" did not work when the
275
267
commit did not have any log message.
276
268
(merge 076cbd6 jk/commit-C-pick-empty later to maint).
277
269
278
270
* "git diff --find-copies-harder" sometimes pretended as if the mode
279
- bits have changed for paths that are marked with assume-unchanged
271
+ bits have changed for paths that are marked with the assume-unchanged
280
272
bit.
281
273
(merge 5304810 jk/diff-files-assume-unchanged later to maint).
282
274
283
275
* "filter-branch" left an empty single-parent commit that results when
284
- all parents of a merge commit gets mapped to the same commit, even
276
+ all parents of a merge commit get mapped to the same commit, even
285
277
under "--prune-empty".
286
278
(merge 79bc4ef cb/filter-branch-prune-empty-degenerate-merges later to maint).
287
279
@@ -314,10 +306,10 @@ notes for details).
314
306
mergetag that was and was not correctly validated.
315
307
(merge 42c55ce mg/fix-log-mergetag-color later to maint).
316
308
317
- * "log --show-signature" did not pay attention to "--graph" option.
309
+ * "log --show-signature" did not pay attention to the "--graph" option.
318
310
(merge cf3983d zk/log-graph-showsig later to maint).
319
311
320
- * "git mailinfo" used to read beyond the end of header string while
312
+ * "git mailinfo" used to read beyond the ends of header strings while
321
313
parsing an incoming e-mail message to extract the patch.
322
314
(merge b1a013d rs/mailinfo-header-cmp later to maint).
323
315
@@ -337,7 +329,7 @@ notes for details).
337
329
(merge fb79947 rs/pack-objects-no-unnecessary-realloc later to maint).
338
330
339
331
* Recent updates to "git repack" started to duplicate objects that
340
- are in packfiles marked with .keep flag into the new packfile by
332
+ are in packfiles marked with the .keep flag into the new packfile by
341
333
mistake.
342
334
(merge d078d85 jk/repack-pack-keep-objects later to maint).
343
335
@@ -375,14 +367,14 @@ notes for details).
375
367
* "git status", even though it is a read-only operation, tries to
376
368
update the index with refreshed lstat(2) info to optimize future
377
369
accesses to the working tree opportunistically, but this could
378
- race with a "read-write" operation that modify the index while it
370
+ race with a "read-write" operation that modifies the index while it
379
371
is running. Detect such a race and avoid overwriting the index.
380
372
(merge 426ddee ym/fix-opportunistic-index-update-race later to maint).
381
373
382
374
* "git status" (and "git commit") behaved as if changes in a modified
383
375
submodule are not there if submodule.*.ignore configuration is set,
384
376
which was misleading. The configuration is only to unclutter diff
385
- output during the course of development, and should not to hide
377
+ output during the course of development, and not to hide
386
378
changes in the "status" output to cause the users forget to commit
387
379
them.
388
380
(merge c215d3d jl/status-added-submodule-is-never-ignored later to maint).
0 commit comments