@@ -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
@@ -152,7 +150,7 @@ Performance, Internal Implementation, etc.
152
150
structure that is used to keep track of the work to be done.
153
151
154
152
* "git diff" that compares 3-or-more trees (e.g. parents and the
155
- result of a merge) have been optimized.
153
+ result of a merge) has been optimized.
156
154
157
155
* The API to update/delete references are being converted to handle
158
156
updates to multiple references in a transactional way. As an
@@ -188,8 +186,8 @@ notes for details).
188
186
to a tty.
189
187
(merge 38de156 mn/sideband-no-ansi later to maint).
190
188
191
- * Mishandling of patterns in .gitignore that has trailing SPs quoted
192
- 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
193
191
corrected.
194
192
(merge 97c1364be6b pb/trim-trailing-spaces later to maint).
195
193
@@ -226,7 +224,7 @@ notes for details).
226
224
and to allow the caller find the length of the object.
227
225
(merge 218aa3a jk/commit-buffer-length later to maint).
228
226
229
- * The "mailmap.file" configuration option did not support the tilde
227
+ * The "mailmap.file" configuration option did not support tilde
230
228
expansion (i.e. ~user/path and ~/path).
231
229
(merge 9352fd5 ow/config-mailmap-pathname later to maint).
232
230
@@ -238,20 +236,20 @@ notes for details).
238
236
* The unix-domain socket used by the sample credential cache daemon
239
237
tried to unlink an existing stale one at a wrong path, if the path
240
238
to the socket was given as an overlong path that does not fit in
241
- sun_path member of the sockaddr_un structure.
239
+ the sun_path member of the sockaddr_un structure.
242
240
(merge 2869b3e rs/fix-unlink-unix-socket later to maint).
243
241
244
242
* An ancient rewrite passed a wrong pointer to a curl library
245
243
function in a rarely used code path.
246
244
(merge 479eaa8 ah/fix-http-push later to maint).
247
245
248
246
* "--ignore-space-change" option of "git apply" ignored the spaces
249
- at the beginning of line too aggressively, which is inconsistent
250
- 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.
251
249
(merge 14d3bb4 jc/apply-ignore-whitespace later to maint).
252
250
253
- * "git blame" miscounted number of columns needed to show localized
254
- 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
255
253
lines in its output.
256
254
(merge dd75553 jx/blame-align-relative-time later to maint).
257
255
@@ -265,17 +263,17 @@ notes for details).
265
263
because it incorrectly used strstr().
266
264
(merge 60a5f5f jc/fix-clone-single-starting-at-a-tag later to maint).
267
265
268
- * "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
269
267
commit did not have any log message.
270
268
(merge 076cbd6 jk/commit-C-pick-empty later to maint).
271
269
272
270
* "git diff --find-copies-harder" sometimes pretended as if the mode
273
- bits have changed for paths that are marked with assume-unchanged
271
+ bits have changed for paths that are marked with the assume-unchanged
274
272
bit.
275
273
(merge 5304810 jk/diff-files-assume-unchanged later to maint).
276
274
277
275
* "filter-branch" left an empty single-parent commit that results when
278
- 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
279
277
under "--prune-empty".
280
278
(merge 79bc4ef cb/filter-branch-prune-empty-degenerate-merges later to maint).
281
279
@@ -308,10 +306,10 @@ notes for details).
308
306
mergetag that was and was not correctly validated.
309
307
(merge 42c55ce mg/fix-log-mergetag-color later to maint).
310
308
311
- * "log --show-signature" did not pay attention to "--graph" option.
309
+ * "log --show-signature" did not pay attention to the "--graph" option.
312
310
(merge cf3983d zk/log-graph-showsig later to maint).
313
311
314
- * "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
315
313
parsing an incoming e-mail message to extract the patch.
316
314
(merge b1a013d rs/mailinfo-header-cmp later to maint).
317
315
@@ -331,7 +329,7 @@ notes for details).
331
329
(merge fb79947 rs/pack-objects-no-unnecessary-realloc later to maint).
332
330
333
331
* Recent updates to "git repack" started to duplicate objects that
334
- 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
335
333
mistake.
336
334
(merge d078d85 jk/repack-pack-keep-objects later to maint).
337
335
@@ -369,14 +367,14 @@ notes for details).
369
367
* "git status", even though it is a read-only operation, tries to
370
368
update the index with refreshed lstat(2) info to optimize future
371
369
accesses to the working tree opportunistically, but this could
372
- 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
373
371
is running. Detect such a race and avoid overwriting the index.
374
372
(merge 426ddee ym/fix-opportunistic-index-update-race later to maint).
375
373
376
374
* "git status" (and "git commit") behaved as if changes in a modified
377
375
submodule are not there if submodule.*.ignore configuration is set,
378
376
which was misleading. The configuration is only to unclutter diff
379
- output during the course of development, and should not to hide
377
+ output during the course of development, and not to hide
380
378
changes in the "status" output to cause the users forget to commit
381
379
them.
382
380
(merge c215d3d jl/status-added-submodule-is-never-ignored later to maint).
0 commit comments