@@ -18,6 +18,10 @@ Backward compatibility notes.
18
18
might still be cases that need to be addressed--bug reports are
19
19
greatly appreciated.
20
20
21
+ * The experiment to improve the hunk-boundary selection of textual
22
+ diff output has finished, and the "indent heuristics" has now
23
+ become the default.
24
+
21
25
22
26
Updates since v2.13
23
27
-------------------
@@ -46,7 +50,7 @@ UI, Workflows & Features
46
50
47
51
* "git send-email" learned to run sendemail-validate hook to inspect
48
52
and reject a message before sending it out.
49
- (merge 6489660b4b jt/send-email-validate-hook later to maint).
53
+ (merge 177409e589 jt/send-email-validate-hook later to maint).
50
54
51
55
* There is no good reason why "git fetch $there $sha1" should fail
52
56
when the $sha1 names an object at the tip of an advertised ref,
@@ -60,6 +64,9 @@ UI, Workflows & Features
60
64
current repository to determine if the contents from the named path
61
65
should be included.
62
66
67
+ * Make the "indent" heuristics the default in "diff" and diff.indentHeuristics
68
+ configuration variable an escape hatch for those who do no want it.
69
+
63
70
64
71
Performance, Internal Implementation, Development Support etc.
65
72
@@ -76,7 +83,6 @@ Performance, Internal Implementation, Development Support etc.
76
83
77
84
* Travis CI gained a task to format the documentation with both
78
85
AsciiDoc and AsciiDoctor.
79
- (merge 505ad91304 ls/travis-doc-asciidoctor later to maint).
80
86
81
87
* Some platforms have ulong that is smaller than time_t, and our
82
88
historical use of ulong for timestamp would mean they cannot
@@ -116,7 +122,12 @@ Performance, Internal Implementation, Development Support etc.
116
122
* Update the C style recommendation for notes for translators, as
117
123
recent versions of gettext tools can work with our style of
118
124
multi-line comments.
119
- (merge 66f5f6dca9 ab/c-translators-comment-style later to maint).
125
+
126
+ * The implementation of "ref" API around the "packed refs" have been
127
+ cleaned up, in preparation for further changes.
128
+
129
+ * The internal logic used in "git blame" has been libified to make it
130
+ easier to use by cgit.
120
131
121
132
122
133
Also contains various documentation updates and code clean-ups.
@@ -136,40 +147,32 @@ notes for details).
136
147
mishandled a trailer block whose last line is an incomplete line.
137
148
This has been fixed so that an additional sign-off etc. are added
138
149
after completing the existing incomplete line.
139
- (merge 44dc738a39 jt/use-trailer-api-in-commands later to maint).
140
150
141
151
* The codepath in "git am" that is used when running "git rebase"
142
152
leaked memory held for the log message of the commits being rebased.
143
- (merge 721f5f1e35 jk/am-leakfix later to maint).
144
153
145
154
* "git clone --config var=val" is a way to populate the
146
155
per-repository configuration file of the new repository, but it did
147
156
not work well when val is an empty string. This has been fixed.
148
- (merge db4eca1fea jn/clone-add-empty-config-from-command-line later to maint).
149
157
150
158
* Setting "log.decorate=false" in the configuration file did not take
151
159
effect in v2.13, which has been corrected.
152
- (merge c74271aae7 ah/log-decorate-default-to-auto later to maint).
153
160
154
161
* A few codepaths in "checkout" and "am" working on an unborn branch
155
162
tried to access an uninitialized piece of memory.
156
- (merge 57e0ef0e0e rs/checkout-am-fix-unborn later to maint).
157
163
158
164
* The Web interface to gmane news archive is long gone, even though
159
165
the articles are still accessible via NTTP. Replace the links with
160
166
ones to public-inbox.org. Because their message identification is
161
167
based on the actual message-id, it is likely that it will be easier
162
168
to migrate away from it if/when necessary.
163
- (merge 5840eb9d14 ab/doc-replace-gmane-links later to maint).
164
169
165
170
* The receive-pack program now makes sure that the push certificate
166
171
records the same set of push options used for pushing.
167
- (merge cbaf82cc6b jt/push-options-doc later to maint).
168
172
169
173
* Tests have been updated to pass under GETTEXT_POISON (a mechanism
170
174
to ensure that output strings that should not be translated are
171
175
not translated by mistake), and TravisCI is told to run them.
172
- (merge b8e188f6f5 ab/fix-poison-tests later to maint).
173
176
174
177
* "git checkout --recurse-submodules" did not quite work with a
175
178
submodule that itself has submodules.
@@ -185,71 +188,58 @@ notes for details).
185
188
in the output, without inspecting individual objects. This
186
189
strategy however would not work well when "--local" and other
187
190
options are in use, and need to be disabled.
188
- (merge da5a1f8100 jk/disable-pack-reuse-when-broken later to maint).
189
191
190
192
* Fix memory leaks pointed out by Coverity (and people).
191
- (merge 443a12f37b js/plug-leaks later to maint).
192
193
193
194
* "git read-tree -m" (no tree-ish) gave a nonsense suggestion "use
194
195
--empty if you want to clear the index". With "-m", such a request
195
196
will still fail anyway, as you'd need to name at least one tree-ish
196
197
to be merged.
197
- (merge b9b10d3681 jc/read-tree-empty-with-m later to maint).
198
198
199
199
* Make sure our tests would pass when the sources are checked out
200
200
with "platform native" line ending convention by default on
201
201
Windows. Some "text" files out tests use and the test scripts
202
202
themselves that are meant to be run with /bin/sh, ought to be
203
203
checked out with eol=LF even on Windows.
204
- (merge 2779f66505 js/eol-on-ourselves later to maint).
205
204
206
205
* Introduce the BUG() macro to improve die("BUG: ...").
207
206
(merge 3d7dd2d3b6 jk/bug-to-abort later to maint).
208
207
209
208
* Clarify documentation for include.path and includeIf.<condition>.path
210
209
configuration variables.
211
- (merge ce933ebd5a jk/doc-config-include later to maint).
212
210
213
211
* Git sometimes gives an advice in a rhetorical question that does
214
212
not require an answer, which can confuse new users and non native
215
213
speakers. Attempt to rephrase them.
216
- (merge 6963893943 ja/do-not-ask-needless-questions later to maint).
217
214
218
215
* A few http:// links that are redirected to https:// in the
219
216
documentation have been updated to https:// links.
220
- (merge 5e68729fd9 jk/update-links-in-docs later to maint).
221
217
222
218
* "git for-each-ref --format=..." with %(HEAD) in the format used to
223
219
resolve the HEAD symref as many times as it had processed refs,
224
220
which was wasteful, and "git branch" shared the same problem.
225
- (merge 613a0e52ea kn/ref-filter-branch-list later to maint).
226
221
227
222
* Regression fix to topic recently merged to 'master'.
228
- (merge d096d7f1ef pw/rebase-i-regression-fix later to maint).
229
223
230
224
* The shell completion script (in contrib/) learned "git stash" has
231
225
a new "push" subcommand.
232
- (merge 3851e4483f tg/stash-push-fixup later to maint).
233
226
234
227
* "git interpret-trailers", when used as GIT_EDITOR for "git commit
235
228
-v", looked for and appended to a trailer block at the very end,
236
229
i.e. at the end of the "diff" output. The command has been
237
230
corrected to pay attention to the cut-mark line "commit -v" adds to
238
231
the buffer---the real trailer block should appear just before it.
239
- (merge d76650b8d1 bm/interpret-trailers-cut-line-is-eom later to maint).
240
232
241
233
* A test allowed both "git push" and "git receive-pack" on the other
242
234
end write their traces into the same file. This is OK on platforms
243
235
that allows atomically appending to a file opened with O_APPEND,
244
236
but on other platforms led to a mangled output, causing
245
237
intermittent test failures. This has been fixed by disabling
246
238
traces from "receive-pack" in the test.
247
- (merge 71406ed4d6 jk/alternate-ref-optim later to maint).
248
239
249
240
* Tag objects, which are not reachable from any ref, that point at
250
241
missing objects were mishandled by "git gc" and friends (they
251
242
should silently be ignored instead)
252
- (merge a3ba6bf10a jk/ignore-broken-tags-when-ignoring-missing-links later to maint).
253
243
254
244
* "git describe --contains" penalized light-weight tags so much that
255
245
they were almost never considered. Instead, give them about the
@@ -269,12 +259,11 @@ notes for details).
269
259
270
260
* "git send-email" now uses Net::SMTP::SSL, which is obsolete, only
271
261
when needed. Recent versions of Net::SMTP can do TLS natively.
272
- (merge 0ead000c3a dk/send-email-avoid-net-smtp-ssl-when-able later to maint).
262
+ (merge bfbfc9a953 dk/send-email-avoid-net-smtp-ssl-when-able later to maint).
273
263
274
264
* "foo\bar\baz" in "git fetch foo\bar\baz", even though there is no
275
265
slashes in it, cannot be a nickname for a remote on Windows, as
276
266
that is likely to be a pathname on a local filesystem.
277
- (merge d9244ecf4f js/bs-is-a-dir-sep-on-windows later to maint).
278
267
279
268
* "git clean -d" used to clean directories that has ignored files,
280
269
even though the command should not lose ignored ones without "-x".
@@ -292,30 +281,26 @@ notes for details).
292
281
was quite broken on some big-endian platforms and/or platforms that
293
282
do not like unaligned fetches. Update to the upstream code which
294
283
has already fixed these issues.
295
- (merge a0103914c2 ab/sha1dc-maint later to maint).
296
284
297
285
* "git am -h" triggered a BUG().
298
- (merge f3a2fffe06 jk/unbreak-am-h later to maint).
299
286
300
287
* The interaction of "url.*.insteadOf" and custom URL scheme's
301
288
whitelisting is now documented better.
302
- (merge 2c9a2ae285 jk/url-insteadof-config later to maint).
289
+
290
+ * The timestamp of the index file is now taken after the file is
291
+ closed, to help Windows, on which a stale timestamp is reported by
292
+ fstat() on a file that is opened for writing and data was written
293
+ but not yet closed.
294
+ (merge 9f41c7a6b3 jh/close-index-before-stat later to maint).
295
+
296
+ * "git pull --rebase --autostash" didn't auto-stash when the local history
297
+ fast-forwards to the upstream.
298
+ (merge f15e7cf5cc tb/pull-ff-rebase-autostash later to maint).
303
299
304
300
* Other minor doc, test and build updates and code cleanups.
305
- (merge 515360f9e9 jn/credential-doc-on-clear later to maint).
306
- (merge 0e6d899fee ab/aix-needs-compat-regex later to maint).
307
- (merge e294e8959f jc/apply-fix-mismerge later to maint).
308
- (merge 7f1b225153 bw/submodule-with-bs-path later to maint).
309
- (merge c8f7c8b704 tb/dedup-crlf-tests later to maint).
310
- (merge 449456ad47 sg/core-filemode-doc-typofix later to maint).
311
- (merge ba4dce784e km/log-showsignature-doc later to maint).
312
301
(merge c5a9157393 jh/memihash-opt later to maint).
313
- (merge 80f4cd8046 ab/ref-filter-no-contains later to maint).
314
- (merge b275da816c ah/doc-interpret-trailers-ifexists later to maint).
315
- (merge fc7a5edb55 ah/doc-pretty-format-fix later to maint).
316
- (merge 7e95fcb4b5 sb/t5531-update-desc later to maint).
317
- (merge b8f354f294 sd/t3200-typofix later to maint).
318
- (merge ba746ff9c9 ah/doc-filter-branch-export-env later to maint).
319
302
(merge 44e2ff09ce ab/t3070-test-dedup later to maint).
320
303
(merge 9ee4aa95db rf/completion-config-commit later to maint).
321
- (merge fb87327aee ah/doc-rev-parse-short-default later to maint).
304
+ (merge ef4fe5617e jk/connect-symref-info-leak-fix later to maint).
305
+ (merge a56eea28c4 jk/drop-free-refspecs later to maint).
306
+ (merge 0c79cee697 ad/pull-remote-doc later to maint).
0 commit comments