1 min read

Git 2.42

Git 2.42
Photo by Gabriel Heinzer / Unsplash

Git 2.42 has been released
Major updates:

the git for-each-ref command gained support for advanced link formatting facilities with --format. Also added the ability to display information about GPG signatures;

git for-each-ref has improved the mechanism for excluding links from the output. Now the system checks excluded links not piece by piece, but with a pattern, which is specified with --exclude option, and with --include you can return parts of the excluded range;

a new algorithm for traversing bitmaps designed to reflect object data for each commit. By switching to the new algorithm, the speed has been improved. You can switch to it by setting pack.useBitmapBoundaryTraversal, after which the --use-bitmap-index option in the git rev-list command becomes available;

added the --separator option to git notes append to select paragraph separators;

in git diff --no-index added the option to read from named channels;

in git rev-list, when using --stdin, it is now possible to specify via the input data stream for the extended modifiers --branches, --tags, and --remotes;

there is a new system for preserving objects of type unreachable. You can specify a list of object identifiers that will be protected from deletion by the rubbish collector.