1 Git v2.46 Release Notes
2 =======================
4 Backward Compatibility Notes
8 UI, Workflows & Features
10 * The "--rfc" option of "git format-patch" learned to take an
11 optional string value to be used in place of "RFC" to tweak the
12 "[PATCH]" on the subject header.
14 * The credential helper protocol, together with the HTTP layer, have
15 been enhanced to support authentication schemes different from
16 username & password pair, like Bearer and NTLM.
18 * Command line completion script (in contrib/) learned to complete
19 "git symbolic-ref" a bit better (you need to enable plumbing
20 commands to be completed with GIT_COMPLETION_SHOW_ALL_COMMANDS).
22 * When the user responds to a prompt given by "git add -p" with an
23 unsupported command, list of available commands were given, which
24 was too much if the user knew what they wanted to type but merely
25 made a typo. Now the user gets a much shorter error message.
27 * The color parsing code learned to handle 12-bit RGB colors, spelled
28 as "#RGB" (in addition to "#RRGGBB" that is already supported).
30 * The operation mode options (like "--get") the "git config" command
31 uses have been deprecated and replaced with subcommands (like "git
34 * "git tag" learned the "--trailer" option to futz with the trailers
35 in the same way as "git commit" does.
37 * A new global "--no-advice" option can be used to disable all advice
38 messages, which is meant to be used only in scripts.
40 * Updates to symbolic refs can now be made as a part of ref
43 * The trailer API has been reshuffled a bit.
45 * Terminology to call various ref-like things are getting
48 * The command line completion script (in contrib/) has been adjusted
49 to the recent update to "git config" that adopted subcommand based
53 Performance, Internal Implementation, Development Support etc.
55 * Advertise "git contacts", a tool for newcomers to find people to
56 ask review for their patches, a bit more in our developer
59 * In addition to building the objects needed, try to link the objects
60 that are used in fuzzer tests, to make sure at least they build
61 without bitrot, in Linux CI runs.
63 * Code to write out reftable has seen some optimization and
66 * Tests to ensure interoperability between reftable written by jgit
67 and our code have been added and enabled in CI.
69 * The singleton index_state instance "the_index" has been eliminated
70 by always instantiating "the_repository" and replacing references
71 to "the_index" with references to its .index member.
73 * Git-GUI has a new maintainer, Johannes Sixt.
74 (merge e18ad8eb26 jc/git-gui-maintainer-update later to maint).
76 * The "test-tool" has been taught to run testsuite tests in parallel,
77 bypassing the need to use the "prove" tool.
79 * The "whitespace check" task that was enabled for GitHub Actions CI
80 has been ported to GitLab CI.
82 * The refs API lost functions that implicitly assumes to work on the
83 primary ref_store by forcing the callers to pass a ref_store as an
86 * Code clean-up to reduce inter-function communication inside
87 builtin/config.c done via the use of global variables.
89 * The pack bitmap code saw some clean-up to prepare for a follow-up topic.
90 (merge 85f360fee5 tb/pack-bitmap-write-cleanups later to maint).
92 * Preliminary code clean-up for "git send-email".
93 (merge c02dc38570 ds/send-email-per-message-block later to maint).
95 * The default "creation-factor" used by "git format-patch" has been
96 raised to make it more aggressively find matching commits.
97 (merge c22d41d641 jc/format-patch-more-aggressive-range-diff later to maint).
103 * "git rebase --signoff" used to forget that it needs to add a
104 sign-off to the resulting commit when told to continue after a
105 conflict stops its operation.
106 (merge a6c2654f83 pw/rebase-m-signoff-fix later to maint).
108 * The procedure to build multi-pack-index got confused by the
109 replace-refs mechanism, which has been corrected by disabling the
111 (merge 93e2ae1c95 xx/disable-replace-when-building-midx later to maint).
113 * The "-k" and "--rfc" options of "format-patch" will now error out
114 when used together, as one tells us not to add anything to the
115 title of the commit, and the other one tells us to add "RFC" in
117 (merge cadcf58085 ds/format-patch-rfc-and-k later to maint).
119 * "git stash -S" did not handle binary files correctly, which has
121 (merge 5fb7686409 aj/stash-staged-fix later to maint).
123 * A scheduled "git maintenance" job is expected to work on all
124 repositories it knows about, but it stopped at the first one that
125 errored out. Now it keeps going.
126 (merge c75662bfc9 js/for-each-repo-keep-going later to maint).
128 * zsh can pretend to be a normal shell pretty well except for some
129 glitches that we tickle in some of our scripts. Work them around
130 so that "vimdiff" and our test suite works well enough with it.
131 (merge fedd5c79ff bc/zsh-compatibility later to maint).
133 * Command line completion support for zsh (in contrib/) has been
134 updated to stop exposing internal state to end-user shell
136 (merge 3c20acdf46 dk/zsh-git-repo-path-fix later to maint).
138 * Tests that try to corrupt in-repository files in chunked format did
139 not work well on macOS due to its broken "mv", which has been
141 (merge 861dc19ba8 jc/test-workaround-broken-mv later to maint).
143 * The maximum size of attribute files is enforced more consistently.
144 (merge c793f9cb08 tb/attr-limits later to maint).
146 * Unbreak CI jobs so that we do not attempt to use Python 2 that has
147 been removed from the platform.
148 (merge 5ca0c455f1 ps/ci-python-2-deprecation later to maint).
150 * Git 2.43 started using the tree of HEAD as the source of attributes
151 in a bare repository, which has severe performance implications.
152 For now, revert the change, without ripping out a more explicit
153 support for the attr.tree configuration variable.
154 (merge 51441e6460 jc/no-default-attr-tree-in-bare later to maint).
156 * The "--exit-code" option of "git diff" command learned to work with
157 the "--ext-diff" option.
158 (merge 11be65cfa4 rs/external-diff-with-exit-code later to maint).
160 * Windows CI running in GitHub Actions started complaining about the
161 order of arguments given to calloc(); the imported regex code uses
162 the wrong order almost consistently, which has been corrected.
163 (merge f01301aabe jc/compat-regex-calloc-fix later to maint).
165 * Expose "name conflict" error when a ref creation fails due to D/F
166 conflict in the ref namespace, to improve an error message given by
168 (merge 9339fca23e it/refs-name-conflict later to maint).
170 * The SubmittingPatches document now refers folks to manpages
172 (merge 558a5b8cd0 jc/doc-manpages-l10n later to maint).
174 * The documentation for "git diff --name-only" has been clarified
175 that it is about showing the names in the post-image tree.
176 (merge 4986662cbc jc/doc-diff-name-only later to maint).
178 * The credential helper that talks with osx keychain learned to avoid
179 storing back the authentication material it just got received from
181 (merge e1ab45b2da kn/osxkeychain-skip-idempotent-store later to maint).
183 * Other code cleanup, docfix, build fix, etc.
184 (merge 4cf6e7bf5e jt/doc-submitting-rerolled-series later to maint).
185 (merge a5a4cb7b27 rs/diff-parseopts-cleanup later to maint).
186 (merge 395c130fd8 ma/win32-unix-domain-socket later to maint).
187 (merge 7df2405b38 jk/ci-macos-gcc13-fix later to maint).
188 (merge 55702c543e fa/p4-error later to maint).
189 (merge 2566a77774 vd/doc-merge-tree-x-option later to maint).
190 (merge b64b0df9da ds/scalar-reconfigure-all-fix later to maint).
191 (merge c81ffcff83 dm/update-index-doc-fix later to maint).
192 (merge fc0202b0e9 dg/fetch-pack-code-cleanup later to maint).
193 (merge 7150f140f9 mt/t0211-typofix later to maint).
194 (merge d424488901 jc/rev-parse-fatal-doc later to maint).