Git 2.56版本预计于9月底发布,该版本包含超过700个非合并提交1。此次更新将引入多项改进,包括新增history drop子命令、git refs新子命令及多项可用性调整1。
更具前瞻意义的是Git 3.0版本的规划。该主要版本将引入一系列破坏性兼容性变更,包括将默认哈希函数从SHA-1转换至SHA-256、切换至reftable机制存储引用,以及强制要求Rust编译器支持1。这些变更的驱动因素包括Android仓库包含超过800,000个引用的现实需求,促使Git采用更高效的reftable存储机制1。前期准备方面,libgit2已添加reftable和SHA-256支持,为Git 3.0过渡做好准备1。
然而,Git 3.0的发布仍面临关键障碍。GitHub对SHA-256的支持仍未确定,这成为阻碍3.0版本发布的主要因素1。对于最终决策权,Git维护者Junio Hamano表示:"这不是一场民主投票"1。
Git 2.56 is scheduled for release at the end of September, bringing over 700 non-merge commits that introduce several refinements to the version control system 1. Key additions include a new history drop subcommand, a fresh git refs subcommand, and various usability improvements 1.
Beyond the upcoming 2.56 release, the Git project is preparing for a more transformative shift with version 3.0, which will introduce breaking changes designed to modernize the system's core infrastructure 1. The next major version will transition from SHA-1 to SHA-256 as the default hash function, migrate reference storage to the reftable mechanism, and require Rust compiler support 1. These changes address long-standing scalability challenges; the Android repository alone contains over 800,000 references, which has driven the adoption of more efficient storage mechanisms like reftable 1.
However, the path to Git 3.0 faces obstacles. GitHub's support for SHA-256 remains unconfirmed, presenting a significant barrier to the major release 1. Meanwhile, the broader ecosystem is preparing for the transition—libgit2 has already incorporated reftable and SHA-256 support to facilitate the eventual migration 1. Git maintainer Junio Hamano has made clear that the final decision on these changes rests with the project leadership, stating: "This is not a democratic vote" 1.
评论
还没有评论,欢迎留下第一条。