aboutsummaryrefslogtreecommitdiffstats
path: root/lib/commit.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/commit.tcl')
-rw-r--r--lib/commit.tcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/commit.tcl b/lib/commit.tcl
index 1623897e0d..83620b7cbc 100644
--- a/lib/commit.tcl
+++ b/lib/commit.tcl
@@ -376,6 +376,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
}