diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2019-04-16 09:22:00 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2019-04-17 19:30:09 +0200 |
| commit | 922e71a3f20de5009d98cc10157d1374059a69c9 (patch) | |
| tree | 85706bdbd82a5238114e6143b8f3b3f5def5e18b /lisp/magit-reflog.el | |
| parent | ab9a5457623e7829f6dce2ed122a483cfc04aa5c (diff) | |
magit-reflog-mode: No longer derive from magit-log-mode
While a reflog can be shown using "git log -g --abbrev-commit
--pretty=online" a reflog is still rather different from a log.
Usually a reflog is shown using "git reflog show", which is an
alias for the mentioned log command and what Magit uses.
This also fixes a bug. Previously when showing the real log for the
reflog entry at point the log arguments were picked up from the reflog
arguments used in the reflog buffer, which is undesirable because that
currently is just "-n256".
Diffstat (limited to 'lisp/magit-reflog.el')
| -rw-r--r-- | lisp/magit-reflog.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-reflog.el b/lisp/magit-reflog.el index 60246bd..81c8cd4 100644 --- a/lisp/magit-reflog.el +++ b/lisp/magit-reflog.el @@ -137,7 +137,7 @@ AUTHOR-WIDTH has to be an integer. When the name of the author map) "Keymap for `magit-reflog-mode'.") -(define-derived-mode magit-reflog-mode magit-log-mode "Magit Reflog" +(define-derived-mode magit-reflog-mode magit-mode "Magit Reflog" "Mode for looking at Git reflog. This mode is documented in info node `(magit)Reflog'. |
