]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/RelNotes/2.44.0.txt
The fifth batch
[thirdparty/git.git] / Documentation / RelNotes / 2.44.0.txt
1 Git v2.44 Release Notes
2 =======================
3
4 Backward 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
11 UI, 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
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
25 * Command line completion (in contrib/) learned to complete path
26 arguments to the "add/set" subcommands of "git sparse-checkout"
27 better.
28
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.
35 (merge b23285a921 jc/checkout-B-branch-in-use later to maint).
36
37
38 Performance, Internal Implementation, Development Support etc.
39
40 * Process to add some form of low-level unit tests has started.
41
42 * Add support for GitLab CI.
43
44 * "git for-each-ref --no-sort" still sorted the refs alphabetically
45 which paid non-trivial cost. It has been redefined to show output
46 in an unspecified order, to allow certain optimizations to take
47 advantage of.
48
49 * Simplify API implementation to delete references by eliminating
50 duplication.
51
52 * Subject approxidate() and show_date() machinery to OSS-Fuzz.
53
54 * A new helper to let us pretend that we called lstat() when we know
55 our cache_entry is up-to-date via fsmonitor.
56
57 * The optimization based on fsmonitor in the "diff --cached"
58 codepath is resurrected with the "fake-lstat" introduced earlier.
59
60 * Test balloon to use C99 "bool" type from <stdbool.h> has been
61 added.
62
63 * "git clone" has been prepared to allow cloning a repository with
64 non-default hash function into a repository that uses the reftable
65 backend.
66
67
68 Fixes since v2.43
69 -----------------
70
71 * The way CI testing used "prove" could lead to running the test
72 suite twice needlessly, which has been corrected.
73 (merge e7e03ef995 js/ci-discard-prove-state later to maint).
74
75 * Update ref-related tests.
76
77 * "git format-patch --encode-email-headers" ignored the option when
78 preparing the cover letter, which has been corrected.
79
80 * Newer versions of Getopt::Long started giving warnings against our
81 (ab)use of it in "git send-email". Bump the minimum version
82 requirement for Perl to 5.8.1 (from September 2002) to allow
83 simplifying our implementation.
84 (merge 6ff658cc78 tz/send-email-negatable-options later to maint).
85
86 * Earlier we stopped relying on commit-graph that (still) records
87 information about commits that are lost from the object store,
88 which has negative performance implications. The default has been
89 flipped to disable this pessimization.
90 (merge b1df3b3867 ps/commit-graph-less-paranoid later to maint).
91
92 * Stale URLs have been updated to their current counterparts (or
93 archive.org) and HTTP links are replaced with working HTTPS links.
94 (merge 62b4f7b9c6 js/update-urls-in-doc-and-comment later to maint).
95
96 * trace2 streams used to record the URLs that potentially embed
97 authentication material, which has been corrected.
98 (merge 16fa3eebc0 jh/trace2-redact-auth later to maint).
99
100 * The sample pre-commit hook that tries to catch introduction of new
101 paths that use potentially non-portable characters did not notice
102 an existing path getting renamed to such a problematic path, when
103 rename detection was enabled.
104 (merge d9fd71fa2a jp/use-diff-index-in-pre-commit-sample later to maint).
105
106 * The command line parser for the "log" family of commands was too
107 loose when parsing certain numbers, e.g., silently ignoring the
108 extra 'q' in "git log -n 1q" without complaining, which has been
109 tightened up.
110 (merge 71a1e94821 jc/revision-parse-int later to maint).
111
112 * "git $cmd --end-of-options --rev -- --path" for some $cmd failed
113 to interpret "--rev" as a rev, and "--path" as a path. This was
114 fixed for many programs like "reset" and "checkout".
115 (merge 9385174627 jk/end-of-options later to maint).
116
117 * "git bisect reset" has been taught to clean up state files and refs
118 even when BISECT_START file is gone.
119 (merge daaa03e54c jk/bisect-reset-fix later to maint).
120
121 * Some codepaths did not correctly parse configuration variables
122 specified with valueless "true", which has been corrected.
123 (merge d49cb162fa jk/implicit-true later to maint).
124
125 * Code clean-up for sanity checking of command line options for "git
126 show-ref".
127 (merge 7382497372 rs/show-ref-incompatible-options later to maint).
128
129 * The code to parse the From e-mail header has been updated to avoid
130 recursion.
131 (merge dee182941f jk/mailinfo-iterative-unquote-comment later to maint).
132
133 * "git fetch --atomic" issued an unnecessary empty error message,
134 which has been corrected.
135 (merge 18ce48918c jx/fetch-atomic-error-message-fix later to maint).
136
137 * Command line completion script (in contrib/) learned to work better
138 with the reftable backend.
139 (merge 44dbb3bf29 sh/completion-with-reftable later to maint).
140
141 * "git status" is taught to show both the branch being bisected and
142 being rebased when both are in effect at the same time.
143 (merge 990adccbdf rj/status-bisect-while-rebase later to maint).
144
145 * Other code cleanup, docfix, build fix, etc.
146 (merge 50f1abcff6 js/packfile-h-typofix later to maint).
147 (merge cbf498eb53 jb/reflog-expire-delete-dry-run-options later to maint).
148 (merge 7854bf4960 rs/i18n-cannot-be-used-together later to maint).
149 (merge cd3c28c53a rs/column-leakfix later to maint).
150 (merge 866a1b9026 ps/ref-tests-update-more later to maint).
151 (merge e4299d26d4 mk/doc-gitfile-more later to maint).
152 (merge 792b86283b rs/incompatible-options-messages later to maint).
153 (merge ea8f9494ab jk/config-cleanup later to maint).
154 (merge d1bd3a8c34 jk/mailinfo-oob-read-fix later to maint).
155 (merge c0cadb0576 ps/reftable-fixes later to maint).
156 (merge 647b5e0998 ps/chainlint-self-check-update later to maint).
157 (merge 68fcebfb1a es/add-doc-list-short-form-of-all-in-synopsis later to maint).
158 (merge bc62d27d5c jc/doc-most-refs-are-not-that-special later to maint).
159 (merge 6d6f1cd7ee jc/doc-misspelt-refs-fix later to maint).
160 (merge 37e8d795be sp/test-i18ngrep later to maint).
161 (merge fbc6526ea6 rs/t6300-compressed-size-fix later to maint).
162 (merge 45184afb4d rs/rebase-use-strvec-pushf later to maint).
163 (merge a762af3dfd jc/retire-cas-opt-name-constant later to maint).
164 (merge de7c27a186 la/trailer-cleanups later to maint).
165 (merge d44b517137 jc/orphan-unborn later to maint).