Commit
9a0c4701dcd5725c4184599322b52933ff5005ca
The 7th batch
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano <gitster@pobox.com> · 2026-07-22 17:30 UTC
1 file changed,
+44
−0
modified Documentation/RelNotes/2.56.0.adoc
| @@ -48,6 +48,14 @@ UI, Workflows & Features | |||
| 48 | 48 | help option ('-h' or '--help') is requested directly by the user, | |
| 49 | 49 | aligning with standard Unix convention. | |
| 50 | 50 | ||
| 51 | + | * The '[includeIf "condition"]' conditional inclusion facility for | |
| 52 | + | configuration files has been taught to use the location of the | |
| 53 | + | worktree in its condition. | |
| 54 | + | ||
| 55 | + | * The usage string and SYNOPSIS for 'git fast-export' have been | |
| 56 | + | standardized to make them consistent with each other and with other | |
| 57 | + | commands. | |
| 58 | + | ||
| 51 | 59 | ||
| 52 | 60 | Performance, Internal Implementation, Development Support etc. | |
| 53 | 61 | -------------------------------------------------------------- | |
| @@ -167,6 +175,37 @@ Performance, Internal Implementation, Development Support etc. | |||
| 167 | 175 | 'change-id' trailer, ensuring that sent tags generated by 'b4' contain | |
| 168 | 176 | the required tracking information for subsequent runs. | |
| 169 | 177 | ||
| 178 | + | * 'git receive-pack' has been refactored to use ODB transaction | |
| 179 | + | interfaces instead of directly managing 'tmp_objdir' for staging | |
| 180 | + | incoming objects, bringing it closer to being ODB backend agnostic. | |
| 181 | + | ||
| 182 | + | * The test script 't/t9811-git-p4-label-import.sh' has been | |
| 183 | + | modernized to use 'test_path_is_file' and 'test_path_is_missing' | |
| 184 | + | instead of raw 'test -f' and '! test -f' calls. | |
| 185 | + | ||
| 186 | + | * A redundant strbuf_reset() call in the 'HAVE_GETDELIM' path of | |
| 187 | + | strbuf_getwholeline() has been removed, as getdelim() overwrites the | |
| 188 | + | buffer and the length is updated afterward. | |
| 189 | + | ||
| 190 | + | * The object database enumeration interface odb_for_each_object() has | |
| 191 | + | been taught to accept object filters, allowing the underlying backends | |
| 192 | + | to optimize the traversal by using reachability bitmaps when | |
| 193 | + | available. 'git cat-file --batch-all-objects' has been updated to use | |
| 194 | + | this generic interface, simplifying its code and avoiding direct | |
| 195 | + | access to ODB backend internals. | |
| 196 | + | ||
| 197 | + | * The test script 't/t1100-commit-tree-options.sh' has been modernized | |
| 198 | + | by converting test cases to the modern style (using single quotes and | |
| 199 | + | tab indentation) and moving the creation of the expected file inside | |
| 200 | + | the setup test so it runs under the protection of the test harness. | |
| 201 | + | ||
| 202 | + | * The test script 't/t7614-merge-signoff.sh' has been updated to avoid | |
| 203 | + | suppressing the exit code of 'git' commands in a pipe. | |
| 204 | + | ||
| 205 | + | * The 'git rev-list --no-walk' command has been corrected to restore | |
| 206 | + | pathspec filtering, which was lost when the streaming walk was | |
| 207 | + | refactored. | |
| 208 | + | ||
| 170 | 209 | ||
| 171 | 210 | Fixes since v2.55 | |
| 172 | 211 | ----------------- | |
| @@ -306,3 +345,8 @@ Fixes since v2.55 | |||
| 306 | 345 | * The stream-based object signature verification path has been | |
| 307 | 346 | corrected to avoid double-closing the stream on read errors. | |
| 308 | 347 | (merge cfd52a74a0 ps/odb-stream-double-close-fix later to maint). | |
| 348 | + | ||
| 349 | + | * The '-i' shorthand for the '--init' option, which was accepted by the | |
| 350 | + | 'git submodule update' command until it was broken in a modernization | |
| 351 | + | of the option-parsing code, has been restored. | |
| 352 | + | (merge ff1da37f58 dm/submodule-update-i-shorthand later to maint). | |