The 12th batch
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jun 7, 2026 at 23:58 UTC
600fe743028cbfb640855f659e9851522214bc0b
1 file changed
+24
Documentation/RelNotes/2.55.0.adoc
+24
@@ -122,6 +122,19 @@ Performance, Internal Implementation, Development Support etc.
122
converted to a "service" enum to improve type safety and clarify its
123
purpose.
124
125
+ * 'git restore --staged' has been optimized to avoid unnecessarily expanding
126
+ the sparse index when operating on paths within the sparse checkout
127
+ definition, by handling sparse directory entries at the tree level.
128
+
129
+ * "git stash -p" has been optimized by reusing cached index
130
+ entries in its temporary index, avoiding unnecessary lstat()
131
+ calls on unchanged files.
132
+
133
+ * The check for non-stale commits in the priority queue used by
134
+ `paint_down_to_common` and `ahead_behind` has been optimized by
135
+ replacing an O(N) scan with an O(1) counter, yielding performance
136
+ improvements in repositories with wide histories.
137
+
138
139
Fixes since v2.54
140
-----------------
@@ -241,6 +254,16 @@ Fixes since v2.54
254
day before the specified time, which has been corrected.
255
(merge b809304101 ta/approxidate-noon-fix later to maint).
256
257
+ * The GIT_WORK_TREE variable prepared to invoke the push-to-checkout
258
+ hook was leaking into the environment even when there was no hook
259
+ used and broke the default push-to-deploy (i.e., let "git checkout"
260
+ update the working tree only when the working tree is clean).
261
+ (merge 44d04e4426 ar/receive-pack-worktree-env later to maint).
262
+
263
+ * A batch of documentation pages has been updated to use the modern
264
+ synopsis style.
265
+ (merge 2ef248ae45 ja/doc-synopsis-style-again later to maint).
266
+
267
* Other code cleanup, docfix, build fix, etc.
268
(merge 80f4b802e9 ja/doc-difftool-synopsis-style later to maint).
269
(merge b96490241e jc/doc-timestamps-in-stat later to maint).
@@ -262,3 +285,4 @@ Fixes since v2.54
285
(merge d9982e8290 ed/check-connected-close-err-fd-2.53 later to maint).
286
(merge 1740cc35d0 ed/check-connected-close-err-fd later to maint).
287
(merge f4d7eb3d1c sp/doc-range-diff-takes-notes later to maint).
288
+ (merge 83e7f3bd2b kh/free-commit-list later to maint).