lazyload.h: fix warnings about mismatching function pointer types
[git/debian.git] / Documentation / RelNotes / 2.34.0.txt
blob7ce5ab7cc2bf8147c02adf9a5fc368a34a6a31f1
1 Git 2.34 Release Notes
2 ======================
4 Updates since Git 2.33
5 ----------------------
7 UI, Workflows & Features
9  * Pathname expansion (like "~username/") learned a way to specify a
10    location relative to Git installation (e.g. its $sharedir which is
11    $(prefix)/share), with "%(prefix)".
13  * Use `ort` instead of `recursive` as the default merge strategy.
15  * The userdiff pattern for "java" language has been updated.
17  * "git rebase" by default skips changes that are equivalent to
18    commits that are already in the history the branch is rebased onto;
19    give messages when this happens to let the users be aware of
20    skipped commits, and also teach them how to tell "rebase" to keep
21    duplicated changes.
23  * The advice message that "git cherry-pick" gives when it asks
24    conflicted replay of a commit to be resolved by the end user has
25    been updated.
27  * After "git clone --recurse-submodules", all submodules are cloned
28    but they are not by default recursed into by other commands.  With
29    submodule.stickyRecursiveClone configuration set, submodule.recurse
30    configuration is set to true in a repository created by "clone"
31    with "--recurse-submodules" option.
33  * The logic for auto-correction of misspelt subcommands learned to go
34    interactive when the help.autocorrect configuration variable is set
35    to 'prompt'.
37  * "git maintenance" scheduler learned to use systemd timers as a
38    possible backend.
40  * "git diff --submodule=diff" showed failure from run_command() when
41    trying to run diff inside a submodule, when the user manually
42    removes the submodule directory.
44  * "git bundle unbundle" learned to show progress display.
46  * In cone mode, the sparse-index code path learned to remove ignored
47    files (like build artifacts) outside the sparse cone, allowing the
48    entire directory outside the sparse cone to be removed, which is
49    especially useful when the sparse patterns change.
52 Performance, Internal Implementation, Development Support etc.
54  * "git bisect" spawned "git show-branch" only to pretty-print the
55    title of the commit after checking out the next version to be
56    tested; this has been rewritten in C.
58  * "git add" can work better with the sparse index.
60  * Support for ancient versions of cURL library (pre 7.19.4) has been
61    dropped.
63  * A handful of tests that assumed implementation details of files
64    backend for refs have been cleaned up.
66  * trace2 logs learned to show parent process name to see in what
67    context Git was invoked.
69  * Loading of ref tips to prepare for common ancestry negotiation in
70    "git fetch-pack" has been optimized by taking advantage of the
71    commit graph when available.
73  * Remind developers that the userdiff patterns should be kept simple
74    and permissive, assuming that the contents they apply are always
75    syntactically correct.
77  * The current implementation of GIT_TEST_FAIL_PREREQS is broken in
78    that checking for the lack of a prerequisite would not work.  Avoid
79    the use of "if ! test_have_prereq X" in a test script.
81  * The revision traversal API has been optimized by taking advantage
82    of the commit-graph, when available, to determine if a commit is
83    reachable from any of the existing refs.
85  * "git fetch --quiet" optimization to avoid useless computation of
86    info that will never be displayed.
88  * Callers from older advice_config[] based API has been updated to
89    use the newer advice_if_enabled() and advice_enabled() API.
91  * Teach "test_pause" and "debug" helpers to allow using the HOME and
92    TERM environment variables the user usually uses.
94  * "make INSTALL_STRIP=-s install" allows the installation step to use
95    "install -s" to strip the binaries as they get installed.
97  * Code that handles large number of refs in the "git fetch" code
98    path has been optimized.
100  * The reachability bitmap file used to be generated only for a single
101    pack, but now we've learned to generate bitmaps for history that
102    span across multiple packfiles.
104  * The code to make "git grep" recurse into submodules has been
105    updated to migrate away from the "add submodule's object store as
106    an alternate object store" mechanism (which is suboptimal).
108  * The tracing of process ancestry information has been enhanced.
110  * Reduce number of write(2) system calls while sending the
111    ref advertisement.
113  * Update the build procedure to use the "-pedantic" build when
114    DEVELOPER makefile macro is in effect.
116  * Large part of "git submodule add" gets rewritten in C.
118  * The run-command API has been updated so that the callers can easily
119    ask the file descriptors open for packfiles to be closed immediately
120    before spawning commands that may trigger auto-gc.
123 Fixes since v2.33
124 -----------------
126  * Input validation of "git pack-objects --stdin-packs" has been
127    corrected.
128    (merge 561fa03529 ab/pack-stdin-packs-fix later to maint).
130  * Bugfix for common ancestor negotiation recently introduced in "git
131    push" code path.
132    (merge 82823118b9 jt/push-negotiation-fixes later to maint).
134  * "git pull" had various corner cases that were not well thought out
135    around its --rebase backend, e.g. "git pull --ff-only" did not stop
136    but went ahead and rebased when the history on other side is not a
137    descendant of our history.  The series tries to fix them up.
138    (merge 6f843a3355 en/pull-conflicting-options later to maint).
140  * "git apply" miscounted the bytes and failed to read to the end of
141    binary hunks.
142    (merge 46d723ce57 jk/apply-binary-hunk-parsing-fix later to maint).
144  * "git range-diff" code clean-up.
145    (merge c4d5907324 jk/range-diff-fixes later to maint).
147  * "git commit --fixup" now works with "--edit" again, after it was
148    broken in v2.32.
149    (merge 8ef6aad664 jk/commit-edit-fixup-fix later to maint).
151  * Use upload-artifacts v1 (instead of v2) for 32-bit linux, as the
152    new version has a blocker bug for that architecture.
153    (merge 3cf9bb36bf cb/ci-use-upload-artifacts-v1 later to maint).
155  * Checking out all the paths from HEAD during the last conflicted
156    step in "git rebase" and continuing would cause the step to be
157    skipped (which is expected), but leaves MERGE_MSG file behind in
158    $GIT_DIR and confuses the next "git commit", which has been
159    corrected.
160    (merge e5ee33e855 pw/rebase-skip-final-fix later to maint).
162  * Various bugs in "git rebase -r" have been fixed.
163    (merge f2563c9ef3 pw/rebase-r-fixes later to maint).
165  * mmap() imitation used to call xmalloc() that dies upon malloc()
166    failure, which has been corrected to just return an error to the
167    caller to be handled.
168    (merge 95b4ff3931 rs/git-mmap-uses-malloc later to maint).
170  * "git diff --relative" segfaulted and/or produced incorrect result
171    when there are unmerged paths.
172    (merge 8174627b3d dd/diff-files-unmerged-fix later to maint).
174  * The delayed checkout code path in "git checkout" etc. were chatty
175    even when --quiet and/or --no-progress options were given.
176    (merge 7a132c628e mt/quiet-with-delayed-checkout later to maint).
178  * "git branch -D <branch>" used to refuse to remove a broken branch
179    ref that points at a missing commit, which has been corrected.
180    (merge 597a977489 rs/branch-allow-deleting-dangling later to maint).
182  * Build update for Apple clang.
183    (merge f32c5d3716 cb/makefile-apple-clang later to maint).
185  * The parser for the "--nl" option of "git column" has been
186    corrected.
187    (merge c93ca46cf5 sg/column-nl later to maint).
189  * "git upload-pack" which runs on the other side of "git fetch"
190    forgot to take the ref namespaces into account when handling
191    want-ref requests.
192    (merge 53a66ec37c ka/want-ref-in-namespace later to maint).
194  * The sparse-index support can corrupt the index structure by storing
195    a stale and/or uninitialized data, which has been corrected.
196    (merge d9e9b44d7a jh/sparse-index-resize-fix later to maint).
198  * Buggy tests could damage repositories outside the throw-away test
199    area we created.  We now by default export GIT_CEILING_DIRECTORIES
200    to limit the damage from such a stray test.
201    (merge 614c3d8f2e sg/set-ceiling-during-tests later to maint).
203  * Even when running "git send-email" without its own threaded
204    discussion support, a threading related header in one message is
205    carried over to the subsequent message to result in an unwanted
206    threading, which has been corrected.
207    (merge e082113484 mh/send-email-reset-in-reply-to later to maint).
209  * The output from "git fast-export", when its anonymization feature
210    is in use, showed an annotated tag incorrectly.
211    (merge 2f040a9671 tk/fast-export-anonymized-tag-fix later to maint).
213  * Doc update plus improved error reporting.
214    (merge 1e93770888 jk/log-warn-on-bogus-encoding later to maint).
216  * Recent "diff -m" changes broke "gitk", which has been corrected.
217    (merge 5acffd3473 so/diff-index-regression-fix later to maint).
219  * Regression fix.
220    (merge b996f84989 ab/send-email-config-fix later to maint).
222  * The "git apply -3" code path learned not to bother the lower level
223    merge machinery when the three-way merge can be trivially resolved
224    without the content level merge.  This fixes a regression caused by
225    recent "-3way first and fall back to direct application" change.
226    (merge 57f183b698 jc/trivial-threeway-binary-merge later to maint).
228  * The code that optionally creates the *.rev reverse index file has
229    been optimized to avoid needless computation when it is not writing
230    the file out.
231    (merge 8fe8bae9d2 ab/reverse-midx-optim later to maint).
233  * "git range-diff -I... <range> <range>" segfaulted, which has been
234    corrected.
235    (merge 709b3f32d3 rs/range-diff-avoid-segfault-with-I later to maint).
237  * The order in which various files that make up a single (conceptual)
238    packfile has been reevaluated and straightened up.  This matters in
239    correctness, as an incomplete set of files must not be shown to a
240    running Git.
241    (merge 4bc1fd6e39 tb/pack-finalize-ordering later to maint).
243  * The "mode" word is useless in a call to open(2) that does not
244    create a new file.  Such a call in the files backend of the ref
245    subsystem has been cleaned up.
246    (merge 35cf94eaf6 rs/no-mode-to-open-when-appending later to maint).
248  * Other code cleanup, docfix, build fix, etc.
249    (merge 1d9c8daef8 ab/bundle-doc later to maint).
250    (merge 81483fe613 en/merge-strategy-docs later to maint).
251    (merge 626beebdf8 js/log-protocol-version later to maint).
252    (merge 00e302da76 cb/builtin-merge-format-string-fix later to maint).
253    (merge ad51ae4dc0 cb/ci-freebsd-update later to maint).
254    (merge be6444d1ca fc/completion-updates later to maint).
255    (merge ff7b83f562 ti/tcsh-completion-regression-fix later to maint).
256    (merge 325b06deda sg/make-fix-ar-invocation later to maint).
257    (merge bd72824c60 me/t5582-cleanup later to maint).
258    (merge f6a5af0f62 ga/send-email-sendmail-cmd later to maint).
259    (merge f58c7468cd ab/ls-remote-packet-trace later to maint).
260    (merge 0160f7e725 ab/rebase-fatal-fatal-fix later to maint).
261    (merge a16eb6b1ff js/maintenance-launchctl-fix later to maint).
262    (merge c21b2511c2 jk/t5323-no-pack-test-fix later to maint).
263    (merge 5146c2f148 mh/credential-leakfix later to maint).
264    (merge 1549577338 dd/t6300-wo-gpg-fix later to maint).
265    (merge 66e905b7dd rs/xopen-reports-open-failures later to maint).
266    (merge 469888e6a5 es/walken-tutorial-fix later to maint).
267    (merge 88682b016d ba/object-info later to maint).
268    (merge b45c172e51 ab/gc-log-rephrase later to maint).
269    (merge ccdd5d1eb1 ab/mailmap-leakfix later to maint).
270    (merge 6540b71614 cb/remote-ndebug-fix later to maint).
271    (merge e4f8d27585 rs/show-branch-simplify later to maint).
272    (merge e124ecf7f7 rs/archive-use-object-id later to maint).
273    (merge cebead1ebf cb/ci-build-pedantic later to maint).
274    (merge ca0cc98e03 bs/doc-bugreport-outdir later to maint).
275    (merge 72b113e562 ab/no-more-check-bindir later to maint).
276    (merge 92a5d1c9b4 jc/prefix-filename-allocates later to maint).
277    (merge d9a65b6c0a rs/setup-use-xopen-and-xdup later to maint).
278    (merge e8f55568de jk/t5562-racefix later to maint).