Make sure display-log range command is optional.

This commit is contained in:
Phil Jackson 2010-11-01 14:39:20 +00:00
parent 80ee094c9c
commit 59f577e020

View file

@ -3797,7 +3797,7 @@ With a non numeric prefix ARG, show all entries"
(interactive)
(magit-display-log t))
(magit-define-command display-log (ask-for-range &rest extra-args)
(magit-define-command display-log (&optional ask-for-range &rest extra-args)
(interactive)
(let* ((log-range (if ask-for-range
(magit-read-rev-range "Log" "HEAD")