branch: elpa/git-commit
commit b733f74b18b13d12e9341b83c31cb0e4a69e1dd1
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>

    magit-diff-dwim: Cosmetics
---
 lisp/magit-diff.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index 4d5e43c133..07205dcb7d 100644
--- a/lisp/magit-diff.el
+++ b/lisp/magit-diff.el
@@ -1028,13 +1028,12 @@ and `:slant'."
            ;; File was deleted by us and modified by them.  Show the latter.
            (magit-diff-unmerged args (list file))
          (magit-diff-staged nil args files))))
+    (`(stash . ,value) (magit-stash-show value args))
     (`(commit . ,value)
      (magit-diff-range (format "%s^..%s" value value) args files))
-    (`(stash  . ,value) (magit-stash-show value args))
     ((and range (pred stringp))
      (magit-diff-range range args files))
-    (_
-     (call-interactively #'magit-diff-range))))
+    (_ (call-interactively #'magit-diff-range))))
 
 (defun magit-diff--dwim ()
   "Return information for performing DWIM diff.

Reply via email to