Autogenerated HTML docs for v2.46.0-164-g477ce
[git-htmldocs.git] / RelNotes / 2.47.0.txt
blobb948fa4db4bf4556f87f722aadeb8c63a212c909
1 Git v2.47 Release Notes
2 =======================
4 UI, Workflows & Features
5 ------------------------
7  * Many Porcelain commands that internally use the merge machinery
8    were taught to consistently honor the diff.algorithm configuration.
10  * A few descriptions in "git show-ref -h" have been clarified.
12  * A 'P' command to "git add -p" that passes the patch hunk to the
13    pager has been added.
15  * "git grep -W" omits blank lines that follow the found function at
16    the end of the file, just like it omits blank lines before the next
17    function.
19  * The value of http.proxy can have "path" at the end for a socks
20    proxy that listens to a unix-domain socket, but we started to
21    discard it when we taught proxy auth code path to use the
22    credential helpers, which has been corrected.
25 Performance, Internal Implementation, Development Support etc.
26 --------------------------------------------------------------
28  * A build tweak knob has been simplified by not setting the value
29    that is already the default; another unused one has been removed.
31  * A CI job that use clang-format to check coding style issues in new
32    code has been added.
34  * The reviewing guidelines document now explicitly encourages people
35    to give positive reviews and how.
37  * Test script linter has been updated to catch an attempt to use
38    one-shot export construct "VAR=VAL func" for shell functions (which
39    does not work for some shells) better.
41  * Some project conventions have been added to CodingGuidelines.
43  * In the refs subsystem, implicit reliance of the_repository has been
44    eliminated; the repository associated with the ref store object is
45    used instead.
47  * Various tests in reftable library have been rewritten using the unit test
48    framework.
50  * A test that fails on an unusually slow machine was found, and made
51    less likely to cause trouble by lengthening the expiry value it
52    uses.
55 Fixes since v2.46
56 -----------------
58  * "git add -p" by users with diff.suppressBlankEmpty set to true
59    failed to parse the patch that represents an unmodified empty line
60    with an empty line (not a line with a single space on it), which
61    has been corrected.
62    (merge 60cf761ed1 pw/add-patch-with-suppress-blank-empty later to maint).
64  * "git checkout --ours" (no other arguments) complained that the
65    option is incompatible with branch switching, which is technically
66    correct, but found confusing by some users.  It now says that the
67    user needs to give pathspec to specify what paths to checkout.
68    (merge d1e6c61272 jc/checkout-no-op-switch-errors later to maint).
70  * It has been documented that we avoid "VAR=VAL shell_func" and why.
71    (merge 728a1962cd jc/doc-one-shot-export-with-shell-func later to maint).
73  * "git rebase --help" referred to "offset" (the difference between
74    the location a change was taken from and the change gets replaced)
75    incorrectly and called it "fuzz", which has been corrected.
76    (merge 70058db385 jc/doc-rebase-fuzz-vs-offset-fix later to maint).
78  * "git notes add -m '' --allow-empty" and friends that take prepared
79    data to create notes should not invoke an editor, but it started
80    doing so since Git 2.42, which has been corrected.
81    (merge 8b426c84f3 dd/notes-empty-no-edit-by-default later to maint).
83  * An expensive operation to prepare tracing was done in re-encoding
84    code path even when the tracing was not requested, which has been
85    corrected.
86    (merge 63ad8dbf16 dh/encoding-trace-optim later to maint).
88  * More leakfixes.
89    (merge f30bfafcd4 ps/leakfixes-part-3 later to maint).
91  * The credential helper to talk to OSX keychain sometimes sent
92    garbage bytes after the username, which has been corrected.
93    (merge b201316835 jk/osxkeychain-username-is-nul-terminated later to maint).
95  * A recent update broke "git ls-remote" used outside a repository,
96    which has been corrected.
97    (merge 9e89dcb66a ps/ls-remote-out-of-repo-fix later to maint).
99  * The patch parser in 'git apply' has been a bit more lenient against
100    unexpected mode bits, like 100664, recorded on extended header lines.
101    (merge e95d515141 jk/apply-patch-mode-check-fix later to maint).
103  * "git config --value=foo --fixed-value section.key newvalue" barfed
104    when the existing value in the configuration file used the
105    valueless true syntax, which has been corrected.
106    (merge 615d2de3b4 tb/config-fixed-value-with-valueless-true later to maint).
108  * The patch parser in "git patch-id" has been tightened to avoid
109    getting confused by lines that look like a patch header in the log
110    message.
111    (merge a6e9429f72 jc/patch-id later to maint).
113  * "git reflog expire" failed to honor annotated tags when computing
114    reachable commits.
115    (merge 5133ead528 jc/reflog-expire-lookup-commit-fix later to maint).
117  * A flakey test and incorrect calls to strtoX() functions have been
118    fixed.
119    (merge ec60bb9fc4 kl/test-fixes later to maint).
121  * Other code cleanup, docfix, build fix, etc.
122    (merge 8db8786fc2 jt/doc-post-receive-hook-update later to maint).
123    (merge 1c473dd6af tn/doc-commit-fix later to maint).
124    (merge bb0498b1bb jc/how-to-maintain-updates later to maint).
125    (merge 6e71d6ac7c ks/unit-test-comment-typofix later to maint).
126    (merge 63ee933383 ps/p4-tests-updates later to maint).
127    (merge 7c7516b8db jc/jl-git-no-advice-fix later to maint).
128    (merge c3d034df16 jc/leakfix-hashfile later to maint).
129    (merge d98d9c77e5 jc/leakfix-mailmap later to maint).
130    (merge c199707496 jr/ls-files-expand-literal-doc later to maint).
131    (merge e2e373ba82 ss/packed-ref-store-leakfix later to maint).
132    (merge 0c4d5aa22d rs/use-decimal-width later to maint).
133    (merge 67be8c4de5 jc/document-use-of-local later to maint).