Skip to content

Commit 2a23e37

Browse files
committed
fix: use COMMIT_EDITMSG file name to edit commits
This enables color highlighting in editors that support it.
1 parent 811de87 commit 2a23e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/session.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class Session {
182182
}
183183

184184
getMessagePath(rev) {
185-
return path.join(this.pullDir, `${shortSha(rev)}-message`);
185+
return path.join(this.pullDir, `${shortSha(rev)}.COMMIT_EDITMSG`);
186186
}
187187

188188
updateSession(update) {

0 commit comments

Comments
 (0)