After two months of development published the release of the distributed system of management of the source texts git 2.39 . GIT is one of the most popular, reliable and high -performance versions management systems that provide flexible means of nonlinear development, based on branching and fusion of branches. To ensure the integrity of history and resistance to “retroactively” changes, implicit drifting of the entire previous story in each community is also possible, it is also possible to certify the digital signatures of developers of individual tags and commits.
In comparison with the past issue, 483 changes were adopted, prepared with the participation of 86 developers, of which 31 first took part in development. Basic innovations :
- in the “Git Shortlog” command, designed to display reports with statistics from the history of changes, the option “-gramp” for an arbitrary grouping of commits in the fields that is not limited by the author or commander is added. For example, to show the list of developers with information about the number of changes taking into account the assistants mentioned in the “Co-Authored-By” field, you can use the command: Git Shortlog -NS –Group = AUTHOR –Group = Trailer: Co-AUTHORED-BY
Shortlog output can be aggregated using formatting specifiers and the option “-gramp” allows him to significantly Simplify the creation of complex reports and get rid of additional sorting commands.
For example, to create a report with information about how many commits were accepted for a given release in every month, you can indicate:git shortlog v2.38.0 .. –Date = ‘format:%y-%m’- Group = ‘%CD’ -s 2 2022-08 47 2022-09 405 2022-10 19422-11 5 2022-12
And earlier, to perform a similar operation, it would be required to attract utilities SORT and UNIQ: Git LOG V2.38.0 .. –Date = ‘Format:%y-%m’ —Format = ‘%cd’ | sort | uniq -c