Company
Date Published
Author
Taylor Blau
Word count
2327
Language
English
Hacker News points
None

Summary

Git 2.24 introduces several new features and improvements, including feature macros that allow users to easily opt into multiple configuration changes with a single setting, enhancing usability for various repository characteristics. Commit graphs are now enabled by default, improving performance in loading commits, and a new configuration for automatic updates during fetch operations is available. The release also marks the adoption of the Contributor Covenant code of conduct to promote an inclusive community. Additionally, Git 2.24 recommends the new git filter-repo tool over the older git filter-branch for history rewriting tasks, offering improved speed and usability. The update includes a new command-line option, --end-of-options, to prevent option injection attacks, and supports greater flexibility with partial clones through multiple promisor remotes. The command-line completion engine has been enhanced to complete configuration variables in per-command configurations, and a new pre-merge-commit hook has been added.