Commit

fa7f9290efe2bd22dd736689597b474b93798e11

Git 2.56-rc0

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

Junio C Hamano <gitster@pobox.com> · 2026-09-10 12:36 UTC

Browse files
2 files changed, +27 −1
modified Documentation/RelNotes/2.56.0.adoc
@@ -144,6 +144,10 @@ UI, Workflows & Features
144 144 remote-tracking branch cannot be uniquely identified, which has
145 145 been corrected.
146 146
147 + * The 'git replay' command has been taught the '--linearize' option to
148 + drop merge commits and linearize the replayed history, mimicking 'git
149 + rebase --no-rebase-merges'.
150 +
147 151
148 152 Performance, Internal Implementation, Development Support etc.
149 153 --------------------------------------------------------------
@@ -498,6 +502,16 @@ Performance, Internal Implementation, Development Support etc.
498 502 refactored to use the internal apply API directly, avoiding the need
499 503 to spawn a 'git apply' subprocess.
500 504
505 + * The memory ownership of argv elements passed to the revision
506 + machinery has been made more robust by keeping logically "freed"
507 + elements alive until the rev_info struct is released, preventing
508 + use-after-free bugs when options store references to them.
509 +
510 + * The object lookup machinery has been taught to gracefully recover
511 + when a multi-pack-index points to an owning pack that was removed
512 + during a concurrent geometric repack, and 'git replay' has been
513 + fixed to not segfault when reading such missing objects.
514 +
501 515
502 516 Fixes since v2.55
503 517 -----------------
@@ -779,6 +793,18 @@ Fixes since v2.55
779 793 the path originally recorded in the file was absolute, and this new
780 794 capability is used to correctly detect such mismatches.
781 795
796 + * GitHub Actions CI workflow runs triggered by pull requests have
797 + been configured to cancel older runs when a new push is made to the
798 + same pull request.
799 + (merge a251b1bd21 hn/ci-cancel-stale-pr-runs later to maint).
800 +
801 + * The string extraction logic for the branch name and worktree name
802 + from the given path in 'git worktree add' has been corrected and
803 + simplified to avoid out-of-bounds reads and improper handling of
804 + trailing slashes.
805 + (merge 2e8a9d94b0 rs/worktree-add-basename-fixes later to maint).
806 +
782 807 * Other code cleanup, docfix, build fix, etc.
783 808 (merge 026636128f ss/submittingpatches-typofix later to maint).
784 809 (merge d2af22cc21 jc/rerere-doc-typofix later to maint).
810 + (merge c486c1df72 hk/typofix later to maint).
modified GIT-VERSION-GEN
@@ -1,6 +1,6 @@
1 1 #!/bin/sh
2 2
3 - DEF_VER=v2.55.GIT
3 + DEF_VER=v2.56.0-rc0
4 4
5 5 LF='
6 6 '