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
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
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.
24 * The code paths to compact multiple reftable files have been updated
25 to correctly deal with multiple compaction triggering at the same
28 * Support to specify ref backend for submodules has been enhanced.
30 * "git svn" has been taught about svn:global-ignores property
31 recent versions of Subversion has.
33 * The default object hash and ref backend format used to be settable
34 only with explicit command line option to "git init" and
35 environment variables, but now they can be configured in the user's
36 global and system wide configuration.
39 Performance, Internal Implementation, Development Support etc.
40 --------------------------------------------------------------
42 * A build tweak knob has been simplified by not setting the value
43 that is already the default; another unused one has been removed.
45 * A CI job that use clang-format to check coding style issues in new
48 * The reviewing guidelines document now explicitly encourages people
49 to give positive reviews and how.
51 * Test script linter has been updated to catch an attempt to use
52 one-shot export construct "VAR=VAL func" for shell functions (which
53 does not work for some shells) better.
55 * Some project conventions have been added to CodingGuidelines.
57 * In the refs subsystem, implicit reliance of the_repository has been
58 eliminated; the repository associated with the ref store object is
61 * Various tests in reftable library have been rewritten using the unit test
64 * A test that fails on an unusually slow machine was found, and made
65 less likely to cause trouble by lengthening the expiry value it
68 * An existing test of hashmap API has been rewritten with the
71 * A policy document that describes platform support levels and
72 expectation on platform stakeholders has been introduced.
74 * The refs API has been taught to give symref target information to
75 the users of ref iterators, allowing for-each-ref and friends to
76 avoid an extra ref_resolve_* API call per a symbolic ref.
78 * Unit-test framework has learned a simple control structure to allow
79 embedding test statements in-line instead of having to create a new
80 function to contain them.
82 * Incremental updates of multi-pack index files is getting worked on.
84 * Use of API functions that implicitly depend on the_repository
85 object in the config subsystem has been rewritten to pass a
86 repository object through the callchain.
92 * "git add -p" by users with diff.suppressBlankEmpty set to true
93 failed to parse the patch that represents an unmodified empty line
94 with an empty line (not a line with a single space on it), which
97 * "git checkout --ours" (no other arguments) complained that the
98 option is incompatible with branch switching, which is technically
99 correct, but found confusing by some users. It now says that the
100 user needs to give pathspec to specify what paths to checkout.
102 * It has been documented that we avoid "VAR=VAL shell_func" and why.
104 * "git rebase --help" referred to "offset" (the difference between
105 the location a change was taken from and the change gets replaced)
106 incorrectly and called it "fuzz", which has been corrected.
108 * "git notes add -m '' --allow-empty" and friends that take prepared
109 data to create notes should not invoke an editor, but it started
110 doing so since Git 2.42, which has been corrected.
112 * An expensive operation to prepare tracing was done in re-encoding
113 code path even when the tracing was not requested, which has been
117 (merge f30bfafcd4 ps/leakfixes-part-3 later to maint).
119 * The credential helper to talk to OSX keychain sometimes sent
120 garbage bytes after the username, which has been corrected.
121 (merge b201316835 jk/osxkeychain-username-is-nul-terminated later to maint).
123 * A recent update broke "git ls-remote" used outside a repository,
124 which has been corrected.
125 (merge 9e89dcb66a ps/ls-remote-out-of-repo-fix later to maint).
127 * The patch parser in 'git apply' has been a bit more lenient against
128 unexpected mode bits, like 100664, recorded on extended header lines.
129 (merge e95d515141 jk/apply-patch-mode-check-fix later to maint).
131 * "git config --value=foo --fixed-value section.key newvalue" barfed
132 when the existing value in the configuration file used the
133 valueless true syntax, which has been corrected.
134 (merge 615d2de3b4 tb/config-fixed-value-with-valueless-true later to maint).
136 * The patch parser in "git patch-id" has been tightened to avoid
137 getting confused by lines that look like a patch header in the log
139 (merge a6e9429f72 jc/patch-id later to maint).
141 * "git reflog expire" failed to honor annotated tags when computing
143 (merge 5133ead528 jc/reflog-expire-lookup-commit-fix later to maint).
145 * A flakey test and incorrect calls to strtoX() functions have been
147 (merge ec60bb9fc4 kl/test-fixes later to maint).
149 * Follow-up on 2.45.1 regression fix.
150 (merge ee0be850b0 jc/safe-directory later to maint).
152 * "git rev-list ... | git diff-tree -p --remerge-diff --stdin" should
153 behave more or less like "git log -p --remerge-diff" but instead it
154 crashed, forgetting to prepare a temporary object store needed.
155 (merge a77554ea09 xx/diff-tree-remerge-diff-fix later to maint).
157 * "git bundle unbundle" outside a repository triggered a BUG()
158 unnecessarily, which has been corrected.
159 (merge 96a9a3e42e ps/bundle-outside-repo-fix later to maint).
161 * Other code cleanup, docfix, build fix, etc.
162 (merge bb0498b1bb jc/how-to-maintain-updates later to maint).
163 (merge 7c7516b8db jc/jl-git-no-advice-fix later to maint).
164 (merge c3d034df16 jc/leakfix-hashfile later to maint).
165 (merge d98d9c77e5 jc/leakfix-mailmap later to maint).
166 (merge c199707496 jr/ls-files-expand-literal-doc later to maint).
167 (merge e2e373ba82 ss/packed-ref-store-leakfix later to maint).
168 (merge 0c4d5aa22d rs/use-decimal-width later to maint).
169 (merge 67be8c4de5 jc/document-use-of-local later to maint).
170 (merge 098be29f5b rs/t-example-simplify later to maint).
171 (merge 0d66f601a9 jc/tests-no-useless-tee later to maint).
172 (merge 170cdfc5a4 jc/grammo-fixes later to maint).
173 (merge 983555a1f2 jc/how-to-maintain-updates later to maint).
174 (merge e3209bd4df ps/stash-keep-untrack-empty-fix later to maint).