Skip to content

v6.0.0

Latest

Choose a tag to compare

@scolladon scolladon released this 21 Oct 17:33
8dd442e

6.0.0 (2026-10-21)

⚠ BREAKING CHANGES

  • gc: refuse a size-lying loose object before any durable write, as git's gc does (#324)
  • pack: read delta chains of any depth, as git does, and remove DELTA_CHAIN_TOO_DEEP (#323)
  • file-system: take a creation mode on write and resolve the written stat

Features

  • add: record resolve-undo for the conflicts add resolves (785fadf)
  • commit: refresh index stats, exclude intent-to-add entries and write the index before the pre-commit hook like git (bfbca75)
  • eol: line-ending conversion — core.autocrlf, core.eol, core.safecrlf, text/eol/ident attributes and renormalize (5a1ebe0)
  • file-system: take a creation mode on write and resolve the written stat (bfbca75)
  • rm: record resolve-undo and run during a pending operation like git (bfbca75)
  • status: refresh the index under the optional lock and keep its extensions (#317) (7337e22)

Bug Fixes

  • add: drop the entries a replaced directory or file leaves behind (785fadf)
  • add: keep every stage of the unmerged paths add does not stage (785fadf)
  • add: stage an unmerged path an exact exclusion names when another element covers it (785fadf)
  • add: stage the removal of a path beneath a regular file (785fadf)
  • checkout: carry working-tree changes across a branch switch like git's two-way merge (bfbca75)
  • checkout: create files with git's mode under the process umask (bfbca75)
  • checkout: verify sparse-excluded entries before any write (c648b61)
  • gc: refuse a size-lying loose object before any durable write, as git's gc does (#324) (df1a629)
  • index: keep index entry paths byte-exact through every write (#318) (0f8d0b1)
  • index: repair the cache-tree on every unpack_trees-class writer like git (bfbca75)
  • pack: read delta chains of any depth, as git does, and remove DELTA_CHAIN_TOO_DEEP (#323) (ce45279)
  • path-validator: refuse every backslash on index write under windows path syntax like git for windows (c648b61)
  • repository: apply git for windows' index path rules on a windows host whatever the filesystem (c648b61)
  • sequencer: write the updated cache-tree and refresh stats on continue like git (bfbca75)
  • verify-path: admit a .git alias behind a component-leading backslash like git (c648b61)
  • verify-path: refuse .gitmodules symlink aliases behind a backslash like git (c648b61)

Performance

  • add: stat each literal path once and stage literals through the shared pool (bfbca75)
  • commit: maintain the cache-tree at O(change) and reuse valid nodes without freshening like git (bfbca75)
  • object: drop the per-write fanout mkdir (bfbca75)

Documentation