git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / Documentation / RelNotes / 2.56.0.adoc
| 1 | Git v2.56 Release Notes |
| 2 | ======================= |
| 3 | |
| 4 | UI, Workflows & Features |
| 5 | ------------------------ |
| 6 | |
| 7 | * Advice shown by "git status" when the local branch is behind or has |
| 8 | diverged from its push branch has been updated to suggest "git pull |
| 9 | <remote> <branch>". |
| 10 | |
| 11 | * The handling of promisor-remote protocol capability has been updated |
| 12 | to allow the other side to add to the list of promisor remotes via the |
| 13 | 'promisor.acceptFromServerURL' configuration variable. |
| 14 | |
| 15 | * The 'ort' merge backend has been hardened against corrupt trees by |
| 16 | ensuring it aborts under appropriate error conditions. |
| 17 | |
| 18 | * The `fetch.followRemoteHEAD` configuration variable has been added to |
| 19 | provide a default for the per-remote `remote.<name>.followRemoteHEAD` |
| 20 | setting. |
| 21 | |
| 22 | * "git log --follow" has been updated to better handle non-linear |
| 23 | history, in which the path being tracked gets renamed differently in |
| 24 | multiple history lines. |
| 25 | |
| 26 | * The "git repo info" command has been taught new keys to output both |
| 27 | absolute and relative paths for "gitdir" and "commondir", supported by |
| 28 | a new path-formatting helper extracted from "git rev-parse". |
| 29 | |
| 30 | * When 'git push origin/main' or 'git branch origin main' is run, the |
| 31 | command is now recognized as a potential typo, and advice has been |
| 32 | added to offer a typo fix. |
| 33 | |
| 34 | * The 'git refs' toolbox has been extended with new 'create', 'delete', |
| 35 | 'update', and 'rename' subcommands to create, delete, update, and |
| 36 | rename references, respectively. |
| 37 | |
| 38 | * The experimental 'git history' command has been taught a new 'drop' |
| 39 | subcommand to remove a commit, with its descendants replayed onto its |
| 40 | parent. |
| 41 | |
| 42 | * The alignment of commit object name abbreviations in 'git blame' |
| 43 | output has been optimized to reserve a column for marks (caret, |
| 44 | question mark, or asterisk) only when such marks are actually shown. |
| 45 | |
| 46 | * Option parsing with 'git rev-parse --parseopt' and in most 'git' |
| 47 | subcommands has been updated to exit with 0 (instead of 129) when the |
| 48 | help option ('-h' or '--help') is requested directly by the user, |
| 49 | aligning with standard Unix convention. |
| 50 | |
| 51 | * The '[includeIf "condition"]' conditional inclusion facility for |
| 52 | configuration files has been taught to use the location of the |
| 53 | worktree in its condition. |
| 54 | |
| 55 | * The usage string and SYNOPSIS for 'git fast-export' have been |
| 56 | standardized to make them consistent with each other and with other |
| 57 | commands. |
| 58 | |
| 59 | * 'git log --graph' has been modified to visually distinguish parentless |
| 60 | 'root' commits (and commits that become roots due to history |
| 61 | simplification) by indenting them, preventing them from appearing |
| 62 | falsely related to unrelated commits rendered immediately above them. |
| 63 | |
| 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 | |
| 79 | * 'git branch -d' has been taught to report when a branch cannot be |
| 80 | deleted because it is being used in an active bisect run. |
| 81 | |
| 82 | * 'git mv' has been updated to check for a missing destination |
| 83 | leading directory during the checking phase, allowing 'git mv -n' |
| 84 | to report the failure. The error message when the rename(2) |
| 85 | syscall fails has also been improved to name both the source and |
| 86 | the destination. |
| 87 | |
| 88 | * 'git add' has been taught a new '--resolved' option to stage |
| 89 | conflict-resolved paths, while leaving unrelated local changes |
| 90 | unstaged. It scans the unmerged paths for leftover conflict |
| 91 | markers and aborts if any are found. |
| 92 | |
| 93 | * The known limitations of the ref format migration in 'git refs' have |
| 94 | been moved to be displayed as a warning admonition directly under the |
| 95 | description of the 'migrate' subcommand, improving visibility. A |
| 96 | reference to 'git-maintenance' has also been corrected to use the |
| 97 | 'linkgit' macro. |
| 98 | |
| 99 | * The 'git bisect' command has been taught a |
| 100 | '--reset-when-found[=<where>]' option that tells the command to |
| 101 | automatically run 'git bisect reset' to jump back to the original |
| 102 | state or to the found culprit. |
| 103 | |
| 104 | * The 'git branch' command has been taught the '--delete-merged' option |
| 105 | to remove local branches that are already merged into their tracked |
| 106 | remote-tracking branches. |
| 107 | |
| 108 | * The 'remote-object-info' command for 'git cat-file --batch-command' |
| 109 | has been extended to support the '%(objecttype)' placeholder. |
| 110 | |
| 111 | * The usage string of 'git fast-import' has been updated to use the |
| 112 | parse_options() API for displaying help, and its SYNOPSIS in the |
| 113 | documentation has been standardized to match. |
| 114 | |
| 115 | * The error message given by 'git send-email' when a message file is |
| 116 | missing a 'Subject:' header has been clarified, and the error string |
| 117 | is now terminated with a newline so that Perl avoids appending its |
| 118 | internal source location data. |
| 119 | |
| 120 | * The '--shallow-file' option of 'git' command requires a value, but the |
| 121 | code did not check the presence of a value and instead segfaulted |
| 122 | without one, which has been corrected. |
| 123 | |
| 124 | * 'git repack' has been taught '--drop-filtered' to delete local |
| 125 | promisor blobs exceeding a limit (currently 'blob:limit=') in partial |
| 126 | clones, reclaiming space. Guards prevent running during other |
| 127 | operations or if referenced by the index. |
| 128 | |
| 129 | * The documentation for 'git format-rev' has been updated to use the |
| 130 | [synopsis] block definition on code blocks to properly highlight |
| 131 | placeholders, and a quoting inconsistency in the running text has |
| 132 | been fixed. |
| 133 | |
| 134 | * The DWIM logic in 'git worktree add' sometimes tried to infer a |
| 135 | remote-tracking branch when an explicit '-b' or '-B' option was |
| 136 | given to create a new branch, causing the explicit branch name to |
| 137 | be ignored, which has been corrected. |
| 138 | |
| 139 | * The command line completion (in contrib/) has been taught to handle |
| 140 | the experimental 'git history' command. |
| 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 | |
| 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 | |
| 151 | * The documentation for 'git cherry-pick' has been updated to clarify |
| 152 | that the '--no-commit' option intentionally skips setting the |
| 153 | 'CHERRY_PICK_HEAD' ref. A test has also been added to ensure this |
| 154 | behavior holds even when the operation stops for conflicts. |
| 155 | |
| 156 | * The 'git imap-send' command has been taught to take the '--draft' |
| 157 | option to mark uploaded messages as drafts, which helps some email |
| 158 | clients render them properly for editing and sending. |
| 159 | |
| 160 | * The git rev-list command has been augmented with a '--missing-only' |
| 161 | option that filters the output to only show missing objects, |
| 162 | stripping the leading '?' character and suppressing present objects, |
| 163 | which is useful when used in combination with '--missing=print' or |
| 164 | '--missing=print-info'. |
| 165 | |
| 166 | |
| 167 | Performance, Internal Implementation, Development Support etc. |
| 168 | -------------------------------------------------------------- |
| 169 | |
| 170 | * The refactoring of 'setup.c' has been continued to drop remaining |
| 171 | global state (`git_work_tree_cfg`, `is_bare_repository_cfg`), updating |
| 172 | `is_bare_repository()` to no longer implicitly rely on |
| 173 | `the_repository`. |
| 174 | |
| 175 | * Project-specific configuration for b4 has been introduced, and the |
| 176 | documentation has been updated to recommend using it as a |
| 177 | streamlined method for submitting patches. |
| 178 | |
| 179 | * The default format path of git cat-file --batch has been optimized |
| 180 | to use strbuf_add_oid_hex() and strbuf_add_uint() instead of |
| 181 | strbuf_addf(), yielding a noticeable speedup. |
| 182 | |
| 183 | * Commands that list branches and tags (like git branch and git tag) |
| 184 | have been optimized to pass the namespace prefix when initializing |
| 185 | their ref iterator, avoiding a loose-ref scaling regression in |
| 186 | repositories with many unrelated loose references. |
| 187 | |
| 188 | * The packed object source has been refactored into a proper struct |
| 189 | odb_source. |
| 190 | |
| 191 | * The global configuration variables protect_hfs and protect_ntfs have |
| 192 | been migrated into struct repo_config_values to tie them to |
| 193 | per-repository configuration state. |
| 194 | |
| 195 | * The trailer sections in SubmittingPatches have been updated to |
| 196 | encourage use of standard trailers. |
| 197 | |
| 198 | * The documentation in SubmittingPatches has been updated to clarify how |
| 199 | patch contributors should respond to design and viability critiques, |
| 200 | and how the resolution of such critiques should be recorded in the |
| 201 | final commit messages. |
| 202 | |
| 203 | * The pack-objects command has been updated to support reachability |
| 204 | bitmaps and delta-islands concurrently with the `--path-walk` option, |
| 205 | allowing faster packaging by falling back to path-walk when bitmaps |
| 206 | cannot fully satisfy the request. |
| 207 | |
| 208 | * Documentation on community contribution guidelines has been updated to |
| 209 | encourage replying to review comments before rerolling, and to advise |
| 210 | a default limit of at most one reroll per day to give reviewers across |
| 211 | different time zones enough time to participate. |
| 212 | |
| 213 | * The lazy priority queue optimization pattern (deferring actual removal |
| 214 | in 'prio_queue_get()' to allow get+put fusion) has been folded |
| 215 | directly into 'prio_queue' itself, speeding up commit traversal |
| 216 | workflows and simplifying callers. |
| 217 | |
| 218 | * The 'reprepare()' callback for object database sources has been |
| 219 | generalized into a 'prepare()' callback with an optional flush cache |
| 220 | flag, and a new 'odb_prepare()' wrapper has been introduced to allow |
| 221 | pre-opening object database sources. |
| 222 | |
| 223 | * The 'whence' field in 'struct object_info' has been removed. The |
| 224 | backend-specific object information retrieval has been refactored into |
| 225 | an opt-in 'struct object_info_source' structure. |
| 226 | |
| 227 | * A racy build failure under Meson has been corrected by ensuring that |
| 228 | the generated header file 'hook-list.h' is built before compiling |
| 229 | files in 'builtin_sources' that depend on it. |
| 230 | |
| 231 | * The repository discovery and repository configuration phases, which |
| 232 | were previously intertwined in 'setup.c', have been split. Repository |
| 233 | discovery has been updated to populate a 'struct repo_discovery' |
| 234 | without modifying the repository state, which is then taken by |
| 235 | repository configuration to initialize the repository, paving the way |
| 236 | for clean unification of repository configuration. |
| 237 | |
| 238 | * The 'SubmittingPatches' document has been updated to explicitly |
| 239 | describe the expectation for contributors to retract or abandon their |
| 240 | patch series when they are no longer pursuing it. |
| 241 | |
| 242 | * The contributor guide has been updated to advise new contributors to |
| 243 | trim irrelevant quoted text when replying to review comments, matching |
| 244 | the existing advice given to reviewers. |
| 245 | |
| 246 | * The build system has been updated to support building universal macOS |
| 247 | binaries when 'Rust' is enabled, by compiling separate static archives |
| 248 | for each target triple listed in 'RUST_TARGETS' and combining them |
| 249 | using the macOS 'lipo' tool. The 'git-credential-osxkeychain' helper |
| 250 | has been updated to link against '$(RUST_LIB)' when 'Rust' is enabled. |
| 251 | |
| 252 | * The test suite has been updated to use the 'test_grep' helper instead |
| 253 | of bare 'grep' for test assertions, allowing file contents to be |
| 254 | printed on failure for easier debugging. A new 'greplint' linter has |
| 255 | been introduced to detect and prevent new bare 'grep' assertions from |
| 256 | being added to the test suite. |
| 257 | |
| 258 | * The pipelines in 't1410-reflog.sh' have been replaced with the |
| 259 | 'test_stdout_line_count' helper to avoid suppressing the exit code of |
| 260 | 'git' commands, ensuring failures are not hidden from the test suite. |
| 261 | |
| 262 | * The cache-scanning loop in 'next_cache_entry()' has been optimized |
| 263 | to avoid rescanning already-unpacked index entries, preventing a |
| 264 | quadratic performance slow-down when diffing the working tree |
| 265 | against a commit with a pathspec matching early index entries. |
| 266 | |
| 267 | * The global configuration variable 'ignore_case' (representing the |
| 268 | 'core.ignorecase' configuration) has been migrated into 'struct |
| 269 | repo_config_values' to tie it to a specific repository instance. |
| 270 | |
| 271 | * The performance of ref updates and reads using the 'reftable' backend |
| 272 | in the presence of many deletion tombstone records has been optimized |
| 273 | by removing the tombstone suppression flag from the merged iterator |
| 274 | and instead skipping tombstones at higher-level call sites where |
| 275 | iteration bounds are known. |
| 276 | |
| 277 | * Various code paths have been hardened against potential NULL-pointer |
| 278 | dereferences and invalid file descriptor accesses flagged by |
| 279 | Coverity. |
| 280 | |
| 281 | * The in-tree 'b4' cover letter template has been updated to include the |
| 282 | 'change-id' trailer, ensuring that sent tags generated by 'b4' contain |
| 283 | the required tracking information for subsequent runs. |
| 284 | |
| 285 | * 'git receive-pack' has been refactored to use ODB transaction |
| 286 | interfaces instead of directly managing 'tmp_objdir' for staging |
| 287 | incoming objects, bringing it closer to being ODB backend agnostic. |
| 288 | |
| 289 | * The test script 't/t9811-git-p4-label-import.sh' has been |
| 290 | modernized to use 'test_path_is_file' and 'test_path_is_missing' |
| 291 | instead of raw 'test -f' and '! test -f' calls. |
| 292 | |
| 293 | * A redundant strbuf_reset() call in the 'HAVE_GETDELIM' path of |
| 294 | strbuf_getwholeline() has been removed, as getdelim() overwrites the |
| 295 | buffer and the length is updated afterward. |
| 296 | |
| 297 | * The object database enumeration interface odb_for_each_object() has |
| 298 | been taught to accept object filters, allowing the underlying backends |
| 299 | to optimize the traversal by using reachability bitmaps when |
| 300 | available. 'git cat-file --batch-all-objects' has been updated to use |
| 301 | this generic interface, simplifying its code and avoiding direct |
| 302 | access to ODB backend internals. |
| 303 | |
| 304 | * The test script 't/t1100-commit-tree-options.sh' has been modernized |
| 305 | by converting test cases to the modern style (using single quotes and |
| 306 | tab indentation) and moving the creation of the expected file inside |
| 307 | the setup test so it runs under the protection of the test harness. |
| 308 | |
| 309 | * The test script 't/t7614-merge-signoff.sh' has been updated to avoid |
| 310 | suppressing the exit code of 'git' commands in a pipe. |
| 311 | |
| 312 | * The 'git rev-list --no-walk' command has been corrected to restore |
| 313 | pathspec filtering, which was lost when the streaming walk was |
| 314 | refactored. |
| 315 | |
| 316 | * The ref subsystem and the worktree API have been refactored to pass a |
| 317 | repository pointer down the call chain, allowing them to drop |
| 318 | references to the global 'the_repository' variable. As part of this, |
| 319 | the handling of the 'core.packedRefsTimeout' configuration has been |
| 320 | moved into the per-repository ref store structure. |
| 321 | |
| 322 | * 'git branch --contains' and 'git for-each-ref --contains' have been |
| 323 | optimized to use the memoized commit traversal previously used only by |
| 324 | 'git tag --contains', significantly speeding up connectivity checks |
| 325 | across many candidate refs with shared history. |
| 326 | |
| 327 | * The passing of push destination specifications in the 'remote-curl' |
| 328 | helper has been simplified by removing the explicit 'count' parameter |
| 329 | and relying on the NULL-termination of the array. |
| 330 | |
| 331 | * The dependency on the global 'the_repository' variable in the |
| 332 | 'refspec.c' API has been removed by passing the hash algorithm |
| 333 | explicitly to refspec-parsing functions and storing it in 'struct |
| 334 | refspec'. |
| 335 | |
| 336 | * The enumeration of untracked and ignored files in 'git status' has |
| 337 | been optimized by avoiding quadratic complexity when inserting into |
| 338 | string lists, reducing the construction cost from O(n^2) to O(n log |
| 339 | n). |
| 340 | |
| 341 | * The copy_file() and copy_file_with_time() functions have been |
| 342 | refactored to take a repository parameter, allowing the removal of the |
| 343 | implicit dependency on the global 'the_repository' variable in |
| 344 | 'copy.c'. |
| 345 | |
| 346 | * The tempfile and lockfile APIs have been refactored to stop depending |
| 347 | on the 'the_repository' global variable, and their callers have been |
| 348 | updated to use the repository-aware variants. |
| 349 | |
| 350 | * The 'trust_executable_bit' (coming from the 'core.filemode' |
| 351 | configuration) has been migrated into 'struct repo_config_values' to |
| 352 | tie it to a specific repository instance. |
| 353 | |
| 354 | * The 'excludes_file' and various other global configuration variables |
| 355 | (including 'editor_program', 'pager_program', 'askpass_program', and |
| 356 | 'push_default') have been migrated into the per-repository structure. |
| 357 | |
| 358 | * The 'git stash push' command has been optimized to avoid unnecessary |
| 359 | sparse index expansion when pathspecs are wholly inside the |
| 360 | sparse-checkout cone. Also, a potential out-of-bounds read in the |
| 361 | sparse-index expansion check helper pathspec_needs_expanded_index() |
| 362 | has been fixed by consistently using the parsed, prefixed path. |
| 363 | |
| 364 | * The logic to write loose objects has been refactored and moved from |
| 365 | 'object-file.c' to the loose backend source file 'odb/source-loose.c', |
| 366 | making the loose backend more self-contained. This is achieved by |
| 367 | first refactoring force_object_loose() to use generic ODB write |
| 368 | interfaces instead of loose-backend internals. |
| 369 | |
| 370 | * Object database housekeeping in 'git gc' and 'git maintenance' has |
| 371 | been refactored to be pluggable. The files-backend-specific logic, |
| 372 | including incremental and geometric repacking as well as object |
| 373 | pruning, has been moved out of the command implementation and into the |
| 374 | files object database source, enabling future alternative object |
| 375 | database backends to implement their own housekeeping services. |
| 376 | |
| 377 | * The image version used by the static-analysis CI job has been bumped |
| 378 | to ubuntu-latest (Ubuntu 24.04), which brings in a newer Coccinelle |
| 379 | version that resolves a severe performance regression. A false |
| 380 | positive warning from the 'CHECK_ASSERTION_SIDE_EFFECTS' build with |
| 381 | GCC 15 in the Bloom filter code has also been silenced to facilitate |
| 382 | the image upgrade. |
| 383 | |
| 384 | * The alias tests in 't/t0014-alias.sh' have been updated to dynamically |
| 385 | query the list of deprecated commands using 'git |
| 386 | --list-cmds=deprecated' to avoid test failures when running with |
| 387 | 'WITH_BREAKING_CHANGES' in a build directory that contains stale |
| 388 | executables of formerly deprecated commands. |
| 389 | |
| 390 | * The code path that deals with relative paths in the diff-lib has |
| 391 | been cleaned up. |
| 392 | |
| 393 | * The get_commit_action() function has been refactored to be a pure |
| 394 | predicate by moving the side-effecting line-level log range folding to |
| 395 | simplify_commit(). This ensures that evaluating a commit's action |
| 396 | before the walk reaches it does not prematurely mutate its tracked |
| 397 | line ranges, making it safer for potential lookahead evaluations. |
| 398 | |
| 399 | * Synopsis and options in the documentation for 'git format-patch', |
| 400 | 'git imap-send', 'git send-email', and 'git request-pull' have been |
| 401 | updated to the modern style. |
| 402 | |
| 403 | * A new test helper commit_body() has been introduced to print the |
| 404 | message body of a commit, and various tests have been updated to use |
| 405 | it instead of spelling out the command pipeline manually and losing |
| 406 | the exit status of the 'git cat-file' command on the upstream of the |
| 407 | pipe. |
| 408 | |
| 409 | * Tests for 'git merge-base --is-ancestor' have been added to cover |
| 410 | exit codes (0 for success, 1 for non-ancestor, 128 for errors) and |
| 411 | to ensure it cannot be combined with '--all'. |
| 412 | |
| 413 | * The 'TRACE2_ANCESTRY' prerequisite in the 't0213' test script has been |
| 414 | refined to avoid failures under user-mode emulation by verifying that |
| 415 | the ancestry collector reports the expected process names rather than |
| 416 | the emulator binary name. |
| 417 | |
| 418 | * Concurrent downloads of packfiles via packfile URIs and dumb HTTP are |
| 419 | safer by avoiding concurrent appends to the staging file. Opening in |
| 420 | read-write mode with separate file offsets prevents corruption and |
| 421 | preserves resumability. 'fetch-pack' now tolerates pre-existing |
| 422 | '.keep' files. |
| 423 | |
| 424 | * The 'ssh-agent' tests in 't7528' have been fixed to work when the |
| 425 | user's login shell is csh-like, by explicitly passing '-s' to |
| 426 | 'ssh-agent' to force Bourne shell syntax. |
| 427 | |
| 428 | * A compatibility wrapper for writev(3p) has been reintroduced, |
| 429 | including fixes for CMake build and 'MAX_IO_SIZE' limits on NonStop. |
| 430 | Calls to write(3p) in send_sideband() and cat_blob() have been |
| 431 | refactored to use writev(3p) wrappers to reduce syscall overhead. |
| 432 | |
| 433 | * The creation of the on-disk data structures for the object database |
| 434 | has been made pluggable, allowing future backends to customize their |
| 435 | setup. As part of this, the initialization of the object database |
| 436 | has been deferred, and the loading of the loose-object map has been |
| 437 | detangled from repository initialization. |
| 438 | |
| 439 | * The 'struct odb_read_stream' and 'struct odb_write_stream' |
| 440 | structures have been consolidated into a single unified 'struct |
| 441 | odb_stream' structure, simplifying object database streaming APIs |
| 442 | and enabling streaming of arbitrary object types. |
| 443 | |
| 444 | * The sequencer has been updated to release the object database before |
| 445 | spawning 'git commit'. This prevents open file handles from |
| 446 | blocking auto-maintenance tasks, such as repacking, on systems like |
| 447 | Windows where open files cannot be easily unlinked. |
| 448 | |
| 449 | * The merge-base computation has been optimized by stopping the walk |
| 450 | early when one side's exclusive commits in the queue are exhausted, |
| 451 | yielding significant speedups for queries with one-sided histories. |
| 452 | |
| 453 | * A handful of code paths have been corrected to check return values |
| 454 | from functions like curl_easy_duphandle(), deflateInit(), lseek(), |
| 455 | dup(), and strbuf_getline_lf(), resolving several Coverity warnings |
| 456 | about unchecked returns. |
| 457 | |
| 458 | * The setting of a now-unused member '.pretty_given' in the sequencer |
| 459 | machinery has been removed. |
| 460 | |
| 461 | * The performance of adding numerous new packfiles has been improved |
| 462 | by introducing a fast path for known-new packfiles to skip an |
| 463 | unnecessary traversal in packfile_list_append(), avoiding a |
| 464 | quadratic complexity regression on load. |
| 465 | |
| 466 | * The unused name parameter in 'struct chdir_notify_entry' has been |
| 467 | removed from chdir_notify_register(), chdir_notify_unregister(), and |
| 468 | related callback signatures across several subsystems, simplifying the |
| 469 | API now that trace output no longer uses it. |
| 470 | |
| 471 | * A heap-use-after-free bug in the object name parsing code when |
| 472 | reporting failures with a relative path to a sparse directory has |
| 473 | been corrected. |
| 474 | |
| 475 | * The object database (odb) API has been refactored to distinguish |
| 476 | between missing objects and corrupt ones by returning more |
| 477 | descriptive error statuses. Both the packed and loose backends now |
| 478 | faithfully propagate error details using a generic strbuf error |
| 479 | mechanism, removing backend-specific leakage from central lookup |
| 480 | paths. |
| 481 | |
| 482 | * The object database layer has been simplified by eagerly loading |
| 483 | alternate object directories upon initialization, instead of |
| 484 | deferring it to the first object lookup. This eliminates the need |
| 485 | for scattered lazy-loading calls throughout the codebase and paves |
| 486 | the way for integrating alternates with the pluggable backends. |
| 487 | |
| 488 | * The threshold for geometric repacking to trigger based on loose |
| 489 | object count has been adjusted to match that of 'git gc --auto', |
| 490 | preventing over-aggressive repacking during concurrent writes. |
| 491 | |
| 492 | * The 'git receive-pack' command has been updated to use a new ODB |
| 493 | transaction interface for writing incoming packfiles, making it more |
| 494 | backend-agnostic. |
| 495 | |
| 496 | * The mechanism to generate a packfile corresponding to the result of |
| 497 | a fetch/push has been made pluggable through a set of object |
| 498 | database callback functions, removing hardcoded references to |
| 499 | 'pack-objects' and enabling alternative ODBs to serve packfiles |
| 500 | themselves. |
| 501 | |
| 502 | * The pack-objects command has been updated to record the total bytes |
| 503 | written to pack files in trace2 output, allowing performance |
| 504 | analysis of different compression settings by comparing the |
| 505 | resulting pack sizes. |
| 506 | |
| 507 | * The global variable 'fetch_if_missing' has been moved to a member in |
| 508 | 'struct repository', continuing the libification process and |
| 509 | allowing per-repository control (such as for submodules). |
| 510 | |
| 511 | * The reftable code has been optimized to avoid an unnecessary |
| 512 | stat/reload of the stack when an addition already holds the |
| 513 | list_file lock, reducing the number of newfstatat syscalls from |
| 514 | linear to constant when writing refs. |
| 515 | |
| 516 | * The application of the edited patch in 'git add -e' has been |
| 517 | refactored to use the internal apply API directly, avoiding the need |
| 518 | to spawn a 'git apply' subprocess. |
| 519 | |
| 520 | * The memory ownership of argv elements passed to the revision |
| 521 | machinery has been made more robust by keeping logically "freed" |
| 522 | elements alive until the rev_info struct is released, preventing |
| 523 | use-after-free bugs when options store references to them. |
| 524 | |
| 525 | * The object lookup machinery has been taught to gracefully recover |
| 526 | when a multi-pack-index points to an owning pack that was removed |
| 527 | during a concurrent geometric repack, and 'git replay' has been |
| 528 | fixed to not segfault when reading such missing objects. |
| 529 | |
| 530 | * A collection of patches from Git for Windows has been upstreamed, |
| 531 | mostly focusing on simplifying and robustifying build configurations |
| 532 | for MinGW/MSYS2, dropping obsolete compatibility options, and allowing |
| 533 | the main 'git.exe' to be used directly without the extra wrapper |
| 534 | process on Windows. |
| 535 | |
| 536 | * The process of downloading packfile URIs in protocol v2 has been |
| 537 | instrumented with a Trace2 region. This visibility allows tracking |
| 538 | the cumulative time spent downloading external packs and the number |
| 539 | of advertised URIs without emitting a separate event per pack. |
| 540 | |
| 541 | * CGI helper scripts used by HTTP-related test scripts have been updated |
| 542 | to use atomic filesystem operations, preventing race conditions when |
| 543 | Apache handles concurrent requests. |
| 544 | |
| 545 | * "git maintenance" triggered "rerere gc" in unappropriate times and |
| 546 | interfered with "git rebase" etc. too much. The conditions "rerere |
| 547 | gc" gets triggered have been tweaked. |
| 548 | |
| 549 | * Windows build switches from MINGW64 to URCR64 runtime starting Git |
| 550 | 2.56.0; switch the cmake based build at the same time. |
| 551 | |
| 552 | * The mechanism to register in-memory alternate object sources has |
| 553 | been removed, as submodule object databases are now accessed |
| 554 | natively via their own repository structures. This simplifies |
| 555 | object database management and prepares the codebase for migrating |
| 556 | alternate tracking into the files backend. |
| 557 | |
| 558 | * The consistency checks for the object database (fsck) have been |
| 559 | decoupled from the generic builtin implementation and moved into the |
| 560 | backend-specific object source layers, making them pluggable for |
| 561 | different object storage formats. |
| 562 | |
| 563 | * When cross-compiling with Cargo, the output artifact is placed in a |
| 564 | target-specific subdirectory, which causes the build system to fail |
| 565 | to locate it. The build system has been updated to respect the |
| 566 | 'CARGO_BUILD_TARGET' environment variable. |
| 567 | |
| 568 | |
| 569 | Fixes since v2.55 |
| 570 | ----------------- |
| 571 | |
| 572 | * A regression in the error diagnosis code for invalid .git files has |
| 573 | been fixed, avoiding a potential NULL-pointer crash when reporting |
| 574 | that a .git file does not point to a valid repository. |
| 575 | (merge 54a441bcea jk/setup-gitfile-diag-fix later to maint). |
| 576 | |
| 577 | * Support for hashing loose or packed objects larger than 4GB on Windows |
| 578 | and other LLP64 platforms has been improved by converting object header |
| 579 | buffers and data-handling functions from 'unsigned long' to 'size_t'. |
| 580 | (merge d99e13d0be po/hash-object-size-t later to maint). |
| 581 | |
| 582 | * The display of the rebase todo list in "git status" has been |
| 583 | improved to correctly abbreviate object IDs for more commands and |
| 584 | avoid misinterpreting refs as object IDs. |
| 585 | (merge 6f34e5f9e3 pw/status-rebase-todo later to maint). |
| 586 | |
| 587 | * Reference backend configuration has been updated to load lazily to |
| 588 | avoid recursive calls during repository initialization when 'onbranch' |
| 589 | configuration conditions are evaluated. This has also fixed a memory |
| 590 | leak and allowed the unused `chdir_notify_reparent()` machinery to be |
| 591 | dropped. |
| 592 | (merge d6522d01df ps/refs-onbranch-fixes later to maint). |
| 593 | |
| 594 | * The connectivity check has been refactored to search for promisor |
| 595 | objects in a generic way using the object database interface, |
| 596 | rather than iterating packfiles directly. This allows connectivity |
| 597 | checks to work properly in repositories that do not use packfiles. |
| 598 | (merge 66ee9cb930 ps/connected-generic-promisor-checks later to maint). |
| 599 | |
| 600 | * A test checking interactions between git rebase --quit and |
| 601 | autostash in t3420-rebase-autostash.sh has been corrected to use |
| 602 | test_path_is_missing instead of ! grep on a file that shouldn't |
| 603 | exist in the conflicted state. |
| 604 | (merge eaad121fef sg/t3420-do-not-grep-in-missing-file later to maint). |
| 605 | |
| 606 | * The GPG and SSH signature parsing code has been corrected to strip |
| 607 | carriage return characters only when they immediately precede line |
| 608 | feeds, instead of unconditionally stripping all carriage returns. |
| 609 | (merge 5dea8b690b ad/gpg-strip-cr-before-lf later to maint). |
| 610 | |
| 611 | * A memory leak in the 'reftable_writer_new()' initialization function |
| 612 | has been fixed by delaying the allocation of 'struct reftable_writer' |
| 613 | until after input options are validated. |
| 614 | (merge c6fb3b9c3e jk/reftable-leakfix later to maint). |
| 615 | |
| 616 | * A memory leak in the '--base' handling of 'git format-patch' has been |
| 617 | plugged, and the leak reporting of the test suite when running under a |
| 618 | TAP harness has been improved. |
| 619 | (merge 973a0373ff jk/format-patch-leakfix later to maint). |
| 620 | |
| 621 | * A write file stream resource leak has been fixed as part of a code |
| 622 | cleanup. |
| 623 | (merge ebb4d2ffa3 jc/history-message-prep-fix later to maint). |
| 624 | |
| 625 | * Various memory leaks in the Bloom-filter code paths that are exposed |
| 626 | when running tests with the 'GIT_TEST_COMMIT_GRAPH_CHANGED_PATHS=1' |
| 627 | environment variable have been plugged. |
| 628 | (merge 459088ec2e jk/bloom-leak-fixes later to maint). |
| 629 | |
| 630 | * The wincred credential helper has been updated to avoid memory |
| 631 | corruption when erasing credentials and to prevent silent |
| 632 | credential loss when storing OAuth tokens, by correcting buffer |
| 633 | allocations and arguments passed to safe-CRT APIs. |
| 634 | (merge f635ab9ab4 js/wincred-fixes later to maint). |
| 635 | |
| 636 | * Various code paths that initialize a cryptographic hash context but |
| 637 | bail out or finish without calling 'git_hash_final()' have been taught |
| 638 | to call 'git_hash_discard()' to release allocated resources, fixing |
| 639 | memory leaks when Git is built with non-default backends like |
| 640 | 'OpenSSL' or 'libgcrypt'. |
| 641 | (merge 600588d2aa jk/hash-algo-leak-fixes later to maint). |
| 642 | |
| 643 | * Various resource leaks, invalid file descriptor closures, and process |
| 644 | handle ownership issues flagged by Coverity have been fixed. |
| 645 | (merge 9184231173 js/coverity-fixes later to maint). |
| 646 | |
| 647 | * Dockerized CI jobs running in private GitHub repositories have been |
| 648 | adjusted to use explicit process and file limits, preventing resource |
| 649 | exhaustion errors on private runners. |
| 650 | (merge bad766fbac js/ci-dockerized-pid-limit later to maint). |
| 651 | |
| 652 | * Various test scripts have been updated to clean up large temporary |
| 653 | files and repositories, reducing peak disk usage during testing. |
| 654 | Also, expensive tests have been disabled on platforms that lack |
| 655 | sufficient resources (like 32-bit platforms and Windows CI runners), |
| 656 | and the long test suite has been enabled in GitLab CI. |
| 657 | (merge 84248444ad ps/t-fixes-for-git-test-long later to maint). |
| 658 | |
| 659 | * The UTF-8 precomposition wrapper on macOS has been updated to use a |
| 660 | flexible array member to represent the name of a directory entry, |
| 661 | preventing fortified libc checks from failing when the name is |
| 662 | reallocated to be larger than 'NAME_MAX' bytes. |
| 663 | (merge 1eb281159f ih/precompose-flex-array later to maint). |
| 664 | |
| 665 | * The 'git_hash_*()' wrappers have been updated to be used consistently |
| 666 | across the codebase instead of direct calls to members of 'struct |
| 667 | git_hash_algo', and 'git_hash_discard()' has been made idempotent to |
| 668 | simplify cleanups. |
| 669 | (merge 9e396aa553 jk/git-hash-cleanups later to maint). |
| 670 | |
| 671 | * The sideband demultiplexer has been updated to recognize ANSI SGR |
| 672 | escape sequences that use colon-separated subfields (e.g., for |
| 673 | 256-color or true-color codes). |
| 674 | (merge 3792b2aea4 mm/sideband-ansi-sgr-colon-fix later to maint). |
| 675 | |
| 676 | * The 'reftable' code has been hardened against corrupted tables by |
| 677 | fixing out-of-bounds writes, out-of-bounds reads, and abort calls |
| 678 | during parsing. |
| 679 | (merge ca93c27328 ps/reftable-hardening later to maint). |
| 680 | |
| 681 | * A description in the release notes for Git 2.55.0 has been |
| 682 | retroactively updated to clarify that Rust support is enabled by |
| 683 | default, but still optional, and will become mandatory in Git 3.0. |
| 684 | (merge 18b2009d14 jc/relnotes-2.55-rust-fix later to maint). |
| 685 | |
| 686 | * The early-exit optimization in 'paint_down_to_common()' has been |
| 687 | gated on the queue being generation-ordered, fixing a bug where |
| 688 | 'git merge-base' (without '--all') could return incorrect results |
| 689 | on repositories with v1 commit graphs and clock skew. |
| 690 | (merge ae68032a8d kk/commit-reach-find-all-fix later to maint). |
| 691 | |
| 692 | * The client-side parser of the server-advertised bundle-URI list has |
| 693 | been updated to drain the remaining response in order to avoid |
| 694 | protocol desynchronization when the server sends a misconfigured list. |
| 695 | Also, the server-side has been taught to omit empty configuration |
| 696 | values instead of sending invalid key-value lines. |
| 697 | (merge 50de1169e4 tc/bundle-uri-empty-fix later to maint). |
| 698 | |
| 699 | * The 'topo_levels' slab was propagated only to the topmost layer of a |
| 700 | split commit-graph chain, causing topological levels for commits in |
| 701 | base layers to be recomputed during incremental writes. This has been |
| 702 | corrected. |
| 703 | |
| 704 | * The stream-based object signature verification path has been |
| 705 | corrected to avoid double-closing the stream on read errors. |
| 706 | (merge cfd52a74a0 ps/odb-stream-double-close-fix later to maint). |
| 707 | |
| 708 | * The '-i' shorthand for the '--init' option, which was accepted by the |
| 709 | 'git submodule update' command until it was broken in a modernization |
| 710 | of the option-parsing code, has been restored. |
| 711 | (merge ff1da37f58 dm/submodule-update-i-shorthand later to maint). |
| 712 | |
| 713 | * An accidental use of the '%zu' format specifier in 'git |
| 714 | submodule--helper' has been corrected to use 'PRIuMAX' and cast the |
| 715 | value to 'uintmax_t' to avoid portability issues. |
| 716 | (merge 3279c13c00 jc/submodule-helper-avoid-zu later to maint). |
| 717 | |
| 718 | * The rebase post-rewrite notes-copying logic has been corrected. When |
| 719 | a commit is dropped during rebase (e.g., because its changes are |
| 720 | already upstream), it is no longer recorded as rewritten, preventing |
| 721 | its notes from being copied to an unrelated commit. |
| 722 | (merge 42554b78fd pw/rebase-drop-notes-with-commit later to maint). |
| 723 | |
| 724 | * A few memory problems in the Rust interface to C hash functions have |
| 725 | been corrected. The 'Clone' implementation of 'CryptoHasher' now |
| 726 | properly initializes the context before cloning, and its 'Drop' |
| 727 | implementation now discards the context to prevent leaks. |
| 728 | |
| 729 | * The object ID shortening and linking in the 'commitdiff' view of |
| 730 | 'gitweb' has been corrected to work even when the index line carries |
| 731 | a trailing file mode. |
| 732 | (merge fda513d6fe tl/gitweb-shorten-hashes-with-modes later to maint). |
| 733 | |
| 734 | * When the push remote is specified as a URL, the fetch refspec of a |
| 735 | uniquely matching configured remote is now used to find and update |
| 736 | the remote-tracking branch (e.g., '@{push}'). |
| 737 | |
| 738 | * Traversals with '--exclude-first-parent-only' have been corrected |
| 739 | to properly stop after the first parent even when it has already |
| 740 | been marked as 'SEEN'. |
| 741 | (merge 47382f7398 jc/exclude-first-parent-seen later to maint). |
| 742 | |
| 743 | * A segfault when 'git clone --revision' talks to a server that does not |
| 744 | support protocol v2 (falling back to protocol v0) has been corrected. |
| 745 | (merge 1034ad383f af/clone-revision-v0-segfault-fix later to maint). |
| 746 | |
| 747 | * rewrites_release() in 'remote.c' has been updated to free 'struct |
| 748 | rewrite' instances, their '.instead_of' arrays, and their contents. |
| 749 | (merge dcef3bf041 jc/remote-insteadof-leakfix later to maint). |
| 750 | |
| 751 | * The remote-matching logic for submodules has been corrected to resolve |
| 752 | 'url.*.insteadOf' aliases before comparing the inventoried URL from |
| 753 | '.gitmodules' with the URLs of configured remotes. |
| 754 | |
| 755 | * 'git diff --relative' running with '--cached' has been corrected to |
| 756 | avoid a segfault when encountering unmerged paths outside the |
| 757 | prefix. |
| 758 | (merge 447126ed7d jk/diff-relative-cached-unmerged later to maint). |
| 759 | |
| 760 | * Two bugs in how 'git rebase' handles skipped 'fixup' and 'squash' |
| 761 | commands have been fixed. One bug caused an incorrect commit count to |
| 762 | be shown in the template message when multiple commands were skipped, |
| 763 | and another prevented the editor from opening when the final command |
| 764 | in a chain containing 'fixup -c' was skipped. |
| 765 | |
| 766 | * Git for Windows has been updated to avoid auto-detecting the symlink |
| 767 | type if the target path starts with a slash, preventing NTLM |
| 768 | credential leaks when checking out repositories with crafted |
| 769 | symbolic links pointing to network shares. |
| 770 | |
| 771 | * 'git cat-file --batch-command' that asked for 'contents' without |
| 772 | 'type' segfaults, which has been corrected. |
| 773 | (merge 2abc7f0304 jk/cat-file-batch-wo-type-fix later to maint). |
| 774 | |
| 775 | * A memory leak in 'git merge' when run without arguments (which |
| 776 | triggers the default-to-upstream path) has been fixed. A test has |
| 777 | been added to cover this case. |
| 778 | (merge 68cce04a02 tc/merge-default-to-upstream-leakfix later to maint). |
| 779 | |
| 780 | * A boundary case check in reachability bitmap traversal has been |
| 781 | corrected to properly handle the object at position zero, which was |
| 782 | previously skipped, leading to redundant bitmap loading. |
| 783 | (merge b56b48301e dl/pack-bitmap-position-zero later to maint). |
| 784 | |
| 785 | * A crash in the 'sparse-index' collapse code when encountering an |
| 786 | invalidated cache-tree node (due to an intent-to-add path) has been |
| 787 | fixed by avoiding collapsing such subtrees. |
| 788 | (merge eede1e69fe ds/sparse-index-ita-crash later to maint). |
| 789 | |
| 790 | * Documentation for 'git replay' has been updated to refer to its |
| 791 | configuration variables. |
| 792 | (merge 48c0549f5c kh/doc-replay-config later to maint). |
| 793 | |
| 794 | * Documentation for 'git interpret-trailers' has been updated to explain |
| 795 | the format of trailer keys (alphanumeric characters and hyphens), |
| 796 | replace outdated terminology, define key terms upfront, and document |
| 797 | how comment lines in the input are treated. |
| 798 | (merge 4515c86fd9 kh/doc-trailers later to maint). |
| 799 | |
| 800 | * The 'pack-objects' and delta-encoding code paths have been updated to |
| 801 | use 'size_t' instead of 'unsigned long' for object sizes and offset |
| 802 | limits, avoiding potential truncation issues on 64-bit Windows. |
| 803 | (merge d50ac11724 js/pack-objects-delta-size-t later to maint). |
| 804 | |
| 805 | * A client requesting the promisor-remote capability without a value |
| 806 | caused a null pointer dereference, which has been corrected by |
| 807 | rejecting a request without an argument. |
| 808 | (merge dd6b35ff71 en/serve-promisor-remote-fix later to maint). |
| 809 | |
| 810 | * Various tests in 't7900-maintenance.sh' have been updated to use a |
| 811 | throwaway repository, and auto-detaching of maintenance tasks is now |
| 812 | disabled for these tests to fix flaky races with concurrent background |
| 813 | maintenance jobs. |
| 814 | (merge 2775d8bcd1 ps/t7900-deflake-maintenance later to maint). |
| 815 | |
| 816 | * The help text for the '-l' option of 'git diff' has been updated. |
| 817 | (merge 764243bdf4 en/diff-l-opt-help later to maint). |
| 818 | |
| 819 | * 'git -C <dir> diff fi<TAB>' did not complete 'file', which has |
| 820 | been corrected. |
| 821 | (merge 354d1bf3a0 jc/complete-diff-tracked-paths later to maint). |
| 822 | |
| 823 | * 'git -C <dir> checkout fi<TAB>' did not complete 'file', which has |
| 824 | been corrected. |
| 825 | (merge 05e2ab1f31 jc/complete-checkout later to maint). |
| 826 | |
| 827 | * The trailer parsing machinery has been updated to avoid mistaking |
| 828 | lines that begin with a URL (e.g., 'https://...') as trailer lines. |
| 829 | This prevents intended textual URLs from being mangled or mistakenly |
| 830 | treated as metadata keys. |
| 831 | |
| 832 | * The instructions for deprecated commands emitted by |
| 833 | you_still_use_that() have been reworded to clarify that the removal |
| 834 | decision is final and to provide more assertive guidance on finding |
| 835 | a replacement. |
| 836 | (merge 8ace32221c jc/you-still-use-that later to maint). |
| 837 | |
| 838 | * The zsh completion script (in 'contrib/') has been updated to |
| 839 | correctly locate the Git command after global options like '-C' by |
| 840 | properly skipping them, similar to how the bash completion does. |
| 841 | |
| 842 | * The git worktree repair command failed to rewrite the .git file of |
| 843 | a working tree from a relative path to an absolute path when the |
| 844 | command was run in the working tree itself. The |
| 845 | read_gitfile_gently() function was modified to also return whether |
| 846 | the path originally recorded in the file was absolute, and this new |
| 847 | capability is used to correctly detect such mismatches. |
| 848 | |
| 849 | * GitHub Actions CI workflow runs triggered by pull requests have |
| 850 | been configured to cancel older runs when a new push is made to the |
| 851 | same pull request. |
| 852 | (merge a251b1bd21 hn/ci-cancel-stale-pr-runs later to maint). |
| 853 | |
| 854 | * The string extraction logic for the branch name and worktree name |
| 855 | from the given path in 'git worktree add' has been corrected and |
| 856 | simplified to avoid out-of-bounds reads and improper handling of |
| 857 | trailing slashes. |
| 858 | (merge 2e8a9d94b0 rs/worktree-add-basename-fixes later to maint). |
| 859 | |
| 860 | * The CI job for Debian 11 has been updated to use Debian 12, as the |
| 861 | former is now out of the LTS period. |
| 862 | (merge 00fa850235 jk/ci-bump-debian-to-12 later to maint). |
| 863 | |
| 864 | * The CI script to install dependencies for the documentation build |
| 865 | has been updated to install asciidoctor directly via the system |
| 866 | package manager instead of pinning to an older version via gem. |
| 867 | Additionally, an obsolete variable used for retired Azure Pipelines |
| 868 | environments has been removed. |
| 869 | |
| 870 | * The error path in 'git submodule--helper' has been updated to plug a |
| 871 | memory leak when a repository handle could not be obtained, |
| 872 | leveraging an updated idempotent repo_clear(). |
| 873 | (merge 2c03739705 jk/submodule-error-leak later to maint). |
| 874 | |
| 875 | * Two members in "struct pathspec_item" were of type "char *", but |
| 876 | nobody updated the string through these pointers. They have been |
| 877 | made "const char *" instead. |
| 878 | (merge 88d06b1c91 jc/pathspec-match-const later to maint). |
| 879 | |
| 880 | * The gitdatamodel documentation page has been linked from a handful |
| 881 | of key documentaiton pages. |
| 882 | (merge ec602484bd kh/doc-datamodel later to maint). |
| 883 | |
| 884 | * Running "git history" in a corrupt repository can (unsurprisingly) |
| 885 | segfault when a necessary tree object is not found, which has been |
| 886 | made to die more gracefully. |
| 887 | (merge 76621488e8 jc/history-missing-tree-errorfix later to maint). |
| 888 | |
| 889 | * The development helper script to lint gitlink references in the |
| 890 | documentation has been updated to avoid a newer Perl regular |
| 891 | expression syntax that breaks on older Perl versions. |
| 892 | (merge 8a631963a9 ta/lint-gitlink-older-perl-fix later to maint). |
| 893 | |
| 894 | * The autostash fallback in 'git checkout -m' has been refined to only |
| 895 | retry when there are local changes. Additionally, a blank line now |
| 896 | visually separates autostash conflict advice from the subsequent |
| 897 | branch-switch message. |
| 898 | (merge 2ba77ea828 hn/checkout-m-autostash-refine later to maint). |
| 899 | |
| 900 | * The memory leak caused by not unusing the commit buffer returned by |
| 901 | repo_logmsg_reencode() during the rewording operation in 'git |
| 902 | history' has been plugged. |
| 903 | |
| 904 | * The pathspec matching logic has been updated to avoid out-of-bounds |
| 905 | memory accesses when a negative pathspec is shorter than the common |
| 906 | prefix of positive pathspecs. |
| 907 | |
| 908 | * Other code cleanup, docfix, build fix, etc. |
| 909 | (merge 026636128f ss/submittingpatches-typofix later to maint). |
| 910 | (merge d2af22cc21 jc/rerere-doc-typofix later to maint). |
| 911 | (merge c486c1df72 hk/typofix later to maint). |