Fundamentals 3 min read

Git 2.40 Release: New Features and Improvements

Git 2.40 introduces several enhancements such as Emacs support for git jump, corrected batch‑check size reporting, new --source option for check‑attr, native C implementation of git bisect, removal of legacy interactive add, and additional options for merge‑tree and Bash completion.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
Git 2.40 Release: New Features and Improvements

Git 2.40 has been released, incorporating contributions from over 88 developers, including 30 new contributors.

Key new features include:

In Git 2.40, git jump now supports Emacs in addition to Vim, allowing the position list to be filled into an Emacs client.

Git 2.40 fixes an issue where git cat-file --batch-check and -s ignored --use-mailmap , ensuring accurate object size reporting for git cat-file -s and --batch-check .

The check-attr command no longer requires an index in bare repositories; it now supports the new --source= option to scan .gitattributes .

git bisect is now fully implemented as a native C built‑in function.

The legacy implementation of git add --interactive has been removed, reducing binary size and footprint.

The "merge-tree" command gains a new --merge-base option.

Bash completion now includes case‑insensitive pattern matching.

On macOS, Git now uses the SHA1DC implementation by default, matching other platforms.

Enjoy the updates and consider liking or sharing to support the project.

backend developmentgitversion controlrelease notesGit 2.40software updates
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.