diff --git a/magit.el b/magit.el index af15e0f9..29ff78c7 100644 --- a/magit.el +++ b/magit.el @@ -3091,7 +3091,8 @@ Prefix arg means justify as well." ,style ,@(if magit-have-decorate (list "--decorate=full")) ,@(if magit-have-graph (list "--graph")) - ,args "--")))) + ,@args + "--")))) (defun magit-log (&optional arg) (interactive "P") @@ -3099,7 +3100,7 @@ Prefix arg means justify as well." (magit-read-rev-range "Log" "HEAD") "HEAD")) (topdir (magit-get-top-dir default-directory)) - (args (magit-rev-range-to-git range))) + (args (list (magit-rev-range-to-git range)))) (switch-to-buffer "*magit-log*") (magit-mode-init topdir 'log #'magit-refresh-log-buffer range "--pretty=oneline" args))) @@ -3110,7 +3111,7 @@ Prefix arg means justify as well." (magit-read-rev-range "Long log" "HEAD") "HEAD")) (topdir (magit-get-top-dir default-directory)) - (args (magit-rev-range-to-git range))) + (args (list (magit-rev-range-to-git range)))) (switch-to-buffer "*magit-log*") (magit-mode-init topdir 'log #'magit-refresh-log-buffer range "--stat" args)))