ls-refs: filter refs using namespace-stripped name
[git/git.git] / Documentation / RelNotes / 2.21.0.txt
1 Git 2.21 Release Notes
2 ======================
4 Backward Compatibility Notes
5 ----------------------------
8 Updates since v2.20
9 -------------------
11 UI, Workflows & Features
13 * The "http.version" configuration variable can be used with recent
14 enough cURL library to force the version of HTTP used to talk when
15 fetching and pushing.
17 * Small fixes and features for fast-export and fast-import, mostly on
18 the fast-export side.
20 * "git push $there $src:$dst" rejects when $dst is not a fully
21 qualified refname and not clear what the end user meant. The
22 codepath has been taught to give a clearer error message, and also
23 guess where the push should go by taking the type of the pushed
24 object into account (e.g. a tag object would want to go under
25 refs/tags/).
27 * "git checkout [<tree-ish>] path..." learned to report the number of
28 paths that have been checked out of the index or the tree-ish,
29 which gives it the same degree of noisy-ness as the case in which
30 the command checks out a branch.
33 Performance, Internal Implementation, Development Support etc.
35 * Code clean-up with optimization for the codepath that checks
36 (non-)existence of loose objects.
38 * More codepaths become aware of working with in-core repository
39 instance other than the default "the_repository".
42 Fixes since v2.20
43 -----------------
45 * Updates for corner cases in merge-recursive.
46 (merge cc4cb0902c en/merge-path-collision later to maint).
48 * "git checkout frotz" (without any double-dash) avoids ambiguity by
49 making sure 'frotz' cannot be interpreted as a revision and as a
50 path at the same time. This safety has been updated to check also
51 a unique remote-tracking branch 'frotz' in a remote, when dwimming
52 to create a local branch 'frotz' out of a remote-tracking branch
53 'frotz' from a remote.
54 (merge be4908f103 nd/checkout-dwim-fix later to maint).
56 * Refspecs configured with "git -c var=val clone" did not propagate
57 to the resulting repository, which has been corrected.
58 (merge 7eae4a3ac4 sg/clone-initial-fetch-configuration later to maint).
60 * A properly configured username/email is required under
61 user.useConfigOnly in order to create commits; now "git stash"
62 (even though it creates commit objects to represent stash entries)
63 command is exempt from the requirement.
64 (merge 3bc2111fc2 sd/stash-wo-user-name later to maint).
66 * The http-backend CGI process did not correctly clean up the child
67 processes it spawns to run upload-pack etc. when it dies itself,
68 which has been corrected.
69 (merge 02818a98d7 mk/http-backend-kill-children-before-exit later to maint).
71 * "git rev-list --exclude-promisor-objects" had to take an object
72 that does not exist locally (and is lazily available) from the
73 command line without barfing, but the code dereferenced NULL.
74 (merge 4cf67869b2 md/list-lazy-objects-fix later to maint).
76 * The traversal over tree objects has learned to honor
77 ":(attr:label)" pathspec match, which has been implemented only for
78 enumerating paths on the filesystem.
79 (merge 5a0b97b34c nd/attr-pathspec-in-tree-walk later to maint).
81 * BSD port updates.
82 (merge 4e3ecbd439 cb/openbsd-allows-reading-directory later to maint).
83 (merge b6bdc2a0f5 cb/t5004-empty-tar-archive-fix later to maint).
84 (merge 82cbc8cde2 cb/test-lint-cp-a later to maint).
86 * Lines that begin with a certain keyword that come over the wire, as
87 well as lines that consist only of one of these keywords, ought to
88 be painted in color for easier eyeballing, but the latter was
89 broken ever since the feature was introduced in 2.19, which has
90 been corrected.
91 (merge 1f67290450 hn/highlight-sideband-keywords later to maint).
93 * "git log -G<regex>" looked for a hunk in the "git log -p" patch
94 output that contained a string that matches the given pattern.
95 Optimize this code to ignore binary files, which by default will
96 not show any hunk that would match any pattern (unless textconv or
97 the --text option is in effect, that is).
98 (merge e0e7cb8080 tb/log-G-binary later to maint).
100 * Code cleanup, docfix, build fix, etc.
101 (merge 89ba9a79ae hb/t0061-dot-in-path-fix later to maint).
102 (merge d173e799ea sb/diff-color-moved-config-option-fixup later to maint).
103 (merge a8f5a59067 en/directory-renames-nothanks-doc-update later to maint).
104 (merge ec36c42a63 nd/indentation-fix later to maint).
105 (merge f116ee21cd do/gitweb-strict-export-conf-doc later to maint).
106 (merge 112ea42663 fd/gitweb-snapshot-conf-doc-fix later to maint).
107 (merge 1cadad6f65 tb/use-common-win32-pathfuncs-on-cygwin later to maint).
108 (merge 57e9dcaa65 km/rebase-doc-typofix later to maint).