Commit

1630431f326e15fcde608827b5ff38422528eb59

The 21st batch

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano <gitster@pobox.com> · 2026-08-31 15:08 UTC

Browse files
1 file changed, +45 −0
modified Documentation/RelNotes/2.56.0.adoc
@@ -131,6 +131,14 @@ UI, Workflows & Features
131 131 placeholders, and a quoting inconsistency in the running text has
132 132 been fixed.
133 133
134 + * The DWIM logic in 'git worktree add' sometimes tried to infer a
135 + remote-tracking branch when an explicit '-b' or '-B' option was
136 + given to create a new branch, causing the explicit branch name to
137 + be ignored, which has been corrected.
138 +
139 + * The command line completion (in contrib/) has been taught to handle
140 + the experimental 'git history' command.
141 +
134 142
135 143 Performance, Internal Implementation, Development Support etc.
136 144 --------------------------------------------------------------
@@ -440,6 +448,38 @@ Performance, Internal Implementation, Development Support etc.
440 448 reporting failures with a relative path to a sparse directory has
441 449 been corrected.
442 450
451 + * The object database (odb) API has been refactored to distinguish
452 + between missing objects and corrupt ones by returning more
453 + descriptive error statuses. Both the packed and loose backends now
454 + faithfully propagate error details using a generic strbuf error
455 + mechanism, removing backend-specific leakage from central lookup
456 + paths.
457 +
458 + * The object database layer has been simplified by eagerly loading
459 + alternate object directories upon initialization, instead of
460 + deferring it to the first object lookup. This eliminates the need
461 + for scattered lazy-loading calls throughout the codebase and paves
462 + the way for integrating alternates with the pluggable backends.
463 +
464 + * The threshold for geometric repacking to trigger based on loose
465 + object count has been adjusted to match that of 'git gc --auto',
466 + preventing over-aggressive repacking during concurrent writes.
467 +
468 + * The 'git receive-pack' command has been updated to use a new ODB
469 + transaction interface for writing incoming packfiles, making it more
470 + backend-agnostic.
471 +
472 + * The mechanism to generate a packfile corresponding to the result of
473 + a fetch/push has been made pluggable through a set of object
474 + database callback functions, removing hardcoded references to
475 + 'pack-objects' and enabling alternative ODBs to serve packfiles
476 + themselves.
477 +
478 + * The pack-objects command has been updated to record the total bytes
479 + written to pack files in trace2 output, allowing performance
480 + analysis of different compression settings by comparing the
481 + resulting pack sizes.
482 +
443 483
444 484 Fixes since v2.55
445 485 -----------------
@@ -699,5 +739,10 @@ Fixes since v2.55
699 739 been corrected.
700 740 (merge 05e2ab1f31 jc/complete-checkout later to maint).
701 741
742 + * The trailer parsing machinery has been updated to avoid mistaking
743 + lines that begin with a URL (e.g., 'https://...') as trailer lines.
744 + This prevents intended textual URLs from being mangled or mistakenly
745 + treated as metadata keys.
746 +
702 747 * Other code cleanup, docfix, build fix, etc.
703 748 (merge 026636128f ss/submittingpatches-typofix later to maint).