summaryrefslogtreecommitdiff
path: root/lib/commit.tcl
diff options
context:
space:
mode:
authorLibravatar Pratyush Yadav <me@yadavpratyush.com>2020-12-02 00:40:06 +0530
committerLibravatar Pratyush Yadav <me@yadavpratyush.com>2020-12-02 00:40:06 +0530
commit1141f8325c4a3dd536a35415e11a907a8023e9df (patch)
tree1f6150649c75eb2c238b2949558697b207f02eec /lib/commit.tcl
parentMerge branch 'sh/blame-tooltip' (diff)
parentgit-gui: use commit message template (diff)
downloadtgif-1141f8325c4a3dd536a35415e11a907a8023e9df.tar.xz
Merge branch 'ms/commit-template'
Teach git-gui to read the commit message template and pre-populate it in the commit message buffer. * ms/commit-template: git-gui: use commit message template git-gui: Only touch GITGUI_MSG when needed
Diffstat (limited to 'lib/commit.tcl')
-rw-r--r--lib/commit.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/commit.tcl b/lib/commit.tcl
index b516aa2990..11379f8ad3 100644
--- a/lib/commit.tcl
+++ b/lib/commit.tcl
@@ -456,6 +456,7 @@ A rescan will be automatically started now.
}
$ui_comm delete 0.0 end
+ load_message [get_config commit.template]
$ui_comm edit reset
$ui_comm edit modified false
if {$::GITGUI_BCK_exists} {