Commit eb465aca authored by Jonas Bernoulli's avatar Jonas Bernoulli

magit-read-file-trace: Move definition

parent d4bc3452
......@@ -439,11 +439,6 @@ the upstream isn't ahead of the current branch) show."
(magit-define-popup-keys-deferred 'magit-log-mode-refresh-popup)
(magit-define-popup-keys-deferred 'magit-log-refresh-popup)
(defun magit-read-file-trace (&rest _ignored)
(let ((file (magit-read-file-from-rev "HEAD" "File"))
(trace (magit-read-string "Trace")))
(concat trace (or (match-string 2 trace) ":") file)))
(defun magit-log-select-order (&rest _ignored)
"Set one `--<value>-order' option in Git log.
This encompasses the options `--author-date-order',
......@@ -536,6 +531,11 @@ buffer."
magit-log-section-arguments))))
(magit-invoke-popup 'magit-log-refresh-popup nil arg)))
(defun magit-read-file-trace (&rest _ignored)
(let ((file (magit-read-file-from-rev "HEAD" "File"))
(trace (magit-read-string "Trace")))
(concat trace (or (match-string 2 trace) ":") file)))
;;;; Refresh Commands
(defun magit-log-refresh (args files)
......
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