Skip to content

Commit 56f37fd

Browse files
committed
Eighth batch for 2.8
Signed-off-by: Junio C Hamano <[email protected]>
1 parent c3b1e8d commit 56f37fd

File tree

1 file changed

+41
-36
lines changed

1 file changed

+41
-36
lines changed

Documentation/RelNotes/2.8.0.txt

Lines changed: 41 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,18 @@ UI, Workflows & Features
9898
variables, serving as a reminder for those who work on multiple
9999
projects and do not want to put these in their $HOME/.gitconfig.
100100

101+
* "git fetch" and friends that make network connections can now be
102+
told to only use ipv4 (or ipv6).
103+
104+
* Some authentication methods do not need username or password, but
105+
libcurl needs some hint that it needs to perform authentication.
106+
Supplying an empty username and password string is a valid way to
107+
do so, but you can set the http.[<url>.]emptyAuth configuration
108+
variable to achieve the same, if you find it cleaner.
109+
110+
* You can now set http.[<url>.]pinnedpubkey to specify the pinned
111+
public key when building with recent enough versions of libcURL.
112+
101113

102114
Performance, Internal Implementation, Development Support etc.
103115

@@ -157,6 +169,16 @@ Performance, Internal Implementation, Development Support etc.
157169
calls to strcpy(3) in "git rerere" that are already safe has been
158170
rewritten to avoid false wanings.
159171

172+
* The "name_path" API was an attempt to reduce the need to construct
173+
the full path out of a series of path components while walking a
174+
tree hierarchy, but over time made less efficient because the path
175+
needs to be flattened, e.g. to be compared with another path that
176+
is already flat. The API has been removed and its users have been
177+
rewritten to simplify the overall code complexity.
178+
179+
* Help those who debug http(s) part of the system.
180+
(merge 0054045 sp/remote-curl-ssl-strerror later to maint).
181+
160182
Also contains various documentation updates and code clean-ups.
161183

162184

@@ -171,107 +193,83 @@ notes for details).
171193
exporting GIT_WORK_TREE to point at the root of the working tree,
172194
interfering when they tried to use a different working tree without
173195
setting GIT_WORK_TREE environment themselves.
174-
(merge df1e6ea nd/stop-setenv-work-tree later to maint).
175196

176197
* The "exclude_list" structure has the usual "alloc, nr" pair of
177198
fields to be used by ALLOC_GROW(), but clear_exclude_list() forgot
178199
to reset 'alloc' to 0 when it cleared 'nr' to discard the managed
179200
array.
180-
(merge 2653a8c nd/dir-exclude-cleanup later to maint).
181201

182202
* Paths that have been told the index about with "add -N" are not
183203
quite yet in the index, but a few commands behaved as if they
184204
already are in a harmful way.
185-
(merge 4d55200 nd/ita-cleanup later to maint).
186205

187206
* "git send-email" was confused by escaped quotes stored in the alias
188207
files saved by "mutt", which has been corrected.
189-
(merge 2c510f2 ew/send-email-mutt-alias-fix later to maint).
190208

191209
* A few unportable C construct have been spotted by clang compiler
192210
and have been fixed.
193-
(merge a0df2e5 jk/clang-pedantic later to maint).
194211

195212
* The documentation has been updated to hint the connection between
196213
the '--signoff' option and DCO.
197-
(merge b2c150d dw/signoff-doc later to maint).
198214

199215
* "git reflog" incorrectly assumed that all objects that used to be
200216
at the tip of a ref must be commits, which caused it to segfault.
201-
(merge aecad37 dk/reflog-walk-with-non-commit later to maint).
202217

203218
* The ignore mechanism saw a few regressions around untracked file
204219
listing and sparse checkout selection areas in 2.7.0; the change
205220
that is responsible for the regression has been reverted.
206-
(merge 8c72236 nd/exclusion-regression-fix later to maint).
207221

208222
* Some codepaths used fopen(3) when opening a fixed path in $GIT_DIR
209223
(e.g. COMMIT_EDITMSG) that is meant to be left after the command is
210224
done. This however did not work well if the repository is set to
211225
be shared with core.sharedRepository and the umask of the previous
212226
user is tighter. They have been made to work better by calling
213227
unlink(2) and retrying after fopen(3) fails with EPERM.
214-
(merge ea56518 js/fopen-harder later to maint).
215228

216229
* Asking gitweb for a nonexistent commit left a warning in the server
217230
log.
218231

219232
Somebody may want to follow this up with an additional test, perhaps?
220233
IIRC, we do test that no Perl warnings are given to the server log,
221234
so this should have been caught if our test coverage were good.
222-
(merge a9eb90a ho/gitweb-squelch-undef-warning later to maint).
223235

224236
* "git rebase", unlike all other callers of "gc --auto", did not
225237
ignore the exit code from "gc --auto".
226-
(merge 8c24f5b jk/ok-to-fail-gc-auto-in-rebase later to maint).
227238

228239
* Many codepaths that run "gc --auto" before exiting kept packfiles
229240
mapped and left the file descriptors to them open, which was not
230241
friendly to systems that cannot remove files that are open. They
231242
now close the packs before doing so.
232-
(merge d562102 js/close-packs-before-gc later to maint).
233243

