What’s new in Git 2.54.0? Note
GitLab

What’s new in Git 2.54.0?

Git 2.54.0 introduces pluggable object databases, a significant architectural change allowing for alternative storage formats beyond the current hardcoded ones. This effort, spanning nearly two years and hundreds of commits, aims to improve efficiency for handling large binary files and enable custom optimizations for platforms like GitLab. Another key highlight is the new git-history command, designed to simplify editing commit history. Inspired by tools like Jujutsu, it offers intuitive subcommands like reword and split, with plans to add more editing capabilities. Importantly, this command automatically rebases dependent branches, enhancing support for stacked diffs. Git 2.54.0 also expands the git repo structure command, building on previous versions to provide a comprehensive overview of repository metrics. This new functionality now includes displaying the largest objects by type, offering a native replacement for external tools like git-sizer. This enhancement allows users to better understand and manage repository performance. The release also continues the migration to a new task-based repository maintenance system with git-maintenance(1). This modern architecture offers greater flexibility and control over housekeeping tasks compared to the older monolithic git-gc(1) tool. The goal is to achieve feature parity with git-gc(1) while enabling more granular user configuration. These updates collectively represent substantial advancements in Git's extensibility, usability, and maintainability.