Distributed version control system Git has received another update. In order for Git 2.20 to appear, 83 developers made changes 962 to the zcode. According to the team, this is an order of magnitude higher than the same figure in the largest release of the 2.x.x branch.
git branch -l command is now a shortened version of the
git branch --list - it used to help run
reflog during the creation of a new branch. Developers have limited the launch of
git fetch: it is only possible with an indication of
--force, to avoid problems with consistency when updating the link.
git help -a and
git help -av commands to help newbies display a more verbose output. To return to the old view, just type
git help - no-verbose -a. In
git send-email, it is possible to extract lines with addresses that end with “-by” from signatures. This is an incompatible change, and it can be disabled by adding to the
--suppress-cc = misc-by command.
- If the repository contains files whose addresses differ only in the case of letters, a warning will be displayed during the execution of
git format-patchcommand received the
--range-diffoptions, which in a note or comment list the differences between the existing and previous versions.
git mailinfolearned how to recover code patches sent by email with plain text and damaged due to hyphenation.
git multi-pack-indexnow fixes damage in .midx files.
- Creating experimental commit-graph files for large repositories takes a lot of time, so the developers have provided a form of output about the state of the process.
Performance and Development Support
- For working builds, the
-Wunused-functioncompilation option is provided.
git submodule updateis completely rewritten in C.
- One of the continuous integration (CI) tests, designed to work with the
unusual/experimental/randomsettings, now supports midx and commit-graph files.
- A new mechanism for finding objects among a large number of pack-files. It relies on combining all .idx files into one.
The previous version of the system was released in September 2018.