pager.h: move declarations for pager.c functions from cache.h
[alt-git.git] / Documentation / RelNotes / 2.41.0.txt
blobd6095a5df383dfc976ccd0fee8496ffea92bad6b
1 Git v2.41 Release Notes
2 =======================
4 UI, Workflows & Features
6  * Allow information carried on the WWW-AUthenticate header to be
7    passed to the credential helpers.
9  * A new "fetch.hideRefs" option can be used to exclude specified refs
10    from "rev-list --objects --stdin --not --all" traversal for
11    checking object connectivity, most useful when there are many
12    unrelated histories in a single repository.
14  * "git push" has been taught to allow deletion of refs with one-level
15    names to help repairing a repository who acquired such a ref by
16    mistake.  In general, we don't encourage use of such a ref, and
17    creation or update to such a ref is rejected as before.
19  * Allow "git bisect reset" to check out the original branch when the
20    branch is already checked out in a different worktree linked to the
21    same repository.
23  * A few subcommands have been taught to stop users from working on a
24    branch that is being used in another worktree linked to the same
25    repository.
27  * "git format-patch" learned to write a log-message only output file
28    for empty commits.
31 Performance, Internal Implementation, Development Support etc.
33  * Code clean-up to clarify directory traversal API.
35  * Code clean-up to clarify the rule that "git-compat-util.h" must be
36    the first to be included.
38  * More work towards -Wunused.
40  * Instead of forcing each command to choose to honor GPG related
41    configuration variables, make the subsystem lazily initialize
42    itself.
45 Fixes since v2.40
46 -----------------
48  * "git fsck" learned to check the index files in other worktrees,
49    just like "git gc" honors them as anchoring points.
50    (merge 8d3e7eac52 jk/fsck-indices-in-worktrees later to maint).
52  * Fix a segfaulting loop.  The function and its caller may need
53    further clean-up.
54    (merge c5773dc078 ew/commit-reach-clean-up-flags-fix later to maint).
56  * "git restore" supports options like "--ours" that are only
57    meaningful during a conflicted merge, but these options are only
58    meaningful when updating the working tree files.  These options are
59    marked to be incompatible when both "--staged" and "--worktree" are
60    in effect.
61    (merge ee8a88826a ak/restore-both-incompatible-with-conflicts later to maint).
63  * Simplify UI to control progress meter given by "git bundle" command.
64    (merge 8b95521edb jk/bundle-progress later to maint).
66  * "git bundle" learned that "-" is a common way to say that the input
67    comes from the standard input and/or the output goes to the
68    standard output.  It used to work only for output and only from the
69    root level of the working tree.
70    (merge 0bbe10313e jk/bundle-use-dash-for-stdfiles later to maint).
72  * Once we start running, we assumed that the list of alternate object
73    databases would never change.  Hook into the machinery used to
74    update the list of packfiles during runtime to update this list as
75    well.
76    (merge e2d003dbed ds/reprepare-alternates-when-repreparing-packfiles later to maint).
78  * The code to parse "git rebase -X<opt>" was not prepared to see an
79    unparsable option string, which has been corrected.
80    (merge 15a4cc912e ab/fix-strategy-opts-parsing later to maint).
82  * "git add -p" while the index is unmerged sometimes failed to parse
83    the diff output it internally produces and died, which has been
84    corrected.
85    (merge 28d1122f9c jk/add-p-unmerged-fix later to maint).
87  * Other code cleanup, docfix, build fix, etc.
88    (merge f7111175df as/doc-markup-fix later to maint).