From 627c87f84c157885d587125cf0c73591a0e3ee7a Mon Sep 17 00:00:00 2001 From: Martin Schön Date: Mon, 2 Jul 2018 15:28:09 +0200 Subject: git-gui: use commit message template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the file described by commit.template (if set) to show the commit message template, just like other GUIs. Signed-off-by: Martin Schön Signed-off-by: Pratyush Yadav --- lib/commit.tcl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/commit.tcl') 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} { -- cgit v1.2.3