git-prompt: document how in-progress operations affect the prompt
[git/debian.git] / Documentation / RelNotes / 2.28.0.txt
blob9fc6dc3a1330148dd3b5c28e6884067d19a35307
1 Git 2.28 Release Notes
2 ======================
4 Updates since v2.27
5 -------------------
7 Backward compatibility notes
9  * "feature.experimental" configuration variable is to let volunteers
10    easily opt into a set of newer features, which use of the v2
11    transport protocol is now a part of.
14 UI, Workflows & Features
16  * The commands in the "diff" family learned to honor "diff.relative"
17    configuration variable.
19  * The check in "git fsck" to ensure that the tree objects are sorted
20    still had corner cases it missed unsorted entries.
23 Performance, Internal Implementation, Development Support etc.
25  * Code optimization for a common case.
26    (merge 8777616e4d an/merge-single-strategy-optim later to maint).
28  * We've adopted a convention that any on-stack structure can be
29    initialized to have zero values in all fields with "= { 0 }",
30    even when the first field happens to be a pointer, but sparse
31    complained that a null pointer should be spelled NULL for a long
32    time.  Start using -Wno-universal-initializer option to squelch
33    it (the latest sparse has it on by default).
35  * "git log -L..." now takes advantage of the "which paths are touched
36    by this commit?" info stored in the commit-graph system.
38  * As FreeBSD is not the only platform whose regexp library reports
39    a REG_ILLSEQ error when fed invalid UTF-8, add logic to detect that
40    automatically and skip the affected tests.
42  * "git bugreport" learns to report what shell is in use.
44  * Support for GIT_CURL_VERBOSE has been rewritten in terms of
45    GIT_TRACE_CURL.
47  * Preliminary clean-ups around refs API, plus file format
48    specification documentation for the reftable backend.
50  * Workaround breakage in MSVC build, where "curl-config --cflags"
51    gives settings appropriate for GCC build.
54 Fixes since v2.27
55 -----------------
57  * The "--prepare-p4-only" option of "git p4" is supposed to stop
58    after replaying one changeset, but kept going (by mistake?)
60  * The error message from "git checkout -b foo -t bar baz" was
61    confusing.
63  * Some repositories in the wild have commits that record nonsense
64    committer timezone (e.g. rails.git); "git fast-import" learned an
65    option to pass these nonsense timestamps intact to allow recreating
66    existing repositories as-is.
67    (merge d42a2fb72f en/fast-import-looser-date later to maint).
69  * The command line completion script (in contrib/) tried to complete
70    "git stash -p" as if it were "git stash push -p", but it was too
71    aggressive and also affected "git stash show -p", which has been
72    corrected.
73    (merge fffd0cf520 vs/complete-stash-show-p-fix later to maint).
75  * On-the-wire protocol v2 easily falls into a deadlock between the
76    remote-curl helper and the fetch-pack process when the server side
77    prematurely throws an error and disconnects.  The communication has
78    been updated to make it more robust.
80  * "git checkout -p" did not handle a newly added path at all.
81    (merge 2c8bd8471a js/checkout-p-new-file later to maint).
83  * The code to parse "git bisect start" command line was lax in
84    validating the arguments.
85    (merge 4d9005ff5d cb/bisect-helper-parser-fix later to maint).
87  * Reduce memory usage during "diff --quiet" in a worktree with too
88    many stat-unmatched paths.
89    (merge d2d7fbe129 jk/diff-memuse-optim-with-stat-unmatch later to maint).
91  * The reflog entries for "git clone" and "git fetch" did not
92    anonymize the URL they operated on.
93    (merge 46da295a77 js/reflog-anonymize-for-clone-and-fetch later to maint).
95  * The behaviour of "sparse-checkout" in the state "git clone
96    --no-checkout" left was changed accidentally in 2.27, which has
97    been corrected.
99  * Use of negative pathspec, while collecting paths including
100    untracked ones in the working tree, was broken.
102  * Other code cleanup, docfix, build fix, etc.
103    (merge 2c31a7aa44 jx/pkt-line-doc-count-fix later to maint).
104    (merge d63ae31962 cb/t5608-cleanup later to maint).
105    (merge 788db145c7 dl/t-readme-spell-git-correctly later to maint).
106    (merge 45a87a83bb dl/python-2.7-is-the-floor-version later to maint).
107    (merge b75a219904 es/advertise-contribution-doc later to maint).