Commit

b8242b093d9e941a34460d715e3ce616a34ac3fe

The 23rd batch

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

Junio C Hamano <gitster@pobox.com> · 2026-09-07 16:31 UTC

Browse files
1 file changed, +31 −0
modified Documentation/RelNotes/2.56.0.adoc
@@ -139,6 +139,11 @@ UI, Workflows & Features
139 139 * The command line completion (in contrib/) has been taught to handle
140 140 the experimental 'git history' command.
141 141
142 + * 'git checkout' and 'git worktree add' makes guesses based on a name
143 + of a remote-tracking branch, but does not give an error when such a
144 + remote-tracking branch cannot be uniquely identified, which has
145 + been corrected.
146 +
142 147
143 148 Performance, Internal Implementation, Development Support etc.
144 149 --------------------------------------------------------------
@@ -484,6 +489,15 @@ Performance, Internal Implementation, Development Support etc.
484 489 'struct repository', continuing the libification process and
485 490 allowing per-repository control (such as for submodules).
486 491
492 + * The reftable code has been optimized to avoid an unnecessary
493 + stat/reload of the stack when an addition already holds the
494 + list_file lock, reducing the number of newfstatat syscalls from
495 + linear to constant when writing refs.
496 +
497 + * The application of the edited patch in 'git add -e' has been
498 + refactored to use the internal apply API directly, avoiding the need
499 + to spawn a 'git apply' subprocess.
500 +
487 501
488 502 Fixes since v2.55
489 503 -----------------
@@ -748,6 +762,23 @@ Fixes since v2.55
748 762 This prevents intended textual URLs from being mangled or mistakenly
749 763 treated as metadata keys.
750 764
765 + * The instructions for deprecated commands emitted by
766 + you_still_use_that() have been reworded to clarify that the removal
767 + decision is final and to provide more assertive guidance on finding
768 + a replacement.
769 + (merge 8ace32221c jc/you-still-use-that later to maint).
770 +
771 + * The zsh completion script (in 'contrib/') has been updated to
772 + correctly locate the Git command after global options like '-C' by
773 + properly skipping them, similar to how the bash completion does.
774 +
775 + * The git worktree repair command failed to rewrite the .git file of
776 + a working tree from a relative path to an absolute path when the
777 + command was run in the working tree itself. The
778 + read_gitfile_gently() function was modified to also return whether
779 + the path originally recorded in the file was absolute, and this new
780 + capability is used to correctly detect such mismatches.
781 +
751 782 * Other code cleanup, docfix, build fix, etc.
752 783 (merge 026636128f ss/submittingpatches-typofix later to maint).
753 784 (merge d2af22cc21 jc/rerere-doc-typofix later to maint).