Skip to content

Commit e6a51af

Browse files
committed
Merge branch 'js/git-gui-commit-gpgsign'
"git commit-tree" stopped reading commit.gpgsign configuration variable that was meant for Porcelain "git commit" in Git 2.9; we forgot to update "git gui" to look at the configuration to match this change. * js/git-gui-commit-gpgsign: git-gui: respect commit.gpgsign again
2 parents 2a4062a + f14a310 commit e6a51af

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
@@ -369,6 +369,9 @@ A rescan will be automatically started now.
369369
# -- Create the commit.
370370
#
371371
set cmd [list commit-tree $tree_id]
372+
if {[is_config_true commit.gpgsign]} {
373+
lappend cmd -S
374+
}
372375
foreach p [concat $PARENT $MERGE_HEAD] {
373376
lappend cmd -p $p
374377
}

0 commit comments

Comments
 (0)