aboutsummaryrefslogtreecommitdiff
path: root/lisp/git-commit.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-08-21 23:54:22 -0400
committerKyle Meyer <kyle@kyleam.com>2017-08-21 23:57:45 -0400
commit3e51dbc32382dc472e375650976fd8207c2db8ab (patch)
tree4c3d54339644bcb32aad233a4cbef50437acf5af /lisp/git-commit.el
parent8810adb1ff5388c5e4e5a7671b4e207eb49985e2 (diff)
Recognize EDIT_DESCRIPTION file
As of Git 2.13.0 (c10388c7dc), the file for editing a branch's description is named "EDIT_DESCRIPTION" rather than "BRANCH_DESCRIPTION". Fixes #3149.
Diffstat (limited to 'lisp/git-commit.el')
-rw-r--r--lisp/git-commit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/git-commit.el b/lisp/git-commit.el
index a91da0f..2c7708e 100644
--- a/lisp/git-commit.el
+++ b/lisp/git-commit.el
@@ -377,7 +377,7 @@ already using it, then you probably shouldn't start doing so."
;;;###autoload
(defconst git-commit-filename-regexp "/\\(\
\\(\\(COMMIT\\|NOTES\\|PULLREQ\\|TAG\\)_EDIT\\|MERGE_\\|\\)MSG\
-\\|BRANCH_DESCRIPTION\\)\\'")
+\\|\\(BRANCH\\|EDIT\\)_DESCRIPTION\\)\\'")
(eval-after-load 'recentf
'(add-to-list 'recentf-exclude git-commit-filename-regexp))