Distributed Version Control System “Git 2.28” Released
July 27, the development team behind distributed version control system Git announced the latest stable release “Git 2.28.0”.
The latest release Git 2.28 is the successor of v2.27, released in June. 58 developers contributed to adding 317 changes in total. According to Git’s maintainer Junio Hamano, the release cycle was shorter than usual, so it is comparatively small.
When initializing a new repository with git init, the master is created, but now, this release introduces a new configuration option “init.defaultBranch”, which replaces the hard-coded term. When creating the first branch, git init will look to the value of init.defaultBranch. If the value is unset, init.defaultBranch defaults to master. Also, now any on-stack structure can be initialized to have zero values in all fields with = { 0 }.
Now git status can report the status of sparse checkout. Also, git bugreport can report what shell is in use.
“git merge-base ―is-ancestor” can now take advantage of the commit graph. The fetch/clone protocol has been updated.
“set -u” now works better with the command line completion in contrib/. “git gui” now allows opening work trees from the start-up dialog.
It includes many more small improvements. SHA-256 migration work is in progress, including CVS/SVN interface.