interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / Documentation / RelNotes / 2.98.0.adoc

646 lines · 30855 bytes Raw Blame History
1Git v2.98 Release Notes
2=======================
3
4This is meant to be the antepenultimate release to prepare for the
5long anticipated Git 3.0 which has been vaporware for so long.
6
7
8UI, Workflows & Features
9------------------------
10
11 * The experimental 'git history' command has been taught a new 'squash'
12 subcommand to fold a range of commits into a single commit, with any
13 descendants replayed on top.
14
15 * A new hook 'report' is added to 'git receive-pack', which runs after
16 reference updates and allows the server to filter or modify the
17 packet-line status report sent back to the client.
18
19 * The terminology regarding reference storage formats has been unified
20 across command-line options, environment variables, configuration
21 variables, and source code, standardizing on the phrase "ref storage
22 format" (e.g., `--ref-storage-format`, `'GIT_REF_STORAGE_FORMAT'`).
23 Additionally, the `--ref-storage-format` option has been updated to
24 accept payloads in the form `<format>://<payload>`.
25
26 * The build-time knob 'USE_NSEC' for nanosecond stat precision has been
27 converted to a runtime configuration 'core.useNanosec', allowing
28 distributions to bundle one binary that adapts to filesystem
29 capabilities dynamically.
30
31 * The command-line completion script (in 'contrib/') has been taught
32 to complete the 'repair' subcommand for 'git worktree'.
33
34 * Various documentation files have been updated to use explicit
35 '<<TARGET,TARGET>>' AsciiDoc cross-references instead of plain text
36 references. This improves rendering on the web and avoids broken
37 links when manual pages are included into other pages.
38
39 * The 'git var' command has been updated to output individual components
40 of the author and committer identities, take multiple keys on the
41 command-line, and support NUL-delimited output with the '-z' option.
42
43 * The 'git-contacts' program (in contrib/) has been taught to read
44 patches from the standard input stream when an explicit dash ('-') is
45 passed in place of a file.
46
47 * The @{upstream} notation had short-hand @{u} from the beginning,
48 and @{push} learned corresponding @{p} to match.
49
50 * The 'format-patch' command has been updated with options to
51 configure notes specifically for range-diff output, allowing them to
52 differ from the notes displayed on the patches themselves.
53
54 * Validation of the 'fetch.followRemoteHEAD' configuration variable
55 has been deferred to when it is actually used, preventing irrelevant
56 warnings during 'git fetch' invocations that do not consult it.
57
58 * "git status" now suggests to use 'git merge --continue', not 'git commit',
59 when done with conflicts during a 'git merge'.
60
61 * A new 'uploadpack.lazyFetchTrusted' configuration variable has been
62 introduced to allow 'upload-pack' to lazily fetch missing objects from
63 configured promisor remotes when serving trusted repositories.
64
65 * Unicode character width table has been updated to match
66 Unicode 18 announced on 2026-09-16.
67
68 * When recreating a merge conflict using 'git checkout -m', the
69 original conflict labels (such as branch names) were lost and
70 replaced with generic ones. The merge machinery has been updated to
71 record the original labels in '.git/MERGE_LABELS', allowing 'git
72 checkout -m' to restore them.
73
74 * The git history command and its subcommands have been updated to
75 honor the commit.gpgSign configuration variable and accept the
76 --gpg-sign and --no-gpg-sign command-line options, ensuring both
77 rewritten commits and their replayed descendants are
78 cryptographically signed by the committer.
79
80 * The progress message emitted by the 'delta-islands' subsystem has
81 been updated to use the Q_() macro, allowing translators to properly
82 handle plural forms based on the number of islands marked.
83
84 * 'git blame' and 'git annotate' have been updated to automatically
85 use the '.git-blame-ignore-revs' file from the working tree (or
86 'HEAD:.git-blame-ignore-revs' in bare repositories) as the default
87 ignore list if it exists, and the parser has been hardened.
88
89 * The earliest part of 'man git' has been rewritten to explain various
90 ways to use 'git help' to get help.
91
92 * The conditional configuration inclusion mechanism via 'includeIf'
93 has been extended to support matching the machine's hostname, and
94 the system's hostname as seen by Git can now be queried using 'git
95 var GIT_HOSTNAME'.
96
97 * The hint printed when tracking configuration fails to be written has
98 been corrected to produce a valid remote-tracking branch name.
99
100 * The 'git switch' and 'git checkout' commands have been updated to
101 complete the branch switch instead of aborting when the tracking
102 configuration fails to write, matching the behavior of 'git push -u'.
103
104 * The hook.<event>.enabled configuration variable has been extended to
105 also disable traditional hookdir hooks in addition to configured
106 hooks. In addition, the hook configuration parser has been updated
107 to treat missing values for boolean variables like enabled and
108 parallel as true.
109
110 * The advice subsystem has been updated to suggest using the
111 '--global' option when recommending a command snippet to squelch
112 future advice messages, since global configuration is generally
113 more appropriate for user-level preferences than per-repository
114 settings.
115
116 * The command-line completion for 'git stash' has been updated to
117 dynamically discover subcommands and to correct a Zsh-specific
118 formatting issue where stash references were improperly unquoted.
119 Additionally, the deprecated 'save' subcommand has been removed from
120 completions and synopsis documentation.
121
122 * A new user manual page on how to resolve merge conflicts has been
123 introduced, and other commands that could encounter conflicts have
124 been updated to link to it.
125
126 * The error message given when pathname is too long has been updated
127 to use the pluralized translation function, Q_().
128
129 * The obsolete 'gittutorial-2' documentation and all references to it
130 have been removed from the documentation tree and 'command-list.txt'.
131
132 * The output of 'git repo info' has been updated to use
133 'references.storageFormat' instead of 'references.format' for
134 consistency with recent ref-storage-format terminology updates.
135
136 * The object storage format has been made configurable via the
137 'extensions.objectStorage' configuration variable, allowing users
138 to specify the storage backend and an optional payload, mirroring
139 the design of 'extensions.refStorage'.
140
141 * The test script 't0001-init' has been updated to avoid piping the
142 output of 'git version' directly into 'sed', ensuring command failures
143 are properly caught.
144
145 * The commit-graph fuzzer has been updated to supply a placeholder
146 '.gitdir' to the repository. This prevents early failures when
147 prepare_repo_settings() is called, allowing the fuzzer to proceed and
148 test optional chunks such as generation data and Bloom filters.
149
150 * Test updates (in 't5300') to use the 'test_path_is_file' helper for
151 checking file existence.
152
153 * A test script has been updated to use the test_path_exists helper
154 instead of a raw test -e command, improving diagnostic output on
155 failure.
156
157 * Tests for the option precedence of '--allow-onelevel' and its
158 negated form have been added to 'git check-ref-format',
159 establishing the current behavior before a planned migration to the
160 'parse_options()' API.
161
162 * The documentation for SSH signature verification has been updated to
163 clarify that key lifetime checks depend on spoofable dates.
164
165 * The output from 'git init' has been corrected to display the
166 absolute path of the created repository, addressing a recent
167 regression.
168
169 * The beginner's tutorial in 'gittutorial.adoc' has been rewritten to
170 focus on a minimal set of commands needed to create a repository,
171 make commits, and push to a remote host, optimizing for a quick
172 one-hour learning experience.
173
174
175Performance, Internal Implementation, Development Support etc.
176--------------------------------------------------------------
177
178 * The setup of alternates has been deferred to object database
179 creation time during clone, which drops the unused ad-hoc alternate
180 writing API, simplifying the object database backend interface.
181
182 * Updates to Coccinelle semantic patches to correctly handle the
183 'FREE_AND_NULL()' macro and avoid generating broken transformations
184 for negated pointer checks.
185
186 * The 'Makefile' has been taught to precompile 'git-compat-util.h' to
187 speed up overall compilation, while excluding sources that do not
188 include the compatibility header.
189
190 * The can_all_from_reach() and can_all_from_reach_with_flag()
191 functions have been updated to accept a repository context,
192 preventing bugs where submodule merging incorrectly reads from the
193 superproject's commit-graph.
194
195 * The error reporting machinery in the WinANSI compatibility layer has
196 been simplified to pass the exact Windows error code and correctly
197 format arguments for fatal errors.
198
199 * The Debian 12 CI job has been updated to skip a half-auth clone test
200 that occasionally fails due to a bug in the packaged curl version
201 handling early HTTP/2 responses.
202
203 * The CI script has been updated to check for one-indexed slice numbers
204 when deciding to run unit tests on Windows, mirroring the behaviour in
205 the modern GitHub and GitLab workflows.
206
207 * The Windows GitLab CI job has been updated to provision and use the
208 GCC-targeting Rust toolchain for MinGW builds, fixing job failures
209 caused by incomplete Rust setup and missing linker support.
210
211 * The external merge driver in 'git merge' now uses the tempfile API
212 to create its temporary files. This ensures that these temporaries
213 are reliably cleaned up even when the merge driver or its parent Git
214 process is terminated abruptly.
215
216 * The performance test for `git fetch` pack-dir rescans has been
217 updated to use the `--no-deref` option when cleaning up
218 remote-tracking branches. This prevents `git update-ref` from
219 failing with a multiple updates error when both a symref and its
220 target are deleted in the same transaction.
221
222 * The build configurations for Meson have been optimized to avoid
223 recompiling HTTP sources multiple times and to utilize precompiled
224 headers for test-helpers and unit tests, reducing clean build times.
225 Additionally, the shell completion tests and GitLab CI MSVC runner
226 jobs have been fixed.
227
228 * The handling of index conflicts in 'git stash apply --index' has
229 been optimized. Instead of relying on expensive external
230 subprocesses using 'git diff-tree' and 'git apply', the index is now
231 merged in-core using the merge-ort machinery, which fixes a
232 concurrent lock file issue with autostash.
233
234 * The parse-options API has been updated to support grouping
235 subcommands, and the 'git refs' command has been updated to use this
236 new feature to categorize its subcommands in its help output.
237
238 * Fix definition for the "--all" option to use symbolic constant
239 in the options[] array passed to parse_options API.
240
241 * The shell quoting of a lazy prereq script was quoted incorrectly and
242 allowed variables dereferenced at the wrong moment, breaking the
243 curl version detection.
244
245 * The requirement for a 'SYNOPSIS' section in section 7 manual pages
246 has been relaxed by updating the linter script, and dummy
247 'SYNOPSIS' sections from existing section 7 documentation have been
248 removed to improve the rendered output
249
250 * A test script (t0450) has been updated to use the test_path_is_file
251 and test_path_is_missing helper functions, which provides better
252 diagnostic output on failure.
253
254 * The routine that rewrites the packed-refs file has been optimized to
255 directly pass unmodified reference records verbatim to the output
256 via fwrite(3p), instead of redundantly re-formatting them with
257 fprintf(3p).
258
259 * The fetch.writeCommitGraph behavior has been optimized to
260 incrementally update the commit graph using only the newly fetched
261 commits as seeds. This avoids a full reachability scan of all
262 references and drastically reduces the post-fetch commit-graph
263 update time for repositories with many references.
264
265 * The odb_source API has been refactored to make alternates an
266 implementation detail of the files backend instead of managing them
267 at the core object database layer.
268
269 * The test for verifying a signed tag with a missing key has been
270 updated to point GNUPGHOME to an unused directory rather than
271 deleting the active gpghome directory, working around a flaky rm
272 failure caused by the background gpg-agent observed on Alpine.
273
274 * CI on GitHub Actions gets a better annotation experience. Leak test
275 scripts are stopped at their first failure with --immediate to
276 prevent flooding the log, and failures are correctly annotated with
277 their file and line number.
278
279 * The repository initialization sequence has been refactored to treat
280 the repository object passed to create_repository() purely as an
281 out-parameter.
282
283 * The object database "files" backend has been optimized to check
284 packfiles across all alternate object directories before falling
285 back to checking loose objects, significantly reducing the number of
286 'stat(3p)' system calls. Additional refactoring drops the generic
287 'local' flag from the object database source interface in favor of
288 backend-specific fields, and simplifies the retry loop for missing
289 objects.
290
291 * The lazy prerequisite set-up script can be fed as a here-doc, just
292 like test_expect_{success,failure} scripts these days.
293
294 * The 'git bundle create' command has been updated to initialize the
295 revs_copy structure at declaration. This prevents a potential crash
296 caused by reading uninitialized stack memory during cleanup when an
297 unrecognized argument is provided.
298
299 * The macOS CI jobs have been updated to use a mixture of 'macos-15' and
300 'macos-latest' images, as the 'macos-14' hosted runner image is being
301 deprecated by GitHub.
302
303 * The test in 't5301' has been modernized to use the
304 'test_path_is_file' helper instead of the raw 'test -f' command.
305
306 * The Makefile has been updated to explicitly pass '--target-dir
307 target' to 'cargo' when building the 'gitcore' library, fixing a
308 link error that occurs when the user has a custom target directory
309 configured via 'CARGO_TARGET_DIR' or their Cargo configuration.
310
311 * A test script ('t2104') has been updated to avoid piping the output of
312 a 'git' command into another command, which would hide its exit code.
313
314 * The creation of '.keep' lockfiles during object database
315 transactions has been deferred to commit time, explicitly managing
316 the lockfiles within the files backend rather than relying on
317 'git-index-pack', to prevent race conditions that could lead to
318 concurrent lockfiles being erroneously deleted.
319
320 * The connectivity check in 'git fetch' and 'git receive-pack' has
321 been optimized with an alternative incremental mode, available via
322 'transfer.connectivityCheck=incremental'. Instead of walking the
323 full object closure of the boundary commits, it compares the trees
324 of incoming commits against their trusted parent trees, skipping
325 unchanged subtrees.
326
327 * The verbose "Checking connectivity" message in 'git fsck' has been
328 updated to use the pluralizing translation macro.
329
330 * The messages 'git checkout' prints to describe orphaned commits and
331 multiple references have been updated to use the Q_() macro, allowing
332 translators to use the correct plural forms for numbers greater than
333 one.
334
335 * The 'rerere' subsystem has been libified to remove its dependency on
336 the global 'the_repository' state and global tracking variables,
337 allowing it to operate correctly in multi-repository contexts.
338
339 * The test script 't0081-find-pack.sh' has been updated to use the
340 'test_path_is_file' helper instead of the raw 'test -f' command.
341
342 * The documentation on contributing has been updated to emphasize the
343 importance of discussing review feedback before sending the next
344 iteration, and the section on sending an updated version has been
345 moved to appear after the discussion of the review process.
346
347 * The global state 'the_repository' in 'diffcore-rename.c' has been
348 removed by utilizing the repository pointer available within the
349 'diff_options' context structure.
350
351 * The 'unit-test' runner has been taught to safely ignore the
352 '--long-tests' ('-l') option, preventing it from failing when the
353 same compatibility arguments are passed to both unit and
354 integration tests. The list of ignored arguments has also been
355 sorted.
356
357 * The unused 'USE_THE_REPOSITORY_VARIABLE' macro has been removed from
358 'diffcore-break.c'.
359
360 * The coding guidelines have been updated to officially allow the use
361 of C99 compound literals, as the test balloon has been flying
362 without issues since late 2024.
363
364 * A test script 't7104' has been modernized to use 'test_path_is_file'
365 instead of 'test -f'.
366
367 * The 'git status' command has been optimized to acquire the index
368 lock only when writing the updated index, rather than holding it
369 during the entire working tree traversal, avoiding lock
370 contention. Index validation has also been improved to use stat
371 data to detect concurrent modifications when 'index.skipHash' is
372 enabled.
373
374 * The 'bundle-uri' subsystem has been updated to stop using the global
375 'the_repository' variable by passing down the repository context to
376 helper functions, allowing the removal of the
377 'USE_THE_REPOSITORY_VARIABLE' macro.
378
379 * The tag backfilling negotiation in 'git fetch' has been updated to
380 explicitly include the in-flight fetched tips as 'haves', preventing
381 the server from resending objects when batched reference updates are
382 used.
383
384 * The GitLab CI configuration has been updated to disable shallow clones
385 for the 'check-whitespace' and 'check-style' jobs by setting
386 'GIT_DEPTH' to 0, preventing them from failing on large merge requests
387 that exceed the default shallow clone depth.
388
389 * The 'git multi-pack-index write' command has been updated to silently
390 return success when there are no object entries to index. This avoids
391 writing empty 'multi-pack-index' layers, which previously caused
392 subsequent incremental midx writes using the '--bitmap' option to fail
393 when attempting to load the missing reverse index.
394
395 * Use of "test -e" and "! test -e" in t5402 have been updated
396 to use test_path_exists and test_path_missing.
397
398 * The prune_packed_objects() API and its callbacks have been updated to
399 take a 'struct repository' pointer instead of relying on the global
400 'the_repository' variable, moving the subsystem closer to being fully
401 libified.
402
403 * The 't1467-refs-rename.sh' test script has been updated to use the
404 'test_must_fail' helper instead of the '!' operator when checking for
405 expected command failures, ensuring that crashes are not silently
406 ignored.
407
408 * Various cleanups in the 'commit-graph' builtin command, removing
409 global state and updating to not rely on the implicit
410 'the_repository' variable, in preparation for making the
411 commit-graph subsystem pluggable.
412
413 * Various functions and data structures that no longer need to be
414 globally visible, such as those exposed for the now-removed
415 'recursive' merge strategy, have been made file-scope static or
416 removed entirely to shrink the public API surface.
417
418
419Fixes since v2.56
420-----------------
421
422 * Updates to Coccinelle semantic patches to correctly handle the
423 'FREE_AND_NULL()' macro and avoid generating broken transformations
424 for negated pointer checks.
425 (merge 32814b69d0 jc/cocci-free-updates later to maint).
426
427 * The files backend has been updated to avoid unconditionally locking
428 the 'packed-refs' file when deleting a root ref (which are never
429 packed).
430 (merge d8e4585822 ak/refs-files-root-ref-lock later to maint).
431
432 * The server-side protocol v2 response order for 'wanted-refs' and
433 'shallow-info' has been swapped to match the client's expectation,
434 fixing a fetch failure when the server has 'uploadpack.allowRefInWant'
435 enabled and the client performs a shallow fetch.
436 (merge 191740edaa rr/upload-pack-swap-shallow-wanted-ref later to maint).
437
438 * Assorted fixes for code paths that are not careful with boundary and
439 error conditions.
440 (merge c88341b7e1 js/coverity-fixes later to maint).
441
442 * A bug in git diff --no-index that mishandled reverse (-R) output
443 when conflicts existed between a file and a directory has been
444 fixed.
445 (merge 9a13b3742b hd/diff-no-index-reverse-fix later to maint).
446
447 * 'git pull' has been taught to fail more gracefully instead of
448 segfaulting when lookup_commit_reference() fails on unparseable
449 objects.
450 (merge 38bdda17dd jk/pull-null-merge-head later to maint).
451
452 * The sequencer machinery (used by 'git rebase', 'git cherry-pick', and
453 'git revert') has been updated to defer automatic maintenance tasks
454 until the end of the operation, preventing nested 'git commit', 'git
455 merge', and 'exec' commands from triggering GC operations that could
456 contend for locks or delete open packs while the sequence is in
457 progress.
458 (merge eba1a1c5dd tb/rerere-lock-grace later to maint).
459
460 * When 'core.fsyncMethod' is set to 'batch', the ODB transaction
461 failed to properly flush large blob packfiles residing in the
462 temporary directory before migrating the directory's contents to the
463 main object store. The execution sequence has been corrected by
464 performing the packfile flush before the temporary directory
465 migration, averting failure.
466 (merge ef7faa6350 jt/object-file-batch-fsync-fix later to maint).
467
468 * The default expiry periods for both reachable and unreachable reflog
469 entries have been corrected from a past regression that swapped
470 them.
471 (merge 60cf500551 ps/reflog-expiry-fix later to maint).
472
473 * The directory traversal logic has been updated to correctly evaluate
474 pathspecs for ignored directories containing nested repositories,
475 and has been fortified to gracefully handle null pathspecs during
476 checkout operations.
477 (merge ebc067f3cc rs/dir-skip-nested-repo-fix later to maint).
478
479 * The command-line parsing of revision options has been updated to
480 properly distinguish between malformed and unknown options, and to
481 correctly report the name of unknown options after they have been
482 moved during the option parsing process.
483 (merge da2926c8f5 jk/parse-revision-opt-fixes later to maint).
484
485 * The documentation for 'git-name-rev' has been updated to refer to
486 object IDs instead of SHA-1, to more accurately reflect that the
487 active hash algorithm is used.
488 (merge b2ab8fccc3 jk/name-rev-update-hash-descriptions later to maint).
489
490 * The HTTP transport has been updated to handle changes in recent curl
491 versions that strip credentials from the effective URL, preventing
492 unnecessary credential prompts during redirects.
493 (merge 76524c2604 jk/http-curl-strip-creds later to maint).
494
495 * The timestamp used for checking the reflog of a remote-tracking
496 branch during 'git push --force-if-includes' was left uninitialized
497 when the reflog was completely empty, which has been corrected.
498 (merge c84ed3a0ab as/push-force-if-includes-no-reflog later to maint).
499
500 * CI resource exhaustion during test runs on GitHub Actions has been
501 mitigated by switching a comparison of a huge output to use a binary
502 comparison, and by capping the parallel jobs on Linux to the number
503 of available CPUs.
504 (merge 4f956cf43a td/ci-large-test-resources later to maint).
505
506 * The `t5520` test script has been updated to disable reflog expiration.
507 This prevents test flakiness caused by the auto-maintenance
508 reflog-expire task, which would otherwise immediately expire the
509 test's reflogs due to them carrying hardcoded timestamps from 2005.
510 (merge a68cca9953 tb/t5520-reflog-expire later to maint).
511
512 * The internal representation of timezones in the reflog for the
513 reftable format has been fixed to match the specification, which
514 dictates an offset in minutes rather than the parsed "+HHMM" integer
515 representation.
516 (merge e14e2b6cf2 ps/reftable-reflog-timezone later to maint).
517
518 * The internal diff and merge machinery has been updated to use
519 standard size_t types rather than signed longs for buffer
520 allocations and offsets, preventing subtle overflow issues on LLP64
521 architectures, and plugging uninitialized memory leaks along error
522 paths.
523 (merge 5b0456361d jk/xdiff-size_t later to maint).
524
525 * The documentation for 'git remote set-head' has been updated to
526 clarify that it only modifies the local repository's remote-tracking
527 symbolic reference, and does not alter the target remote
528 repository's own 'HEAD'.
529 (merge c5f8f60719 mg/doc-remote-set-head later to maint).
530
531 * The commit map populated from the state branch in 'git
532 filter-branch' has been corrected to parse the map using the
533 original-to-rewritten order.
534 (merge 4811dabed7 gm/filter-branch-state-map-fix later to maint).
535
536 * The documentation for core.pager has been updated to provide
537 examples of overriding the LESS environment variable for custom
538 pagers by prefixing the pager command in the configuration.
539 (merge c7860da7db tz/doc-override-less-env later to maint).
540
541 * Closing a packfile did not evict the entries belonging to it from
542 the delta base cache, which could lead to data corruption when a
543 newly allocated packfile happened to reuse the same memory address.
544 The cache eviction logic has been updated to remove these stale
545 entries upon closing a pack
546 (merge 8d596ea8e7 ps/packfile-stale-delta-base-cache-fix later to maint).
547
548 * A boundary check in 'git fsck' against the big file threshold has
549 been corrected to prevent bogus corruption reports on packed objects
550 whose sizes exactly match the threshold.
551 (merge a9456705f1 ps/pack-check-bigfile-threshold later to maint).
552
553 * The 'from' command in 'git fast-import' has been updated to
554 correctly resolve references to newly created commits and tags by
555 checking the internal object table, preventing a crash when the
556 objects are not yet available in the object database.
557 (merge c1cdd3151e mb/fast-import-reference-pending later to maint).
558
559 * The branch decoration logic in the sequencer has been updated to use
560 an allocated buffer for the HEAD reference name, preventing it from
561 being clobbered when evaluating branches checked out in other
562 worktrees.
563 (merge 56e490a9b5 ak/sequencer-head-refdup later to maint).
564
565 * Various CI jobs have been updated to use modern OS images, drop dead
566 code, and remove redundant jobs. Support for Python 2 in CI has been
567 removed, and the linux-TEST-vars job has been renamed to
568 linux-feature-testbed.
569 (merge 3fff230cf5 ps/ci-housekeeping-and-modernizations later to maint).
570
571
572 * Instead of failing to record conflicts to be resolved immediately,
573 wait while "rerere gc" is ongoing.
574 (merge 5f6b6aa3ab tb/rerere-wait-for-merge-rr-lock later to maint).
575
576 * The '--dry-run' option of 'git repack --drop-filtered' used to
577 actually rebuild packs and delete redundant ones, which has been
578 corrected to only list the candidates without making changes.
579 (merge facedc705c ss/repack-drop-filtered-dry-run later to maint).
580
581 * The internal write_index_as_tree() function has been updated to
582 take the index lock gently. This allows it to skip the optional
583 cache-tree write-back when the lock is held by another process,
584 preventing commands like 'git rebase' from dying due to background
585 tasks holding the lock.
586 (merge 440b7035bb sw/cache-tree-ignore-locked-index later to maint).
587
588 * The internal config file parser has been updated to treat the
589 content read from a blob as a sequence of unsigned bytes, preventing
590 bytes with the high bit set from being mistakenly interpreted as
591 'EOF'.
592 (merge 074aaaf4f0 of/config-buf-fgetc-unsigned later to maint).
593
594 * The ZIP archive creation code has been updated to omit the 'UT'
595 extended timestamp extra field when the commit time exceeds the
596 32-bit positive signed integer limit, avoiding integer wraparound
597 for dates past the year 2038.
598 (merge 24e00cde86 rs/archive-zip-omit-out-of-range-mtime later to maint).
599
600 * The loose refs cache in the files backend has been updated to avoid
601 caching root refs (like 'HEAD'), preventing them from being omitted
602 from subsequent iterators that explicitly request them when a
603 previous iterator populated the cache without them.
604 (merge 7f4e8cd956 ak/refs-files-root-refs-cache later to maint).
605
606 * The --dry-run option of git reflog expire has been corrected to
607 report "would prune" instead of "prune" when refs are named on the
608 command line, bringing it in line with the behavior of the --all
609 option.
610
611 * A test in 't1450-fsck.sh' failed on older macOS when overwriting a
612 read-only loose object, which has been corrected by using 'mv -f'.
613 (merge 830758c33a tb/t1450-use-mv-f later to maint).
614
615 * The CI workflow has been updated to pin GitHub Actions to their full
616 commit IDs rather than version tags, which secures the CI
617 environment against potential supply-chain attacks.
618 (merge 10df2126aa tb/ci-pin-actions later to maint).
619
620 * The CI scripts have been updated to fail the build immediately when
621 optional dependencies like Perforce, Git-LFS, or JGit fail to
622 install, instead of silently skipping their tests.
623 (merge 266e43f1f7 hn/ci-fail-on-missing-deps later to maint).
624
625 * The sequencer has been fixed to ensure that the 'REBASE_HEAD' and
626 'AUTO_MERGE' refs are properly removed after a rebase finishes,
627 even when the final pick stops for conflicts and is later resumed
628 or skipped.
629
630 * The post-fetch connectivity check in 'git fetch' has been corrected
631 to avoid passing alternate refs as positive revisions during a
632 deepening fetch, plugging a severe performance bug.
633 (merge c741c37a4a iw/connected-deepen-fetch-no-alternate-refs later to maint).
634
635 * The object database files backend has been updated to reload
636 alternates when an object lookup fails on retry. This restores a lost
637 capability to find objects moved to a newly added alternate during a
638 concurrent repository rewrite, with caching and deduplication
639 optimizations to avoid performance regressions.
640
641 * Other code cleanup, docfix, build fix, etc.
642 (merge e638de60bc kz/doc-add-rm-typofix later to maint).
643 (merge 778c73948a kz/doc-user-manual-typo later to maint).
644 (merge 42017ff979 kh/doc-trailers-cmd-examples later to maint).
645 (merge 49e646f1c9 dk/fix-shattered-io-link later to maint).
646 (merge 154a141f20 hk/config-log-typofix later to maint).