submodule--helper run-update-procedure: remove --suboid
[git.git] / Documentation / RelNotes / 2.36.0.txt
blobde1e11e25a23b81db0aac1d87ec097493a47765b
1 Git 2.36 Release Notes
2 ======================
4 Updates since Git 2.35
5 ----------------------
7 Backward compatibility warts
9  * "git name-rev --stdin" has been deprecated and issues a warning
10    when used; use "git name-rev --annotate-stdin" instead.
12  * "git clone --filter=... --recurse-submodules" only makes the
13    top-level a partial clone, while submodules are fully cloned.  This
14    behaviour is changed to pass the same filter down to the submodules.
17 Note to those who build from the source
19  *
22 UI, Workflows & Features
24  * Assorted updates to "git cat-file", especially "-h".
26  * The command line completion (in contrib/) learns to complete
27    arguments to give to "git sparse-checkout" command.
29  * "git log --remerge-diff" shows the difference from mechanical merge
30    result and the result that is actually recorded in a merge commit.
32  * "git log" and friends learned an option --exclude-first-parent-only
33    to propagate UNINTERESTING bit down only along the first-parent
34    chain, just like --first-parent option shows commits that lack the
35    UNINTERESTING bit only along the first-parent chain.
37  * The command line completion script (in contrib/) learned to
38    complete all Git subcommands, including the ones that are normally
39    hidden, when GIT_COMPLETION_SHOW_ALL_COMMANDS is used.
41  * "git branch" learned the "--recurse-submodules" option.
44 Performance, Internal Implementation, Development Support etc.
46  * "git apply" (ab)used the util pointer of the string-list to keep
47    track of how each symbolic link needs to be handled, which has been
48    simplified by using strset.
50  * Fix a hand-rolled alloca() imitation that may have violated
51    alignment requirement of data being sorted in compatibility
52    implementation of qsort_s() and stable qsort().
54  * Use the parse-options API in "git reflog" command.
56  * The conditional inclusion mechanism of configuration files using
57    "[includeIf <condition>]" learns to base its decision on the
58    URL of the remote repository the repository interacts with.
59    (merge 399b198489 jt/conditional-config-on-remote-url later to maint).
61  * "git name-rev --stdin" does not behave like usual "--stdin" at
62    all.  Start the process of renaming it to "--annotate-stdin".
63    (merge a2585719b3 jc/name-rev-stdin later to maint).
65  * "git update-index", "git checkout-index", and "git clean" are
66    taught to work better with the sparse checkout feature.
68  * Use an internal call to reset_head() helper function instead of
69    spawning "git checkout" in "rebase", and update code paths that are
70    involved in the change.
72  * Messages "ort" merge backend prepares while dealing with conflicted
73    paths were unnecessarily confusing since it did not differentiate
74    inner merges and outer merges.
77 Fixes since v2.35
78 -----------------
80  * "rebase" and "stash" in secondary worktrees are broken in
81    Git 2.35.0, which has been corrected.
83  * "git pull --rebase" ignored the rebase.autostash configuration
84    variable when the remote history is a descendant of our history,
85    which has been corrected.
86    (merge 3013d98d7a pb/pull-rebase-autostash-fix later to maint).
88  * "git update-index --refresh" has been taught to deal better with
89    racy timestamps (just like "git status" already does).
90    (merge 2ede073fd2 ms/update-index-racy later to maint).
92  * Avoid tests that are run under GIT_TRACE2 set from failing
93    unnecessarily.
94    (merge 944d808e42 js/test-unset-trace2-parents later to maint).
96  * The merge-ort misbehaved when merge.renameLimit configuration is
97    set too low and failed to find all renames.
98    (merge 9ae39fef7f en/merge-ort-restart-optim-fix later to maint).
100  * We explain that revs come first before the pathspec among command
101    line arguments, but did not spell out that dashed options come
102    before other args, which has been corrected.
103    (merge c11f95010c tl/doc-cli-options-first later to maint).
105  * "git add -p" rewritten in C regressed hunk splitting in some cases,
106    which has been corrected.
107    (merge 7008ddc645 pw/add-p-hunk-split-fix later to maint).
109  * "git fetch --negotiate-only" is an internal command used by "git
110    push" to figure out which part of our history is missing from the
111    other side.  It should never recurse into submodules even when
112    fetch.recursesubmodules configuration variable is set, nor it
113    should trigger "gc".  The code has been tightened up to ensure it
114    only does common ancestry discovery and nothing else.
115    (merge de4eaae63a gc/fetch-negotiate-only-early-return later to maint).
117  * The code path that verifies signatures made with ssh were made to
118    work better on a system with CRLF line endings.
119    (merge caeef01ea7 fs/ssh-signing-crlf later to maint).
121  * "git sparse-checkout init" failed to write into $GIT_DIR/info
122    directory when the repository was created without one, which has
123    been corrected to auto-create it.
124    (merge 7f44842ac1 jt/sparse-checkout-leading-dir-fix later to maint).
126  * Cloning from a repository that does not yet have any branches or
127    tags but has other refs resulted in a "remote transport reported
128    error", which has been corrected.
129    (merge dccea605b6 jt/clone-not-quite-empty later to maint).
131  * Mark in various places in the code that the sparse index and the
132    split index features are mutually incompatible.
133    (merge 451b66c533 js/sparse-vs-split-index later to maint).
135  * Update the logic to compute alignment requirement for our mem-pool.
136    (merge e38bcc66d8 jc/mem-pool-alignment later to maint).
138  * Pick a better random number generator and use it when we prepare
139    temporary filenames.
140    (merge 47efda967c bc/csprng-mktemps later to maint).
142  * Update the contributor-facing documents on proposed log messages.
143    (merge cdba0295b0 jc/doc-log-messages later to maint).
145  * When "git fetch --prune" failed to prune the refs it wanted to
146    prune, the command issued error messages but exited with exit
147    status 0, which has been corrected.
148    (merge c9e04d905e tg/fetch-prune-exit-code-fix later to maint).
150  * Problems identified by Coverity in the reftable code have been
151    corrected.
152    (merge 01033de49f hn/reftable-coverity-fixes later to maint).
154  * A bug that made multi-pack bitmap and the object order out-of-sync,
155    making the .midx data corrupt, has been fixed.
156    (merge f8b60cf99b tb/midx-bitmap-corruption-fix later to maint).
158  * The build procedure has been taught to notice older version of zlib
159    and enable our replacement uncompress2() automatically.
160    (merge 07564773c2 ab/auto-detect-zlib-compress2 later to maint).
162  * Interaction between fetch.negotiationAlgorithm and
163    feature.experimental configuration variables has been corrected.
164    (merge 714edc620c en/fetch-negotiation-default-fix later to maint).
166  * "git diff --diff-filter=aR" is now parsed correctly.
167    (merge 75408ca949 js/diff-filter-negation-fix later to maint).
169  * When "git subtree" wants to create a merge, it used "git merge" and
170    let it be affected by end-user's "merge.ff" configuration, which
171    has been corrected.
172    (merge 9158a3564a tk/subtree-merge-not-ff-only later to maint).
174  * Unlike "git apply", "git patch-id" did not handle patches with
175    hunks that has only 1 line in either preimage or postimage, which
176    has been corrected.
177    (merge 757e75c81e jz/patch-id-hunk-header-parsing-fix later to maint).
179  * "receive-pack" checks if it will do any ref updates (various
180    conditions could reject a push) before received objects are taken
181    out of the temporary directory used for quarantine purposes, so
182    that a push that is known-to-fail will not leave crufts that a
183    future "gc" needs to clean up.
184    (merge 5407764069 cb/clear-quarantine-early-on-all-ref-update-errors later to maint).
186  * Because a deletion of ref would need to remove it from both the
187    loose ref store and the packed ref store, a delete-ref operation
188    that logically removes one ref may end up invoking ref-transaction
189    hook twice, which has been corrected.
190    (merge 2ed1b64ebd ps/avoid-unnecessary-hook-invocation-with-packed-refs later to maint).
192  * When there is no object to write .bitmap file for, "git
193    multi-pack-index" triggered an error, instead of just skipping,
194    which has been corrected.
195    (merge eb57277ba3 tb/midx-no-bitmap-for-no-objects later to maint).
197  * "git cmd -h" outside a repository should error out cleanly for many
198    commands, but instead it hit a BUG(), which has been corrected.
199    (merge 87ad07d735 js/short-help-outside-repo-fix later to maint).
201  * "working tree" and "per-worktree ref" were in glossary, but
202    "worktree" itself wasn't, which has been corrected.
203    (merge 2df5387ed0 jc/glossary-worktree later to maint).
205  * L10n support for a few error messages.
206    (merge 3d3c23b3a7 bs/forbid-i18n-of-protocol-token-in-fetch-pack later to maint).
208  * Test modernization.
209    (merge d4fe066e4b sy/t0001-use-path-is-helper later to maint).
211  * "git log --graph --graph" used to leak a graph structure, and there
212    was no way to countermand "--graph" that appear earlier on the
213    command line.  A "--no-graph" option has been added and resource
214    leakage has been plugged.
216  * Error output given in response to an ambiguous object name has been
217    improved.
218    (merge 3a73c1dfaf ab/ambiguous-object-name later to maint).
220  * "git sparse-checkout" wants to work with per-worktree configuration,
221    but did not work well in a worktree attached to a bare repository.
222    (merge 3ce1138272 ds/sparse-checkout-requires-per-worktree-config later to maint).
224  * Setting core.untrackedCache to true failed to add the untracked
225    cache extension to the index.
227  * Workaround we have for versions of PCRE2 before their version 10.36
228    were in effect only for their versions newer than 10.36 by mistake,
229    which has been corrected.
230    (merge 97169fc361 rs/pcre-invalid-utf8-fix-fix later to maint).
232  * Document Taylor as a new member of Git PLC at SFC.  Welcome.
233    (merge e8d56ca863 tb/coc-plc-update later to maint).
235  * Other code cleanup, docfix, build fix, etc.
236    (merge cfc5cf428b jc/find-header later to maint).
237    (merge 40e7cfdd46 jh/p4-fix-use-of-process-error-exception later to maint).
238    (merge 727e6ea350 jh/p4-spawning-external-commands-cleanup later to maint).
239    (merge 0a6adc26e2 rs/grep-expr-cleanup later to maint).
240    (merge 4ed7dfa713 po/readme-mention-contributor-hints later to maint).
241    (merge 6046f7a91c en/plug-leaks-in-merge later to maint).
242    (merge 8c591dbfce bc/clarify-eol-attr later to maint).
243    (merge 518e15db74 rs/parse-options-lithelp-help later to maint).
244    (merge cbac0076ef gh/doc-typos later to maint).
245    (merge ce14de03db ab/no-errno-from-resolve-ref-unsafe later to maint).
246    (merge 2826ffad8c rc/negotiate-only-typofix later to maint).
247    (merge 0f03f04c5c en/sparse-checkout-leakfix later to maint).
248    (merge 74f3390dde sy/diff-usage-typofix later to maint).
249    (merge 45d0212a71 ll/doc-mktree-typofix later to maint).
250    (merge e9b272e4c1 js/no-more-legacy-stash later to maint).
251    (merge 6798b08e84 ab/do-not-hide-failures-in-git-dot-pm later to maint).
252    (merge 9325285df4 po/doc-check-ignore-markup-fix later to maint).
253    (merge cd26cd6c7c sy/modernize-t-lib-read-tree-m-3way later to maint).
254    (merge d17294a05e ab/hash-object-leakfix later to maint).
255    (merge b8403129d3 jd/t0015-modernize later to maint).
256    (merge 332acc248d ds/mailmap later to maint).
257    (merge 04bf052eef ab/grep-patterntype later to maint).
258    (merge 6ee36364eb ab/diff-free-more later to maint).