diff options
author | Martin Schön <Martin.Schoen@loewensteinmedical.de> | 2018-07-02 15:28:09 +0200 |
---|---|---|
committer | Pratyush Yadav <me@yadavpratyush.com> | 2020-11-27 20:06:38 +0530 |
commit | 627c87f84c157885d587125cf0c73591a0e3ee7a (patch) | |
tree | 1f6150649c75eb2c238b2949558697b207f02eec /lib | |
parent | git-gui: Only touch GITGUI_MSG when needed (diff) | |
download | tgif-627c87f84c157885d587125cf0c73591a0e3ee7a.tar.xz |
git-gui: use commit message template
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 <Martin.Schoen@loewensteinmedical.de>
Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/commit.tcl | 1 |
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} { |