Remove unneeded defuns.
This commit is contained in:
parent
644cdf82df
commit
3d1b2039ec
1 changed files with 0 additions and 24 deletions
24
magit.el
24
magit.el
|
@ -3543,35 +3543,11 @@ With a non numeric prefix ARG, show all entries"
|
||||||
"--pretty=oneline" args)
|
"--pretty=oneline" args)
|
||||||
(magit-log-mode t)))
|
(magit-log-mode t)))
|
||||||
|
|
||||||
(defun magit-log-all (&optional arg)
|
|
||||||
"Display the state of all refs in the log output."
|
|
||||||
(interactive "P")
|
|
||||||
(magit-display-log arg "--all"))
|
|
||||||
|
|
||||||
(defun magit-log-first-parent (&optional arg)
|
|
||||||
"Display the log buffer excluding anything more than first
|
|
||||||
level commits."
|
|
||||||
(interactive "P")
|
|
||||||
(magit-display-log arg "--first-parent"))
|
|
||||||
|
|
||||||
(defun magit-log (&optional arg)
|
(defun magit-log (&optional arg)
|
||||||
"View and act upon the output of git log."
|
"View and act upon the output of git log."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(apply 'magit-display-log arg magit-custom-options))
|
(apply 'magit-display-log arg magit-custom-options))
|
||||||
|
|
||||||
(defun magit-log-grep (str)
|
|
||||||
"Search for regexp specified by STR in the commit log."
|
|
||||||
(interactive "sGrep in commit log: ")
|
|
||||||
(let ((topdir (magit-get-top-dir default-directory)))
|
|
||||||
(switch-to-buffer magit-log-grep-buffer-name)
|
|
||||||
(magit-mode-init topdir 'log #'magit-refresh-log-buffer "HEAD"
|
|
||||||
"--pretty=oneline"
|
|
||||||
(append
|
|
||||||
(list "-E"
|
|
||||||
(format "--grep=%s" (shell-quote-argument str)))
|
|
||||||
magit-custom-options))
|
|
||||||
(magit-log-mode t)))
|
|
||||||
|
|
||||||
(magit-define-command log-long (&optional arg)
|
(magit-define-command log-long (&optional arg)
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(let* ((range (if arg
|
(let* ((range (if arg
|
||||||
|
|
Loading…
Reference in a new issue