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
This commit is contained in:
Junio C Hamano 2016-09-15 14:11:16 -07:00
Родитель 2a4062a4a8 f14a310e8b
Коммит e6a51afba4
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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
}