234244
* A recent optimization to filter-branch in v2.7.0 introduced a
235245
regression when --prune-empty filter is used, which has been
236246
corrected.
237-
(merge 1dc413e jk/filter-branch-no-index later to maint).
238247

239248
* The description for SANITY prerequisite the test suite uses has
240249
been clarified both in the comment and in the implementation.
241-
(merge 719c3da jk/sanity later to maint).
242250

243251
* "git tag" started listing a tag "foo" as "tags/foo" when a branch
244252
named "foo" exists in the same repository; remove this unnecessary
245253
disambiguation, which is a regression introduced in v2.7.0.
246-
(merge 0571979 jk/list-tag-2.7-regression later to maint).
247254

248255
* The way "git svn" uses auth parameter was broken by Subversion
249256
1.9.0 and later.
250-
(merge 0b66415 ew/svn-1.9.0-auth later to maint).
251257

252258
* The "split" subcommand of "git subtree" (in contrib/) incorrectly
253259
skipped merges when it shouldn't, which was corrected.
254-
(merge 933cfeb dw/subtree-split-do-not-drop-merge later to maint).
255260

256261
* A few options of "git diff" did not work well when the command was
257262
run from a subdirectory.
258-
(merge a97262c nd/diff-with-path-params later to maint).
259263

260264
* The command line completion learned a handful of additional options
261265
and command specific syntax.
262-
(merge fa4b5e3 jk/completion-rebase later to maint).
263-
(merge f7c2e1a pw/completion-show-branch later to maint).
264-
(merge d7d4ca8 pw/completion-stash later to maint).
265-
(merge e6414b4 tb/complete-word-diff-regex later to maint).
266266

267267
* dirname() emulation has been added, as Msys2 lacks it.
268-
(merge e7d5ce8 js/dirname-basename later to maint).
269268

270269
* The underlying machinery used by "ls-files -o" and other commands
271270
have been taught not to create empty submodule ref cache for a
272271
directory that is not a submodule. This removes a ton of wasted
273272
CPU cycles.
274-
(merge a2d5156 jk/ref-cache-non-repository-optim later to maint).
275273

276274
* "git worktree" had a broken code that attempted to auto-fix
277275
possible inconsistency that results from end-users moving a
@@ -280,39 +278,46 @@ notes for details).
280278
"mv" run by end-users who are not familiar with that fact will
281279
obviously not adjust them), which actually made things worse
282280
when triggered.
283-
(merge 618244e nd/do-not-move-worktree-manually later to maint).
284281

285282
* The low-level merge machinery has been taught to use CRLF line
286283
termination when inserting conflict markers to merged contents that
287284
are themselves CRLF line-terminated.
288-
(merge 15980de js/xmerge-marker-eol later to maint).
289285

290286
* "git push --force-with-lease" has been taught to report if the push
291287
needed to force (or fast-forwarded).
292-
(merge b2e93f8 aw/push-force-with-lease-reporting later to maint).
293288

294289
* The emulated "yes" command used in our test scripts has been
295290
tweaked not to spend too much time generating unnecessary output
296291
that is not used, to help those who test on Windows where it would
297292
not stop until it fills the pipe buffer due to lack of SIGPIPE.
298-
(merge 6129c93 js/test-lib-windows-emulated-yes later to maint).
299293

300294
* The documentation for "git clean" has been corrected; it mentioned
301295
that .git/modules/* are removed by giving two "-f", which has never
302296
been the case.
303-
(merge 31e3c2d mm/clean-doc-fix later to maint).
304297

305298
* The vimdiff backend for "git mergetool" has been tweaked to arrange
306299
and number buffers in the order that would match the expectation of
307300
majority of people who read left to right, then top down and assign
308301
buffers 1 2 3 4 "mentally" to local base remote merge windows based
309302
on that order.
310-
(merge 2300328 dw/mergetool-vim-window-shuffle later to maint).
303+
304+
* "git show 'HEAD:Foo[BAR]Baz'" did not interpret the argument as a
305+
rev, i.e. the object named by the the pathname with wildcard
306+
characters in a tree object.
307+
(merge aac4fac nd/dwim-wildcards-as-pathspecs later to maint).
308+
309+
* "git rev-parse --git-common-dir" used in the worktree feature
310+
misbehaved when run from a subdirectory.
311+
(merge 17f1365 nd/git-common-dir-fix later to maint).
312+
313+
* Another try to add support to the ignore mechanism that lets you
314+
say "this is excluded" and then later say "oh, no, this part (that
315+
is a subset of the previous part) is not excluded".
316+
317+
* "git worktree add -B <branchname>" did not work.
318+
319+
* The "v(iew)" subcommand of the interactive "git am -i" command was
320+
broken in 2.6.0 timeframe when the command was rewritten in C.
321+
(merge 708b8cc jc/am-i-v-fix later to maint).
311322

312323
* Other minor clean-ups and documentation updates
313-
(merge 99487cf ss/user-manual later to maint).
314-
(merge e914ef0 ew/for-each-ref-doc later to maint).
315-
(merge 36fc7d8 sg/t6050-failing-editor-test-fix later to maint).
316-
(merge 60253a6 ss/clone-depth-single-doc later to maint).
317-
(merge bd02e97 lv/add-doc-working-tree later to maint).
318-
(merge f562d7d ah/stripspace-optstring later to maint).

0 commit comments

Comments
 (0)