Git 2.98-rc0 lands as the antepenultimate step toward Git 3.0
Git 2.98-rc0 adds a 'git history squash' subcommand and unifies reference-storage terminology, while Junio C Hamano frames it as the third-from-last release before the long-delayed Git 3.0.
Summary
Junio C Hamano announced Git 2.98-rc0 on the mailing list, describing it as the antepenultimate release preparing for the long anticipated Git 3.0, which he called vaporware for so long. The release candidate follows the Git 2.56 release and marks the start of the final stretch of development releases before the 3.0 milestone. The most visible functional addition is a new squash sub-command for git history, which folds a range of commits into a single commit.
The release candidate also unifies terminology around reference storage formats across command-line options, environment variables and configuration options, updates the Unicode table, and includes many documentation improvements plus assorted fixes and enhancements. The full change list is available in the mailing list announcement. Git 3.0 itself is expected to bring SHA256 by default, a likely switch of the default branch name from master to main, Rust as a mandatory build dependency, safer bare repository discovery, removal of legacy commands, and Reftables as the default reference back-end.
What changes in Git 2.98-rc0 and what Git 3.0 will carry
- git history squash: A new squash sub-command folds a range of commits into a single commit, giving users a built-in way to condense history instead of relying on interactive rebase workflows.
- Reference storage terminology: Naming around reference storage formats is now unified across command-line options, environment variables and configuration options, reducing inconsistency between the interfaces that select a ref back-end.
- Unicode table update: The release refreshes Git's Unicode data table, which affects how the tool handles character classification and related text processing.
- Documentation and fixes: The release candidate bundles many documentation improvements alongside a variety of fixes and other enhancements listed in the mailing list announcement.
- Git 3.0 roadmap items: The planned 3.0 release is set to make SHA256 the default, likely move the default branch name to main, require Rust as a build dependency, add safer bare repository discovery, drop legacy commands, and make Reftables the default reference back-end.
Why it matters
Git is the substrate for nearly every open-source project, so changes to its default hash algorithm, default branch name and reference back-end ripple into hosting forges, CI pipelines and distribution packaging. The mandatory Rust build dependency in Git 3.0 will force distributions and build systems that package Git to add a Rust toolchain to their build environments. The new squash sub-command and unified ref-storage terminology give maintainers and tooling authors a more consistent surface to target ahead of the 3.0 transition.
Original reference: www.phoronix.com →