restore: replace --force with --ignore-unmerged
[git.git] / Documentation / RelNotes / 2.22.0.txt
blob16d3110392928d2a5c425ed0b7348eb3bb21b27e
1 Git 2.22 Release Notes
2 ======================
4 Updates since v2.21
5 -------------------
7 UI, Workflows & Features
9  * "git checkout --no-overlay" can be used to trigger a new mode of
10    checking out paths out of the tree-ish, that allows paths that
11    match the pathspec that are in the current index and working tree
12    and are not in the tree-ish.
14  * The %(trailers) formatter in "git log --format=..."  now allows to
15    optionally pick trailers selectively by keyword, show only values,
16    etc.
18  * Four new configuration variables {author,committer}.{name,email}
19    have been introduced to override user.{name,email} in more specific
20    cases.
22  * Command-line completion (in contrib/) learned to tab-complete the
23    "git submodule absorbgitdirs" subcommand.
25  * "git branch" learned a new subcommand "--show-current".
27  * Output from "diff --cc" did not show the original paths when the
28    merge involved renames.  A new option adds the paths in the
29    original trees to the output.
31  * The command line completion (in contrib/) has been taught to
32    complete more subcommand parameters.
35 Performance, Internal Implementation, Development Support etc.
37  * The diff machinery, one of the oldest parts of the system, which
38    long predates the parse-options API, uses fairly long and complex
39    handcrafted option parser.  This is being rewritten to use the
40    parse-options API.
42  * The implementation of pack-redundant has been updated for
43    performance in a repository with many packfiles.
45  * A more structured way to obtain execution trace has been added.
47  * "git prune" has been taught to take advantage of reachability
48    bitmap when able.
51 Fixes since v2.21
52 -----------------
54  * "git prune-packed" did not notice and complain against excess
55    arguments given from the command line, which now it does.
56    (merge 9b0bd87ed2 rj/prune-packed-excess-args later to maint).
58  * Split-index fix.
59    (merge 6e37c8ed3c nd/split-index-null-base-fix later to maint).
61  * "git diff --no-index" may still want to access Git goodies like
62    --ext-diff and --textconv, but so far these have been ignored,
63    which has been corrected.
64    (merge 287ab28bfa jk/diff-no-index-initialize later to maint).
66  * Unify RPC code for smart http in protocol v0/v1 and v2, which fixes
67    a bug in the latter (lack of authentication retry) and generally
68    improves the code base.
69    (merge a97d00799a jt/http-auth-proto-v2-fix later to maint).
71  * The include file compat/bswap.h has been updated so that it is safe
72    to (accidentally) include it more than once.
73    (merge 33aa579a55 jk/guard-bswap-header later to maint).
75  * The set of header files used by "make hdr-check" unconditionally
76    included sha256/gcrypt.h, even when it is not used, causing the
77    make target to fail.  We now skip it when GCRYPT_SHA256 is not in
78    use.
79    (merge f23aa18e7f rj/hdr-check-gcrypt-fix later to maint).
81  * The Makefile uses 'find' utility to enumerate all the *.h header
82    files, which is expensive on platforms with slow filesystems; it
83    now optionally uses "ls-files" if working within a repository,
84    which is a trick similar to how all sources are enumerated to run
85    ETAGS on.
86    (merge 92b88eba9f js/find-lib-h-with-ls-files-when-possible later to maint).
88  * Code cleanup, docfix, build fix, etc.
89    (merge 11f470aee7 jc/test-yes-doc later to maint).
90    (merge 90503a240b js/doc-symref-in-proto-v1 later to maint).
91    (merge 5c326d1252 jk/unused-params later to maint).
92    (merge 68cabbfda3 dl/doc-submodule-wo-subcommand later to maint).
93    (merge 9903623761 ab/receive-pack-use-after-free-fix later to maint).
94    (merge 1ede45e44b en/merge-options-doc later to maint).
95    (merge 3e14dd2c8e rd/doc-hook-used-in-sample later to maint).
96    (merge c271dc28fd nd/no-more-check-racy later to maint).
97    (merge e6e15194a8 yb/utf-16le-bom-spellfix later to maint).
98    (merge bb101aaf0c rd/attr.c-comment-typofix later to maint).
99    (merge 716a5af812 rd/gc-prune-doc-fix later to maint).
100    (merge 50b206371d js/untravis-windows later to maint).
101    (merge dbf47215e3 js/rebase-recreate-merge later to maint).