Skip to content

Commit ddce5ab

Browse files
committed
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 #850 Signed-off-by: Johannes Schindelin <[email protected]>
1 parent ec601f0 commit ddce5ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git-gui/lib/commit.tcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,9 @@ A rescan will be automatically started now.
388388
# -- Create the commit.
389389
#
390390
set cmd [list commit-tree $tree_id]
391+
if {[is_config_true commit.gpgsign]} {
392+
lappend cmd -S
393+
}
391394
foreach p [concat $PARENT $MERGE_HEAD] {
392395
lappend cmd -p $p
393396
}

0 commit comments

Comments
 (0)