Merge branch 'eb/cred-helper-ignore-sigpipe'
[git/git.git] / Documentation / RelNotes / 2.18.0.txt
... / ...
1Git 2.18 Release Notes
4Updates since v2.17
7UI, Workflows & Features
9 * Rename detection logic in "diff" family that is used in "merge" has
10 learned to guess when all of x/a, x/b and x/c have moved to z/a,
11 z/b and z/c, it is likely that x/d added in the meantime would also
12 want to move to z/d by taking the hint that the entire directory
13 'x' moved to 'z'. A bug causing dirty files involved in a rename
14 to be overwritten during merge has also been fixed as part of this
15 work.
17 * "git filter-branch" learned to use a different exit code to allow
18 the callers to tell the case where there was no new commits to
19 rewrite from other error cases.
23Performance, Internal Implementation, Development Support etc.
25 * A "git fetch" from a repository with insane number of refs into a
26 repository that is already up-to-date still wasted too many cycles
27 making many lstat(2) calls to see if these objects at the tips
28 exist as loose objects locally. These lstat(2) calls are optimized
29 away by enumerating all loose objects beforehand.
30 It is unknown if the new strategy negatively affects existing use
31 cases, fetching into a repository with many loose objects from a
32 repository with small number of refs.
34 * Git can be built to use either v1 or v2 of the PCRE library, and so
35 far, the build-time configuration USE_LIBPCRE=YesPlease instructed
36 the build procedure to use v1, but now it means v2. USE_LIBPCRE1
37 and USE_LIBPCRE2 can be used to explicitly choose which version to
38 use, as before.
40 * The build procedure learned to optionally use symbolic links
41 (instead of hardlinks and copies) to install "git-foo" for built-in
42 commands, whose binaries are all identical.
44 * Conversion from uchar[20] to struct object_id continues.
46 * The way "git worktree prune" worked internally has been simplified,
47 by assuming how "git worktree move" moves an existing worktree to a
48 different place.
50 * Code clean-up for the "repository" abstraction.
51 (merge 00a3da2a13 nd/remove-ignore-env-field later to maint).
53 * Code to find the length to uniquely abbreviate object names based
54 on packfile content, which is a relatively recent addtion, has been
55 optimized to use the same fan-out table.
57 * The mechanism to use parse-options API to automate the command line
58 completion continues to get extended and polished.
60Also contains various documentation updates and code clean-ups.
63Fixes since v2.17
66 * "git shortlog cruft" aborted with a BUG message when run outside a
67 Git repository. The command has been taught to complain about
68 extra and unwanted arguments on its command line instead in such a
69 case.
70 (merge 4aa0161e83 ma/shortlog-revparse later to maint).
72 * "git stash push -u -- <pathspec>" gave an unnecessary and confusing
73 error message when there was no tracked files that match the
74 <pathspec>, which has been fixed.
75 (merge 353278687e tg/stash-untracked-with-pathspec-fix later to maint).
77 * "git tag --contains no-such-commit" gave a full list of options
78 after giving an error message.
79 (merge 3bb0923f06 ps/contains-id-error-message later to maint).
81 * "diff-highlight" filter (in contrib/) learned to undertand "git log
82 --graph" output better.
83 (merge 4551fbba14 jk/diff-highlight-graph-fix later to maint).
85 * when refs that do not point at committish are given, "git
86 filter-branch" gave a misleading error messages. This has been
87 corrected.
88 (merge f78ab355e7 yk/filter-branch-non-committish-refs later to maint).
90 * Other minor doc, test and build updates and code cleanups.
91 (merge 248f66ed8e nd/trace-with-env later to maint).
92 (merge 14ced5562c ys/bisect-object-id-missing-conversion-fix later to maint).