]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/RelNotes/2.44.0.txt
Merge branch 'ib/rebase-reschedule-doc'
[thirdparty/git.git] / Documentation / RelNotes / 2.44.0.txt
CommitLineData
1a87c842
JH
1Git v2.44 Release Notes
2=======================
3
e79552d1
JH
4Backward Compatibility Notes
5
6 * "git chekcout -B <branch>" used to allow switching to a branch that
7 is in use on another worktree, but this was by mistake. The users
8 need to use "--ignore-other-worktrees" option.
9
10
1a87c842
JH
11UI, Workflows & Features
12
13 * "git add" and "git stash" learned to support the ":(attr:...)"
14 magic pathspec.
15
16 * "git rebase --autosquash" is now enabled for non-interactive rebase,
17 but it is still incompatible with the apply backend.
18
624eb90f
JH
19 * Introduce "git replay", a tool meant on the server side without
20 working tree to recreate a history.
21
22 * "git merge-file" learned to take the "--diff-algorithm" option to
23 use algorithm different from the default "myers" diff.
24
055bb6e9
JH
25 * Command line completion (in contrib/) learned to complete path
26 arguments to the "add/set" subcommands of "git sparse-checkout"
27 better.
28
e79552d1
JH
29 * "git checkout -B <branch> [<start-point>]" allowed a branch that is
30 in use in another worktree to be updated and checked out, which
31 might be a bit unexpected. The rule has been tightened, which is a
32 breaking change. "--ignore-other-worktrees" option is required to
33 unbreak you, if you are used to the current behaviour that "-B"
34 overrides the safety.
d4dbce1d
JH
35
36 * The builtin_objectmode attribute is populated for each path
37 without adding anything in .gitattributes files, which would be
38 useful in magic pathspec, e.g., ":(attr:builtin_objectmode=100755)"
39 to limit to executables.
e79552d1 40
1a87c842
JH
41
42Performance, Internal Implementation, Development Support etc.
43
44 * Process to add some form of low-level unit tests has started.
45
46 * Add support for GitLab CI.
47
48 * "git for-each-ref --no-sort" still sorted the refs alphabetically
49 which paid non-trivial cost. It has been redefined to show output
50 in an unspecified order, to allow certain optimizations to take
51 advantage of.
52
624eb90f
JH
53 * Simplify API implementation to delete references by eliminating
54 duplication.
55
56 * Subject approxidate() and show_date() machinery to OSS-Fuzz.
57
e79552d1
JH
58 * A new helper to let us pretend that we called lstat() when we know
59 our cache_entry is up-to-date via fsmonitor.
60
61 * The optimization based on fsmonitor in the "diff --cached"
62 codepath is resurrected with the "fake-lstat" introduced earlier.
63
64 * Test balloon to use C99 "bool" type from <stdbool.h> has been
65 added.
66
67 * "git clone" has been prepared to allow cloning a repository with
68 non-default hash function into a repository that uses the reftable
69 backend.
70
d4dbce1d
JH
71 * Streaming spans of packfile data used to be done only from a
72 single, primary, pack in a repository with multiple packfiles. It
73 has been extended to allow reuse from other packfiles, too.
74
1a87c842
JH
75
76Fixes since v2.43
77-----------------
78
79 * The way CI testing used "prove" could lead to running the test
80 suite twice needlessly, which has been corrected.
81 (merge e7e03ef995 js/ci-discard-prove-state later to maint).
82
83 * Update ref-related tests.
84
85 * "git format-patch --encode-email-headers" ignored the option when
86 preparing the cover letter, which has been corrected.
87
88 * Newer versions of Getopt::Long started giving warnings against our
89 (ab)use of it in "git send-email". Bump the minimum version
90 requirement for Perl to 5.8.1 (from September 2002) to allow
91 simplifying our implementation.
92 (merge 6ff658cc78 tz/send-email-negatable-options later to maint).
93
624eb90f
JH
94 * Earlier we stopped relying on commit-graph that (still) records
95 information about commits that are lost from the object store,
96 which has negative performance implications. The default has been
97 flipped to disable this pessimization.
98 (merge b1df3b3867 ps/commit-graph-less-paranoid later to maint).
99
100 * Stale URLs have been updated to their current counterparts (or
101 archive.org) and HTTP links are replaced with working HTTPS links.
102 (merge 62b4f7b9c6 js/update-urls-in-doc-and-comment later to maint).
103
104 * trace2 streams used to record the URLs that potentially embed
105 authentication material, which has been corrected.
106 (merge 16fa3eebc0 jh/trace2-redact-auth later to maint).
107
055bb6e9
JH
108 * The sample pre-commit hook that tries to catch introduction of new
109 paths that use potentially non-portable characters did not notice
110 an existing path getting renamed to such a problematic path, when
111 rename detection was enabled.
112 (merge d9fd71fa2a jp/use-diff-index-in-pre-commit-sample later to maint).
113
114 * The command line parser for the "log" family of commands was too
115 loose when parsing certain numbers, e.g., silently ignoring the
116 extra 'q' in "git log -n 1q" without complaining, which has been
117 tightened up.
118 (merge 71a1e94821 jc/revision-parse-int later to maint).
119
120 * "git $cmd --end-of-options --rev -- --path" for some $cmd failed
121 to interpret "--rev" as a rev, and "--path" as a path. This was
122 fixed for many programs like "reset" and "checkout".
123 (merge 9385174627 jk/end-of-options later to maint).
124
125 * "git bisect reset" has been taught to clean up state files and refs
126 even when BISECT_START file is gone.
127 (merge daaa03e54c jk/bisect-reset-fix later to maint).
128
129 * Some codepaths did not correctly parse configuration variables
130 specified with valueless "true", which has been corrected.
131 (merge d49cb162fa jk/implicit-true later to maint).
132
e79552d1
JH
133 * Code clean-up for sanity checking of command line options for "git
134 show-ref".
135 (merge 7382497372 rs/show-ref-incompatible-options later to maint).
136
137 * The code to parse the From e-mail header has been updated to avoid
138 recursion.
139 (merge dee182941f jk/mailinfo-iterative-unquote-comment later to maint).
140
141 * "git fetch --atomic" issued an unnecessary empty error message,
142 which has been corrected.
143 (merge 18ce48918c jx/fetch-atomic-error-message-fix later to maint).
144
a26002b6
JH
145 * Command line completion script (in contrib/) learned to work better
146 with the reftable backend.
147 (merge 44dbb3bf29 sh/completion-with-reftable later to maint).
148
149 * "git status" is taught to show both the branch being bisected and
150 being rebased when both are in effect at the same time.
151 (merge 990adccbdf rj/status-bisect-while-rebase later to maint).
152
a54a84b3
JH
153 * "git archive --list extra garbage" silently ignored excess command
154 line parameters, which has been corrected.
155 (merge d6b6cd1393 jc/archive-list-with-extra-args later to maint).
156
157 * "git sparse-checkout set" added default patterns even when the
158 patterns are being fed from the standard input, which has been
159 corrected.
160 (merge 53ded839ae jc/sparse-checkout-set-default-fix later to maint).
161
162 * "git sparse-checkout (add|set) --[no-]cone --end-of-options" did
163 not handle "--end-of-options" correctly after a recent update.
164
d4dbce1d
JH
165 * Unlike other environment variables that took the usual
166 true/false/yes/no as well as 0/1, GIT_FLUSH only understood 0/1,
167 which has been corrected.
168 (merge 556e68032f cp/git-flush-is-an-env-bool later to maint).
169
1a87c842 170 * Other code cleanup, docfix, build fix, etc.
624eb90f
JH
171 (merge 50f1abcff6 js/packfile-h-typofix later to maint).
172 (merge cbf498eb53 jb/reflog-expire-delete-dry-run-options later to maint).
173 (merge 7854bf4960 rs/i18n-cannot-be-used-together later to maint).
174 (merge cd3c28c53a rs/column-leakfix later to maint).
055bb6e9
JH
175 (merge 866a1b9026 ps/ref-tests-update-more later to maint).
176 (merge e4299d26d4 mk/doc-gitfile-more later to maint).
177 (merge 792b86283b rs/incompatible-options-messages later to maint).
178 (merge ea8f9494ab jk/config-cleanup later to maint).
e79552d1
JH
179 (merge d1bd3a8c34 jk/mailinfo-oob-read-fix later to maint).
180 (merge c0cadb0576 ps/reftable-fixes later to maint).
181 (merge 647b5e0998 ps/chainlint-self-check-update later to maint).
182 (merge 68fcebfb1a es/add-doc-list-short-form-of-all-in-synopsis later to maint).
183 (merge bc62d27d5c jc/doc-most-refs-are-not-that-special later to maint).
184 (merge 6d6f1cd7ee jc/doc-misspelt-refs-fix later to maint).
185 (merge 37e8d795be sp/test-i18ngrep later to maint).
186 (merge fbc6526ea6 rs/t6300-compressed-size-fix later to maint).
a26002b6
JH
187 (merge 45184afb4d rs/rebase-use-strvec-pushf later to maint).
188 (merge a762af3dfd jc/retire-cas-opt-name-constant later to maint).
189 (merge de7c27a186 la/trailer-cleanups later to maint).
190 (merge d44b517137 jc/orphan-unborn later to maint).
a54a84b3
JH
191 (merge 63956c553d ml/doc-merge-updates later to maint).
192 (merge d57c671a51 en/header-cleanup later to maint).
193 (merge 5b7eec4bc5 rs/fast-import-simplify-mempool-allocation later to maint).
d4dbce1d
JH
194 (merge 291873e5d6 js/contributor-docs-updates later to maint).
195 (merge 54d8a2531b jk/t1006-cat-file-objectsize-disk later to maint).
196 (merge 7033d5479b jx/sideband-chomp-newline-fix later to maint).
197 (merge 9cd30af991 ms/rebase-insnformat-doc-fix later to maint).