From 6dddcabe1024ac0012548be25208b13805e8aa67 Mon Sep 17 00:00:00 2001 From: Chris LaRose Date: Thu, 10 Jan 2019 07:29:52 -0800 Subject: [PATCH] WIP - Write full path to commit.template config This is done in order to support commiting from git submodules. Fixes #33 --- src/git-message/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git-message/index.js b/src/git-message/index.js index dec1a42..5df4775 100644 --- a/src/git-message/index.js +++ b/src/git-message/index.js @@ -75,7 +75,7 @@ function commitTemplatePath() { return ( process.env.GITMOB_MESSAGE_PATH || config.get('commit.template') || - '.git/.gitmessage' + gitMessagePath() ); }