Eighth batch for 2.8

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Feb 24, 2016 at 13:31 UTC 56f37fda511e1615dc6df86c68f3b841711a7828
1 file changed +41 -36
Documentation/RelNotes/2.8.0.txt
+41 -36
@@ -98,6 +98,18 @@ UI, Workflows & Features
98 variables, serving as a reminder for those who work on multiple
99 projects and do not want to put these in their $HOME/.gitconfig.
100
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 +
113
114 Performance, Internal Implementation, Development Support etc.
115
@@ -157,6 +169,16 @@ Performance, Internal Implementation, Development Support etc.
169 calls to strcpy(3) in "git rerere" that are already safe has been
170 rewritten to avoid false wanings.
171
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 +
182 Also contains various documentation updates and code clean-ups.
183
184
@@ -171,39 +193,31 @@ notes for details).
193 exporting GIT_WORK_TREE to point at the root of the working tree,
194 interfering when they tried to use a different working tree without
195 setting GIT_WORK_TREE environment themselves.
174 - (merge df1e6ea nd/stop-setenv-work-tree later to maint).
196
197 * The "exclude_list" structure has the usual "alloc, nr" pair of
198 fields to be used by ALLOC_GROW(), but clear_exclude_list() forgot
199 to reset 'alloc' to 0 when it cleared 'nr' to discard the managed
200 array.
180 - (merge 2653a8c nd/dir-exclude-cleanup later to maint).
201
202 * Paths that have been told the index about with "add -N" are not
203 quite yet in the index, but a few commands behaved as if they
204 already are in a harmful way.
185 - (merge 4d55200 nd/ita-cleanup later to maint).
205
206 * "git send-email" was confused by escaped quotes stored in the alias
207 files saved by "mutt", which has been corrected.
189 - (merge 2c510f2 ew/send-email-mutt-alias-fix later to maint).
208
209 * A few unportable C construct have been spotted by clang compiler
210 and have been fixed.
193 - (merge a0df2e5 jk/clang-pedantic later to maint).
211
212 * The documentation has been updated to hint the connection between
213 the '--signoff' option and DCO.
197 - (merge b2c150d dw/signoff-doc later to maint).
214
215 * "git reflog" incorrectly assumed that all objects that used to be
216 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).
217
218 * The ignore mechanism saw a few regressions around untracked file
219 listing and sparse checkout selection areas in 2.7.0; the change
220 that is responsible for the regression has been reverted.
206 - (merge 8c72236 nd/exclusion-regression-fix later to maint).
221
222 * Some codepaths used fopen(3) when opening a fixed path in $GIT_DIR
223 (e.g. COMMIT_EDITMSG) that is meant to be left after the command is
@@ -211,7 +225,6 @@ notes for details).
225 be shared with core.sharedRepository and the umask of the previous
226 user is tighter. They have been made to work better by calling
227 unlink(2) and retrying after fopen(3) fails with EPERM.
214 - (merge ea56518 js/fopen-harder later to maint).
228
229 * Asking gitweb for a nonexistent commit left a warning in the server
230 log.
@@ -219,59 +232,44 @@ notes for details).
232 Somebody may want to follow this up with an additional test, perhaps?
233 IIRC, we do test that no Perl warnings are given to the server log,
234 so this should have been caught if our test coverage were good.
222 - (merge a9eb90a ho/gitweb-squelch-undef-warning later to maint).
235
236 * "git rebase", unlike all other callers of "gc --auto", did not
237 ignore the exit code from "gc --auto".
226 - (merge 8c24f5b jk/ok-to-fail-gc-auto-in-rebase later to maint).
238
239 * Many codepaths that run "gc --auto" before exiting kept packfiles
240 mapped and left the file descriptors to them open, which was not
241 friendly to systems that cannot remove files that are open. They
242 now close the packs before doing so.
232 - (merge d562102 js/close-packs-before-gc later to maint).
243
244 * A recent optimization to filter-branch in v2.7.0 introduced a
245 regression when --prune-empty filter is used, which has been
246 corrected.
237 - (merge 1dc413e jk/filter-branch-no-index later to maint).
247
248 * The description for SANITY prerequisite the test suite uses has
249 been clarified both in the comment and in the implementation.
241 - (merge 719c3da jk/sanity later to maint).
250
251 * "git tag" started listing a tag "foo" as "tags/foo" when a branch
252 named "foo" exists in the same repository; remove this unnecessary
253 disambiguation, which is a regression introduced in v2.7.0.
246 - (merge 0571979 jk/list-tag-2.7-regression later to maint).
254
255 * The way "git svn" uses auth parameter was broken by Subversion
256 1.9.0 and later.
250 - (merge 0b66415 ew/svn-1.9.0-auth later to maint).
257
258 * The "split" subcommand of "git subtree" (in contrib/) incorrectly
259 skipped merges when it shouldn't, which was corrected.
254 - (merge 933cfeb dw/subtree-split-do-not-drop-merge later to maint).
260
261 * A few options of "git diff" did not work well when the command was
262 run from a subdirectory.
258 - (merge a97262c nd/diff-with-path-params later to maint).
263
264 * The command line completion learned a handful of additional options
265 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).
266
267 * dirname() emulation has been added, as Msys2 lacks it.
268 - (merge e7d5ce8 js/dirname-basename later to maint).
268
269 * The underlying machinery used by "ls-files -o" and other commands
270 have been taught not to create empty submodule ref cache for a
271 directory that is not a submodule. This removes a ton of wasted
272 CPU cycles.
274 - (merge a2d5156 jk/ref-cache-non-repository-optim later to maint).
273
274 * "git worktree" had a broken code that attempted to auto-fix
275 possible inconsistency that results from end-users moving a
@@ -280,39 +278,46 @@ notes for details).
278 "mv" run by end-users who are not familiar with that fact will
279 obviously not adjust them), which actually made things worse
280 when triggered.
283 - (merge 618244e nd/do-not-move-worktree-manually later to maint).
281
282 * The low-level merge machinery has been taught to use CRLF line
283 termination when inserting conflict markers to merged contents that
284 are themselves CRLF line-terminated.
288 - (merge 15980de js/xmerge-marker-eol later to maint).
285
286 * "git push --force-with-lease" has been taught to report if the push
287 needed to force (or fast-forwarded).
292 - (merge b2e93f8 aw/push-force-with-lease-reporting later to maint).
288
289 * The emulated "yes" command used in our test scripts has been
290 tweaked not to spend too much time generating unnecessary output
291 that is not used, to help those who test on Windows where it would
292 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).
293
294 * The documentation for "git clean" has been corrected; it mentioned
295 that .git/modules/* are removed by giving two "-f", which has never
296 been the case.
303 - (merge 31e3c2d mm/clean-doc-fix later to maint).
297
298 * The vimdiff backend for "git mergetool" has been tweaked to arrange
299 and number buffers in the order that would match the expectation of
300 majority of people who read left to right, then top down and assign
301 buffers 1 2 3 4 "mentally" to local base remote merge windows based
302 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).
322
323 * 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).