1
1
Git 2.9 Release Notes
2
2
=====================
3
3
4
- Backward compatibility note
5
- ---------------------------
4
+ Backward compatibility notes
5
+ ----------------------------
6
6
7
7
The end-user facing Porcelain level commands in the "git diff" and
8
- "git log" by default enables the rename detection; you can still use
9
- "diff.renames" configuration variable to disable this.
8
+ "git log" family by default enable the rename detection; you can still
9
+ use "diff.renames" configuration variable to disable this.
10
10
11
11
Merging two branches that have no common ancestor with "git merge" is
12
12
by default forbidden now to prevent creating such an unusual merge by
@@ -30,16 +30,16 @@ UI, Workflows & Features
30
30
31
31
* Comes with git-multimail 1.3.1 (in contrib/).
32
32
33
- * The end-user facing Porcelain level commands like "diff" and "log"
34
- now enables the rename detection by default.
33
+ * The end-user facing commands like "git diff" and "git log"
34
+ now enable the rename detection by default.
35
35
36
36
* The credential.helper configuration variable is cumulative and
37
37
there is no good way to override it from the command line. As
38
38
a special case, giving an empty string as its value now serves
39
39
as the signal to clear the values specified in various files.
40
40
41
41
* A new "interactive.diffFilter" configuration can be used to
42
- customize the diff shown in "git add -i" session .
42
+ customize the diff shown in "git add -i" sessions .
43
43
44
44
* "git p4" now allows P4 author names to be mapped to Git author
45
45
names.
@@ -64,7 +64,7 @@ UI, Workflows & Features
64
64
to be used in a rare event that merges histories of two projects
65
65
that started their lives independently.
66
66
67
- * "git pull" has been taught to pass --allow-unrelated-histories
67
+ * "git pull" has been taught to pass the " --allow-unrelated-histories"
68
68
option to underlying "git merge".
69
69
70
70
* "git apply -v" learned to report paths in the patch that were
@@ -87,7 +87,7 @@ UI, Workflows & Features
87
87
88
88
* When "git log" shows the log message indented by 4-spaces, the
89
89
remainder of a line after a HT does not align in the way the author
90
- originally intended. The command now expands tabs by default in
90
+ originally intended. The command now expands tabs by default to help
91
91
such a case, and allows the users to override it with a new option,
92
92
"--no-expand-tabs".
93
93
@@ -97,13 +97,12 @@ UI, Workflows & Features
97
97
* "git rerere" can encounter two or more files with the same conflict
98
98
signature that have to be resolved in different ways, but there was
99
99
no way to record these separate resolutions.
100
- (merge d9d501b068 jc/rerere-multi later to maint).
101
100
102
101
* "git p4" learned to record P4 jobs in Git commit that imports from
103
102
the history in Perforce.
104
103
105
104
* "git describe --contains" often made a hard-to-justify choice of
106
- tag to give name to a given commit, because it tried to come up
105
+ tag to name a given commit, because it tried to come up
107
106
with a name with smallest number of hops from a tag, causing an old
108
107
commit whose close descendant that is recently tagged were not
109
108
described with respect to an old tag but with a newer tag. It did
@@ -115,14 +114,14 @@ UI, Workflows & Features
115
114
commit."
116
115
(merge 7550424 js/name-rev-use-oldest-ref later to maint).
117
116
118
- * "git clone" learned "--shallow-submodules" option.
117
+ * "git clone" learned the "--shallow-submodules" option.
119
118
120
119
* HTTP transport clients learned to throw extra HTTP headers at the
121
120
server, specified via http.extraHeader configuration variable.
122
121
123
122
* Patch output from "git diff" and friends has been tweaked to be
124
123
more readable by using a blank line as a strong hint that the
125
- contents before and after it belong to a logically separate unit .
124
+ contents before and after it belong to logically separate units .
126
125
127
126
* A new configuration variable core.hooksPath allows customizing
128
127
where the hook directory is.
@@ -147,12 +146,13 @@ UI, Workflows & Features
147
146
(public, well-known) commit the original series was built on in
148
147
its output.
149
148
150
- * "git commit" learned to pay attention to "commit.verbose"
151
- configuration variable and act as if "--verbose" option was
152
- given from the command line.
149
+ * "git commit" learned to pay attention to the "commit.verbose"
150
+ configuration variable and act as if the "--verbose" option
151
+ was given from the command line.
153
152
154
- * Give hints to GMail users with two-factor auth enabled that
155
- they need app-specific-password when using send-email.
153
+ * Updated documentation gives hints to GMail users with two-factor
154
+ auth enabled that they need app-specific-password when using
155
+ "git send-email".
156
156
157
157
158
158
Performance, Internal Implementation, Development Support etc.
@@ -174,7 +174,8 @@ Performance, Internal Implementation, Development Support etc.
174
174
175
175
* A major part of "git submodule update" has been ported to C to take
176
176
advantage of the recently added framework to run download tasks in
177
- parallel.
177
+ parallel. Other updates to "git submodule" that move pieces of
178
+ logic to C continues.
178
179
179
180
* Rename bunch of tests on "git clone" for better organization.
180
181
@@ -188,16 +189,15 @@ Performance, Internal Implementation, Development Support etc.
188
189
do not attempt to look into refs/* when we know we do not have a
189
190
Git repository.
190
191
191
- * Code restructuring around the "refs" area to prepare for pluggable
192
+ * Code restructuring around the "refs" API to prepare for pluggable
192
193
refs backends.
193
194
194
- * Sources to many test helper binaries ( and the generated helpers)
195
+ * Sources to many test helper binaries and the generated helpers
195
196
have been moved to t/helper/ subdirectory to reduce clutter at the
196
197
top level of the tree.
197
198
198
199
* Unify internal logic between "git tag -v" and "git verify-tag"
199
200
commands by making one directly call into the other.
200
- (merge bef234b st/verify-tag later to maint).
201
201
202
202
* "merge-recursive" strategy incorrectly checked if a path that is
203
203
involved in its internal merge exists in the working tree.
@@ -209,9 +209,7 @@ Performance, Internal Implementation, Development Support etc.
209
209
* As nobody maintains our in-tree git.spec.in and distros use their
210
210
own spec file, we stopped pretending that we support "make rpm".
211
211
212
- * Move from unsigned char[20] to struct object_id continues.
213
-
214
- * Update of "git submodule" to move pieces of logic to C continues.
212
+ * Move from "unsigned char[20]" to "struct object_id" continues.
215
213
216
214
* The code for warning_errno/die_errno has been refactored and a new
217
215
error_errno() reporting helper is introduced.
@@ -230,18 +228,25 @@ Performance, Internal Implementation, Development Support etc.
230
228
test-parse-options program so that a caller can tell what it
231
229
expects in its output, so that these repetitions can be cleaned up.
232
230
233
- * Add perf test for "rebase -i"
231
+ * Add perf test for "rebase -i".
234
232
235
233
* Common mistakes when writing gitlink: in our documentation are
236
234
found by "make check-docs".
237
235
238
236
* t9xxx series has been updated primarily for readability, while
239
- fixing small bugs in it. A few scripted Porcelains have also been
240
- updated to fix possible bugs around their use of "test -z" and
241
- "test -n".
237
+ fixing small bugs in it. A few scripted Porcelain commands have
238
+ also been updated to fix possible bugs around their use of
239
+ "test -z" and "test - n".
242
240
243
241
* CI test was taught to run git-svn tests.
244
242
243
+ * "git cat-file --batch-all" has been sped up, by taking advantage
244
+ of the fact that it does not have to read a list of objects, in two
245
+ ways.
246
+
247
+ * test updates to make it more readable and maintainable.
248
+ (merge e6273f4 es/t1500-modernize later to maint).
249
+
245
250
246
251
Also contains various documentation updates and code clean-ups.
247
252
@@ -329,11 +334,11 @@ notes for details).
329
334
* Support for CRAM-MD5 authentication method in "git imap-send" did
330
335
not work well.
331
336
332
- * Upcoming OpenSSL 1.1.0 will break compilation b updating a few APIs
333
- we use in imap-send, which has been adjusted for the change.
337
+ * Upcoming OpenSSL 1.1.0 will break compilation by updating a few API
338
+ elements we use in imap-send, which has been adjusted for the change.
334
339
335
340
* The socks5:// proxy support added back in 2.6.4 days was not aware
336
- that socks5h:// proxies behave differently.
341
+ that socks5h:// proxies behave differently from socks5:// proxies .
337
342
338
343
* "git config" had a codepath that tried to pass a NULL to
339
344
printf("%s"), which nobody seems to have noticed.
@@ -354,12 +359,12 @@ notes for details).
354
359
* When "git merge" notices that the merge can be resolved purely at
355
360
the tree level (without having to merge blobs) and the resulting
356
361
tree happens to already exist in the object store, it forgot to
357
- update the index, which lead to an inconsistent state for later
358
- operations.
362
+ update the index, which left an inconsistent state that would
363
+ break later operations.
359
364
360
365
* "git submodule" reports the paths of submodules the command
361
- recurses into, but this was incorrect when the command was not run
362
- from the root level of the superproject.
366
+ recurses into, but these paths were incorrectly reported when
367
+ the command was not run from the root level of the superproject.
363
368
364
369
* The "user.useConfigOnly" configuration variable makes it an error
365
370
if users do not explicitly set user.name and user.email. However,
@@ -391,7 +396,6 @@ notes for details).
391
396
* "git rebase -m" could be asked to rebase an entire branch starting
392
397
from the root, but failed by assuming that there always is a parent
393
398
commit to the first commit on the branch.
394
- (merge 79f4344 bw/rebase-merge-entire-branch later to maint).
395
399
396
400
* Fix a broken "p4 lfs" test.
397
401
@@ -417,7 +421,6 @@ notes for details).
417
421
the configuration variable. This will stop requiring the users to
418
422
sign commit objects used internally as an implementation detail of
419
423
"git stash".
420
- (merge 6694856 jc/commit-tree-ignore-commit-gpgsign later to maint).
421
424
422
425
* "http.cookieFile" configuration variable clearly wants a pathname,
423
426
but we forgot to treat it as such by e.g. applying tilde expansion.
@@ -452,7 +455,7 @@ notes for details).
452
455
453
456
* Portability enhancement for "rebase -i" to help platforms whose
454
457
shell does not like "for i in <empty>" (which is not POSIX-kosher).
455
- (merge 8e98b35 jk/rebase-interative -eval-fix later to maint).
458
+ (merge 8e98b35 jk/rebase-interactive -eval-fix later to maint).
456
459
457
460
* On Windows, .git and optionally any files whose name starts with a
458
461
dot are now marked as hidden, with a core.hideDotFiles knob to
@@ -486,6 +489,12 @@ notes for details).
486
489
added the feature back in v2.1.0 timeframe.
487
490
(merge 462cbb4 rj/log-decorate-auto later to maint).
488
491
492
+ * "git fast-import --export-marks" would overwrite the existing marks
493
+ file even when it makes a dump from its custom die routine.
494
+ Prevent it from doing so when we have an import-marks file but
495
+ haven't finished reading it.
496
+ (merge f4beed6 fc/fast-import-broken-marks-file later to maint).
497
+
489
498
* Other minor clean-ups and documentation updates
490
499
(merge 832c0e5 lp/typofixes later to maint).
491
500
(merge f5ee54a sb/z-is-gnutar-ism later to maint).
0 commit comments