Commit fd095640 authored by Russell Black's avatar Russell Black Committed by Jonas Bernoulli

fix magit-current-file in magit-log-mode buffers

parent d27f2422
......@@ -629,7 +629,7 @@ Sorted from longest to shortest CYGWIN name."
(or (magit-file-relative-name)
(magit-file-at-point)
(and (derived-mode-p 'magit-log-mode)
(nth 3 magit-refresh-args))))
(car (nth 2 magit-refresh-args)))))
;;; Predicates
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment