Skip to content

Commit a97fcc3

Browse files
committed
The 9th batch
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent d407e69 commit a97fcc3

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

Documentation/RelNotes/2.56.0.adoc

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,21 @@ UI, Workflows & Features
6161
simplification) by indenting them, preventing them from appearing
6262
falsely related to unrelated commits rendered immediately above them.
6363

64+
* Userdiff patterns for Swift have been added, with support for
65+
Swift-specific constructs such as attributes, modifiers, failable
66+
initializers, and generics.
67+
68+
* Configuration file locking has been updated to retry for a short
69+
period, avoiding failures when multiple processes attempt to update
70+
the configuration simultaneously.
71+
72+
* The 'remote-object-info' command has been added to 'git cat-file
73+
--batch-command', allowing clients to request object metadata
74+
(currently size) from a remote server via protocol v2 without
75+
downloading the entire object. Format placeholders are dynamically
76+
filtered on the client based on server-advertised capabilities,
77+
returning empty strings for inapplicable or unsupported fields.
78+
6479

6580
Performance, Internal Implementation, Development Support etc.
6681
--------------------------------------------------------------
@@ -241,6 +256,30 @@ Performance, Internal Implementation, Development Support etc.
241256
implicit dependency on the global 'the_repository' variable in
242257
'copy.c'.
243258
259+
* The tempfile and lockfile APIs have been refactored to stop depending
260+
on the 'the_repository' global variable, and their callers have been
261+
updated to use the repository-aware variants.
262+
263+
* The 'trust_executable_bit' (coming from the 'core.filemode'
264+
configuration) has been migrated into 'struct repo_config_values' to
265+
tie it to a specific repository instance.
266+
267+
* The 'excludes_file' and various other global configuration variables
268+
(including 'editor_program', 'pager_program', 'askpass_program', and
269+
'push_default') have been migrated into the per-repository structure.
270+
271+
* The 'git stash push' command has been optimized to avoid unnecessary
272+
sparse index expansion when pathspecs are wholly inside the
273+
sparse-checkout cone. Also, a potential out-of-bounds read in the
274+
sparse-index expansion check helper pathspec_needs_expanded_index()
275+
has been fixed by consistently using the parsed, prefixed path.
276+
277+
* The logic to write loose objects has been refactored and moved from
278+
'object-file.c' to the loose backend source file 'odb/source-loose.c',
279+
making the loose backend more self-contained. This is achieved by
280+
first refactoring force_object_loose() to use generic ODB write
281+
interfaces instead of loose-backend internals.
282+
244283
245284
Fixes since v2.55
246285
-----------------
@@ -401,3 +440,8 @@ Fixes since v2.55
401440
been corrected. The 'Clone' implementation of 'CryptoHasher' now
402441
properly initializes the context before cloning, and its 'Drop'
403442
implementation now discards the context to prevent leaks.
443+
444+
* The object ID shortening and linking in the 'commitdiff' view of
445+
'gitweb' has been corrected to work even when the index line carries
446+
a trailing file mode.
447+
(merge fda513d6fe tl/gitweb-shorten-hashes-with-modes later to maint).

0 commit comments

Comments
 (0)