]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/RelNotes/2.28.0.txt
Merge branch 'ct/diff-with-merge-base-clarification'
[thirdparty/git.git] / Documentation / RelNotes / 2.28.0.txt
1 Git 2.28 Release Notes
2 ======================
3
4 Updates since v2.27
5 -------------------
6
7 Backward compatibility notes
8
9 * "feature.experimental" configuration variable is to let volunteers
10 easily opt into a set of newer features, which use of the v2
11 transport protocol is now a part of.
12
13
14 UI, Workflows & Features
15
16 * The commands in the "diff" family learned to honor "diff.relative"
17 configuration variable.
18
19 * The check in "git fsck" to ensure that the tree objects are sorted
20 still had corner cases it missed unsorted entries.
21
22 * The interface to redact sensitive information in the trace output
23 has been simplified.
24
25
26 Performance, Internal Implementation, Development Support etc.
27
28 * Code optimization for a common case.
29 (merge 8777616e4d an/merge-single-strategy-optim later to maint).
30
31 * We've adopted a convention that any on-stack structure can be
32 initialized to have zero values in all fields with "= { 0 }",
33 even when the first field happens to be a pointer, but sparse
34 complained that a null pointer should be spelled NULL for a long
35 time. Start using -Wno-universal-initializer option to squelch
36 it (the latest sparse has it on by default).
37
38 * "git log -L..." now takes advantage of the "which paths are touched
39 by this commit?" info stored in the commit-graph system.
40
41 * As FreeBSD is not the only platform whose regexp library reports
42 a REG_ILLSEQ error when fed invalid UTF-8, add logic to detect that
43 automatically and skip the affected tests.
44
45 * "git bugreport" learns to report what shell is in use.
46
47 * Support for GIT_CURL_VERBOSE has been rewritten in terms of
48 GIT_TRACE_CURL.
49
50 * Preliminary clean-ups around refs API, plus file format
51 specification documentation for the reftable backend.
52
53 * Workaround breakage in MSVC build, where "curl-config --cflags"
54 gives settings appropriate for GCC build.
55
56
57 Fixes since v2.27
58 -----------------
59
60 * The "--prepare-p4-only" option of "git p4" is supposed to stop
61 after replaying one changeset, but kept going (by mistake?)
62
63 * The error message from "git checkout -b foo -t bar baz" was
64 confusing.
65
66 * Some repositories in the wild have commits that record nonsense
67 committer timezone (e.g. rails.git); "git fast-import" learned an
68 option to pass these nonsense timestamps intact to allow recreating
69 existing repositories as-is.
70 (merge d42a2fb72f en/fast-import-looser-date later to maint).
71
72 * The command line completion script (in contrib/) tried to complete
73 "git stash -p" as if it were "git stash push -p", but it was too
74 aggressive and also affected "git stash show -p", which has been
75 corrected.
76 (merge fffd0cf520 vs/complete-stash-show-p-fix later to maint).
77
78 * On-the-wire protocol v2 easily falls into a deadlock between the
79 remote-curl helper and the fetch-pack process when the server side
80 prematurely throws an error and disconnects. The communication has
81 been updated to make it more robust.
82
83 * "git checkout -p" did not handle a newly added path at all.
84 (merge 2c8bd8471a js/checkout-p-new-file later to maint).
85
86 * The code to parse "git bisect start" command line was lax in
87 validating the arguments.
88 (merge 4d9005ff5d cb/bisect-helper-parser-fix later to maint).
89
90 * Reduce memory usage during "diff --quiet" in a worktree with too
91 many stat-unmatched paths.
92 (merge d2d7fbe129 jk/diff-memuse-optim-with-stat-unmatch later to maint).
93
94 * The reflog entries for "git clone" and "git fetch" did not
95 anonymize the URL they operated on.
96 (merge 46da295a77 js/reflog-anonymize-for-clone-and-fetch later to maint).
97
98 * The behaviour of "sparse-checkout" in the state "git clone
99 --no-checkout" left was changed accidentally in 2.27, which has
100 been corrected.
101
102 * Use of negative pathspec, while collecting paths including
103 untracked ones in the working tree, was broken.
104
105 * The same worktree directory must be registered only once, but
106 "git worktree move" allowed this invariant to be violated, which
107 has been corrected.
108 (merge 810382ed37 es/worktree-duplicate-paths later to maint).
109
110 * The effect of sparse checkout settings on submodules is documented.
111 (merge e7d7c73249 en/sparse-with-submodule-doc later to maint).
112
113 * Other code cleanup, docfix, build fix, etc.
114 (merge 2c31a7aa44 jx/pkt-line-doc-count-fix later to maint).
115 (merge d63ae31962 cb/t5608-cleanup later to maint).
116 (merge 788db145c7 dl/t-readme-spell-git-correctly later to maint).
117 (merge 45a87a83bb dl/python-2.7-is-the-floor-version later to maint).
118 (merge b75a219904 es/advertise-contribution-doc later to maint).