2.9.0

Git 2.9 Release Notes =====================

Backward compatibility notes ----------------------------

The end-user facing Porcelain level commands in the "git diff" and "git log" family by default enable the rename detection; you can still use "diff.renames" configuration variable to disable this.

Merging two branches that have no common ancestor with "git merge" is by default forbidden now to prevent creating such an unusual merge by mistake.

The output formats of "git log" that indents the commit log message by 4 spaces now expands HT in the log message by default. You can use the "--no-expand-tabs" option to disable this.

"git commit-tree" plumbing command required the user to always sign its result when the user sets the commit.gpgsign configuration variable, which was an ancient mistake, which this release corrects. A script that drives commit-tree, if it relies on this mistake, now needs to read commit.gpgsign and pass the -S option as necessary.

Updates since v2.8 ------------------

UI, Workflows & Features

Performance, Internal Implementation, Development Support etc.

Also contains various documentation updates and code clean-ups.

Fixes since v2.8 ----------------

Unless otherwise noted, all the fixes since v2.8 in the maintenance track are contained in this release (see the maintenance releases’ notes for details).

This is necessary to use Git on Windows shared directories, and is
already enabled for the MinGW and plain Windows builds.  It also
has been used in Cygwin packaged versions of Git for quite a while.
See https://lore.kernel.org/git/20160419091055.GF2345@dinwoodie.org/

版本号 #2
由 壳壳虫 创建于 2026-10-31 20:05:24 UTC
由 壳壳虫 更新于 2026-10-31 20:05:25 UTC