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.
46 Performance, Internal Implementation, Development Support etc.
48 * Advertise "git contacts", a tool for newcomers to find people to
49 ask review for their patches, a bit more in our developer
52 * In addition to building the objects needed, try to link the objects
53 that are used in fuzzer tests, to make sure at least they build
54 without bitrot, in Linux CI runs.
56 * Code to write out reftable has seen some optimization and
59 * Tests to ensure interoperability between reftable written by jgit
60 and our code have been added and enabled in CI.
62 * The singleton index_state instance "the_index" has been eliminated
63 by always instantiating "the_repository" and replacing references
64 to "the_index" with references to its .index member.
66 * Git-GUI has a new maintainer, Johannes Sixt.
67 (merge e18ad8eb26 jc/git-gui-maintainer-update later to maint).
69 * The "test-tool" has been taught to run testsuite tests in parallel,
70 bypassing the need to use the "prove" tool.
72 * The "whitespace check" task that was enabled for GitHub Actions CI
73 has been ported to GitLab CI.
75 * The refs API lost functions that implicitly assumes to work on the
76 primary ref_store by forcing the callers to pass a ref_store as an
83 * "git rebase --signoff" used to forget that it needs to add a
84 sign-off to the resulting commit when told to continue after a
85 conflict stops its operation.
86 (merge a6c2654f83 pw/rebase-m-signoff-fix later to maint).
88 * The procedure to build multi-pack-index got confused by the
89 replace-refs mechanism, which has been corrected by disabling the
91 (merge 93e2ae1c95 xx/disable-replace-when-building-midx later to maint).
93 * The "-k" and "--rfc" options of "format-patch" will now error out
94 when used together, as one tells us not to add anything to the
95 title of the commit, and the other one tells us to add "RFC" in
97 (merge cadcf58085 ds/format-patch-rfc-and-k later to maint).
99 * "git stash -S" did not handle binary files correctly, which has
101 (merge 5fb7686409 aj/stash-staged-fix later to maint).
103 * A scheduled "git maintenance" job is expected to work on all
104 repositories it knows about, but it stopped at the first one that
105 errored out. Now it keeps going.
106 (merge c75662bfc9 js/for-each-repo-keep-going later to maint).
108 * zsh can pretend to be a normal shell pretty well except for some
109 glitches that we tickle in some of our scripts. Work them around
110 so that "vimdiff" and our test suite works well enough with it.
111 (merge fedd5c79ff bc/zsh-compatibility later to maint).
113 * Command line completion support for zsh (in contrib/) has been
114 updated to stop exposing internal state to end-user shell
116 (merge 3c20acdf46 dk/zsh-git-repo-path-fix later to maint).
118 * Tests that try to corrupt in-repository files in chunked format did
119 not work well on macOS due to its broken "mv", which has been
121 (merge 861dc19ba8 jc/test-workaround-broken-mv later to maint).
123 * The maximum size of attribute files is enforced more consistently.
124 (merge c793f9cb08 tb/attr-limits later to maint).
126 * Unbreak CI jobs so that we do not attempt to use Python 2 that has
127 been removed from the platform.
128 (merge 5ca0c455f1 ps/ci-python-2-deprecation later to maint).
130 * Git 2.43 started using the tree of HEAD as the source of attributes
131 in a bare repository, which has severe performance implications.
132 For now, revert the change, without ripping out a more explicit
133 support for the attr.tree configuration variable.
134 (merge 51441e6460 jc/no-default-attr-tree-in-bare later to maint).
136 * The "--exit-code" option of "git diff" command learned to work with
137 the "--ext-diff" option.
138 (merge 11be65cfa4 rs/external-diff-with-exit-code later to maint).
140 * Windows CI running in GitHub Actions started complaining about the
141 order of arguments given to calloc(); the imported regex code uses
142 the wrong order almost consistently, which has been corrected.
143 (merge f01301aabe jc/compat-regex-calloc-fix later to maint).
145 * Expose "name conflict" error when a ref creation fails due to D/F
146 conflict in the ref namespace, to improve an error message given by
148 (merge 9339fca23e it/refs-name-conflict later to maint).
150 * Other code cleanup, docfix, build fix, etc.
151 (merge 4cf6e7bf5e jt/doc-submitting-rerolled-series later to maint).
152 (merge a5a4cb7b27 rs/diff-parseopts-cleanup later to maint).
153 (merge 395c130fd8 ma/win32-unix-domain-socket later to maint).
154 (merge 7df2405b38 jk/ci-macos-gcc13-fix later to maint).
155 (merge 55702c543e fa/p4-error later to maint).
156 (merge 2566a77774 vd/doc-merge-tree-x-option later to maint).
157 (merge b64b0df9da ds/scalar-reconfigure-all-fix later to maint).
158 (merge c81ffcff83 dm/update-index-doc-fix later to maint).
159 (merge fc0202b0e9 dg/fetch-pack-code-cleanup later to maint).