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
This commit is contained in:
@ -369,6 +369,9 @@ A rescan will be automatically started now.
|
|||||||
# -- Create the commit.
|
# -- Create the commit.
|
||||||
#
|
#
|
||||||
set cmd [list commit-tree $tree_id]
|
set cmd [list commit-tree $tree_id]
|
||||||
|
if {[is_config_true commit.gpgsign]} {
|
||||||
|
lappend cmd -S
|
||||||
|
}
|
||||||
foreach p [concat $PARENT $MERGE_HEAD] {
|
foreach p [concat $PARENT $MERGE_HEAD] {
|
||||||
lappend cmd -p $p
|
lappend cmd -p $p
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user