1 Git v2.44 Release Notes
2 =======================
4 Backward Compatibility Notes
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.
11 UI, Workflows & Features
13 * "git add" and "git stash" learned to support the ":(attr:...)"
16 * "git rebase --autosquash" is now enabled for non-interactive rebase,
17 but it is still incompatible with the apply backend.
19 * Introduce "git replay", a tool meant on the server side without
20 working tree to recreate a history.
22 * "git merge-file" learned to take the "--diff-algorithm" option to
23 use algorithm different from the default "myers" diff.
25 * Command line completion (in contrib/) learned to complete path
26 arguments to the "add/set" subcommands of "git sparse-checkout"
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"
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.
42 Performance, Internal Implementation, Development Support etc.
44 * Process to add some form of low-level unit tests has started.
46 * Add support for GitLab CI.
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
53 * Simplify API implementation to delete references by eliminating
56 * Subject approxidate() and show_date() machinery to OSS-Fuzz.
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.
61 * The optimization based on fsmonitor in the "diff --cached"
62 codepath is resurrected with the "fake-lstat" introduced earlier.
64 * Test balloon to use C99 "bool" type from <stdbool.h> has been
67 * "git clone" has been prepared to allow cloning a repository with
68 non-default hash function into a repository that uses the reftable
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.
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).
83 * Update ref-related tests.
85 * "git format-patch --encode-email-headers" ignored the option when
86 preparing the cover letter, which has been corrected.
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).
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).
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).
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).
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).
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
118 (merge 71a1e94821 jc/revision-parse-int later to maint).
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).
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).
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).
133 * Code clean-up for sanity checking of command line options for "git
135 (merge 7382497372 rs/show-ref-incompatible-options later to maint).
137 * The code to parse the From e-mail header has been updated to avoid
139 (merge dee182941f jk/mailinfo-iterative-unquote-comment later to maint).
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).
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).
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).
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).
157 * "git sparse-checkout set" added default patterns even when the
158 patterns are being fed from the standard input, which has been
160 (merge 53ded839ae jc/sparse-checkout-set-default-fix later to maint).
162 * "git sparse-checkout (add|set) --[no-]cone --end-of-options" did
163 not handle "--end-of-options" correctly after a recent update.
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).
170 * Other code cleanup, docfix, build fix, etc.
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).
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).
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).
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).
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).
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).