From c7ec29d58158849d82210145ad90ebaa13792652 Mon Sep 17 00:00:00 2001 From: Rena Wolford Date: Wed, 27 Oct 2021 08:52:32 +0200 Subject: [PATCH] fix: use COMMIT_EDITMSG file name to edit commits This enables color highlighting in editors that support it. --- lib/session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/session.js b/lib/session.js index ba271e2..c424810 100644 --- a/lib/session.js +++ b/lib/session.js @@ -182,7 +182,7 @@ class Session { } getMessagePath(rev) { - return path.join(this.pullDir, `${shortSha(rev)}-message`); + return path.join(this.pullDir, `${shortSha(rev)}.COMMIT_EDITMSG`); } updateSession(update) {