summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-09-11 14:53:26 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-11 14:54:46 -0700
commitf14a310e8b665d0f1ac8cd91db3b101873a9bc5e (patch)
treef7d29cb8a3c2e2dc065d524fe45cf8567334af6b
parentPrepare for 2.9.4 (diff)
parentgit-gui: respect commit.gpgsign again (diff)
downloadtgif-f14a310e8b665d0f1ac8cd91db3b101873a9bc5e.tar.xz
Merge branch 'js/commit-gpgsign' of ../git-gui into js/git-gui-commit-gpgsign
* 'js/commit-gpgsign' of ../git-gui: git-gui: respect commit.gpgsign again
-rw-r--r--git-gui/lib/commit.tcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-gui/lib/commit.tcl b/git-gui/lib/commit.tcl
index 864b687057..01d2cc280b 100644
--- a/git-gui/lib/commit.tcl
+++ b/git-gui/lib/commit.tcl
@@ -369,6 +369,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
}