mirror of
https://github.com/git/git.git
synced 2026-01-28 19:41:36 +00:00
git-gui: respect commit.gpgsign again
As of v2.9.0, `git commit-tree` no longer heeds the `commit.gpgsign` config setting. This broke committing in Git GUI. This fixes https://github.com/git-for-windows/git/issues/850 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -388,6 +388,9 @@ A rescan will be automatically started now.
|
||||
# -- Create the commit.
|
||||
#
|
||||
set cmd [list commit-tree $tree_id]
|
||||
if {[is_config_true commit.gpgsign]} {
|
||||
lappend cmd -S
|
||||
}
|
||||
foreach p [concat $PARENT $MERGE_HEAD] {
|
||||
lappend cmd -p $p
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user