Sync with maint
[alt-git.git] / Documentation / RelNotes / 2.10.0.txt
blobeac12490a9b06598cbc8225245eb4d5f66cb2a1a
1 Git 2.10 Release Notes
2 ======================
4 Backward compatibility notes
5 ----------------------------
7 Updates since v2.9
8 ------------------
10 UI, Workflows & Features
12  * "git pull --rebase --verify-signature" learned to warn the user
13    that "--verify-signature" is a no-op when rebasing.
15  * An upstream project can make a recommendation to shallowly clone
16    some submodules in the .gitmodules file it ships.
18  * "git worktree add" learned that '-' can be used as a short-hand for
19    "@{-1}", the previous branch.
21  * Update the funcname definition to support css files.
24 Performance, Internal Implementation, Development Support etc.
26  * "git fast-import" learned the same performance trick to avoid
27    creating too small a packfile as "git fetch" and "git push" have,
28    using *.unpackLimit configuration.
30  * When "git daemon" is run without --[init-]timeout specified, a
31    connection from a client that silently goes offline can hang around
32    for a long time, wasting resources.  The socket-level KEEPALIVE has
33    been enabled to allow the OS to notice such failed connections.
34    (merge a43b68a ew/daemon-socket-keepalive later to maint).
36  * "git upload-pack" command has been updated to use the parse-options
37    API.
40 Also contains various documentation updates and code clean-ups.
43 Fixes since v2.9
44 ----------------
46 Unless otherwise noted, all the fixes since v2.8 in the maintenance
47 track are contained in this release (see the maintenance releases'
48 notes for details).
50  * The commands in `git log` family take %C(auto) in a custom format
51    string.  This unconditionally turned the color on, ignoring
52    --no-color or with --color=auto when the output is not connected to
53    a tty; this was corrected to make the format truly behave as
54    "auto".
55    (merge b15a3e0 et/pretty-format-c-auto later to maint).
57  * "git rev-list --count" whose walk-length is limited with "-n"
58    option did not work well with the counting optimized to look at the
59    bitmap index.
60    (merge fb85db8 jk/rev-list-count-with-bitmap later to maint).
62  * "git show -W" (extend hunks to cover the entire function, delimited
63    by lines that match the "funcname" pattern) used to show the entire
64    file when a change added an entire function at the end of the file,
65    which has been fixed.
66    (merge 6f8d9bc rs/xdiff-hunk-with-func-line later to maint).
68  * Other minor clean-ups and documentation updates