branch: elpa/magit
commit 0507c59abad5de3cdd345cab211e910a7a16ce03
Author: Nacho Barrientos <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
magit-read-reuse-message: Consider commit at point as default
Prefer it over ORIG_HEAD which was used since this was first added
in [1: 9eb60c0c9], because that just doesn't seem that useful. -jb
1: 2017-07-11 9eb60c0c9054bc6a7ef0c1af675274c432ac0e4a
magit-commit-popup: add custom reader for --reuse-message
---
lisp/magit-commit.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/magit-commit.el b/lisp/magit-commit.el
index d9cb927c69..211d9964e8 100644
--- a/lisp/magit-commit.el
+++ b/lisp/magit-commit.el
@@ -181,6 +181,7 @@ manpage for details.")
(magit-completing-read prompt (magit-list-refnames)
nil nil nil history
(or default
+ (magit-commit-at-point)
(and (magit-rev-verify "ORIG_HEAD")
"ORIG_HEAD"))))