The fifth batch
[git/debian.git] / Documentation / RelNotes / 2.36.0.txt
blob3e1261c5842da8183edd5349bc4e464425dcd163
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.
13 Note to those who build from the source
15  *
18 UI, Workflows & Features
20  * Assorted updates to "git cat-file", especially "-h".
22  * The command line completion (in contrib/) learns to complete
23    arguments to give to "git sparse-checkout" command.
25  * "git log --remerge-diff" shows the difference from mechanical merge
26    result and the result that is actually recorded in a merge commit.
28  * "git log" and friends learned an option --exclude-first-parent-only
29    to propagate UNINTERESTING bit down only along the first-parent
30    chain, just like --first-parent option shows commits that lack the
31    UNINTERESTING bit only along the first-parent chain.
33  * The command line completion script (in contrib/) learned to
34    complete all Git subcommands, including the ones that are normally
35    hidden, when GIT_COMPLETION_SHOW_ALL_COMMANDS is used.
38 Performance, Internal Implementation, Development Support etc.
40  * "git apply" (ab)used the util pointer of the string-list to keep
41    track of how each symbolic link needs to be handled, which has been
42    simplified by using strset.
44  * Fix a hand-rolled alloca() imitation that may have violated
45    alignment requirement of data being sorted in compatibility
46    implementation of qsort_s() and stable qsort().
48  * Use the parse-options API in "git reflog" command.
50  * The conditional inclusion mechanism of configuration files using
51    "[includeIf <condition>]" learns to base its decision on the
52    URL of the remote repository the repository interacts with.
53    (merge 399b198489 jt/conditional-config-on-remote-url later to maint).
55  * "git name-rev --stdin" does not behave like usual "--stdin" at
56    all.  Start the process of renaming it to "--annotate-stdin".
57    (merge a2585719b3 jc/name-rev-stdin later to maint).
59  * "git update-index", "git checkout-index", and "git clean" are
60    taught to work better with the sparse checkout feature.
63 Fixes since v2.35
64 -----------------
66  * "rebase" and "stash" in secondary worktrees are broken in
67    Git 2.35.0, which has been corrected.
69  * "git pull --rebase" ignored the rebase.autostash configuration
70    variable when the remote history is a descendant of our history,
71    which has been corrected.
72    (merge 3013d98d7a pb/pull-rebase-autostash-fix later to maint).
74  * "git update-index --refresh" has been taught to deal better with
75    racy timestamps (just like "git status" already does).
76    (merge 2ede073fd2 ms/update-index-racy later to maint).
78  * Avoid tests that are run under GIT_TRACE2 set from failing
79    unnecessarily.
80    (merge 944d808e42 js/test-unset-trace2-parents later to maint).
82  * The merge-ort misbehaved when merge.renameLimit configuration is
83    set too low and failed to find all renames.
84    (merge 9ae39fef7f en/merge-ort-restart-optim-fix later to maint).
86  * We explain that revs come first before the pathspec among command
87    line arguments, but did not spell out that dashed options come
88    before other args, which has been corrected.
89    (merge c11f95010c tl/doc-cli-options-first later to maint).
91  * "git add -p" rewritten in C regressed hunk splitting in some cases,
92    which has been corrected.
93    (merge 7008ddc645 pw/add-p-hunk-split-fix later to maint).
95  * "git fetch --negotiate-only" is an internal command used by "git
96    push" to figure out which part of our history is missing from the
97    other side.  It should never recurse into submodules even when
98    fetch.recursesubmodules configuration variable is set, nor it
99    should trigger "gc".  The code has been tightened up to ensure it
100    only does common ancestry discovery and nothing else.
101    (merge de4eaae63a gc/fetch-negotiate-only-early-return later to maint).
103  * The code path that verifies signatures made with ssh were made to
104    work better on a system with CRLF line endings.
105    (merge caeef01ea7 fs/ssh-signing-crlf later to maint).
107  * "git sparse-checkout init" failed to write into $GIT_DIR/info
108    directory when the repository was created without one, which has
109    been corrected to auto-create it.
110    (merge 7f44842ac1 jt/sparse-checkout-leading-dir-fix later to maint).
112  * Cloning from a repository that does not yet have any branches or
113    tags but has other refs resulted in a "remote transport reported
114    error", which has been corrected.
115    (merge dccea605b6 jt/clone-not-quite-empty later to maint).
117  * Mark in various places in the code that the sparse index and the
118    split index features are mutually incompatible.
119    (merge 451b66c533 js/sparse-vs-split-index later to maint).
121  * Update the logic to compute alignment requirement for our mem-pool.
122    (merge e38bcc66d8 jc/mem-pool-alignment later to maint).
124  * Pick a better random number generator and use it when we prepare
125    temporary filenames.
126    (merge 47efda967c bc/csprng-mktemps later to maint).
128  * Update the contributor-facing documents on proposed log messages.
129    (merge cdba0295b0 jc/doc-log-messages later to maint).
131  * When "git fetch --prune" failed to prune the refs it wanted to
132    prune, the command issued error messages but exited with exit
133    status 0, which has been corrected.
134    (merge c9e04d905e tg/fetch-prune-exit-code-fix later to maint).
136  * Problems identified by Coverity in the reftable code have been
137    corrected.
138    (merge 01033de49f hn/reftable-coverity-fixes later to maint).
140  * A bug that made multi-pack bitmap and the object order out-of-sync,
141    making the .midx data corrupt, has been fixed.
142    (merge f8b60cf99b tb/midx-bitmap-corruption-fix later to maint).
144  * The build procedure has been taught to notice older version of zlib
145    and enable our replacement uncompress2() automatically.
146    (merge 07564773c2 ab/auto-detect-zlib-compress2 later to maint).
148  * Interaction between fetch.negotiationAlgorithm and
149    feature.experimental configuration variables has been corrected.
150    (merge 714edc620c en/fetch-negotiation-default-fix later to maint).
152  * "git diff --diff-filter=aR" is now parsed correctly.
153    (merge 75408ca949 js/diff-filter-negation-fix later to maint).
155  * When "git subtree" wants to create a merge, it used "git merge" and
156    let it be affected by end-user's "merge.ff" configuration, which
157    has been corrected.
158    (merge 9158a3564a tk/subtree-merge-not-ff-only later to maint).
160  * Unlike "git apply", "git patch-id" did not handle patches with
161    hunks that has only 1 line in either preimage or postimage, which
162    has been corrected.
163    (merge 757e75c81e jz/patch-id-hunk-header-parsing-fix later to maint).
165  * Other code cleanup, docfix, build fix, etc.
166    (merge cfc5cf428b jc/find-header later to maint).
167    (merge 40e7cfdd46 jh/p4-fix-use-of-process-error-exception later to maint).
168    (merge 727e6ea350 jh/p4-spawning-external-commands-cleanup later to maint).
169    (merge 0a6adc26e2 rs/grep-expr-cleanup later to maint).
170    (merge 4ed7dfa713 po/readme-mention-contributor-hints later to maint).
171    (merge 6046f7a91c en/plug-leaks-in-merge later to maint).
172    (merge 8c591dbfce bc/clarify-eol-attr later to maint).
173    (merge 518e15db74 rs/parse-options-lithelp-help later to maint).
174    (merge cbac0076ef gh/doc-typos later to maint).
175    (merge ce14de03db ab/no-errno-from-resolve-ref-unsafe later to maint).
176    (merge 2826ffad8c rc/negotiate-only-typofix later to maint).
177    (merge 0f03f04c5c en/sparse-checkout-leakfix later to maint).
178    (merge 74f3390dde sy/diff-usage-typofix later to maint).
179    (merge 45d0212a71 ll/doc-mktree-typofix later to maint).
180    (merge e9b272e4c1 js/no-more-legacy-stash later to maint).
181    (merge 6798b08e84 ab/do-not-hide-failures-in-git-dot-pm later to maint).
182    (merge 9325285df4 po/doc-check-ignore-markup-fix later to maint).
183    (merge cd26cd6c7c sy/modernize-t-lib-read-tree-m-3way later to maint).