use --pretty=format: * %H %s where needed
The current magit-wash-log is made for commit with graph, so we must at least use --pretty=format: * %H %s or the --graph for it to work as expected.
This commit is contained in:
parent
42c63c3a10
commit
ed0ad8eff7
1 changed files with 3 additions and 3 deletions
6
magit.el
6
magit.el
|
@ -1900,7 +1900,7 @@ Please see the manual for a complete description of Magit.
|
|||
"\\(.*\\)" ; msg (4)
|
||||
"\\)?$")
|
||||
"Regexp used to extract elements of git log output with
|
||||
--pretty=oneline.")
|
||||
--pretty=oneline with graph, or --pretty=format:* %H %s")
|
||||
|
||||
(defvar magit-present-log-line-function 'magit-present-log-line
|
||||
"The function to use when generating a log line. It takes four
|
||||
|
@ -3101,7 +3101,7 @@ Prefix arg means justify as well."
|
|||
'magit-wash-log
|
||||
"log" "--walk-reflogs"
|
||||
(format "--max-count=%s" magit-log-cutoff-length)
|
||||
"--pretty=oneline"
|
||||
"--pretty=format:* %H %s"
|
||||
args)))
|
||||
|
||||
(defun magit-reflog (head)
|
||||
|
@ -3196,7 +3196,7 @@ Prefix arg means justify as well."
|
|||
'magit-wash-log
|
||||
"log"
|
||||
(format "--max-count=%s" magit-log-cutoff-length)
|
||||
"--pretty=oneline"
|
||||
"--pretty=format:* %H %s"
|
||||
(format "%s..%s" head ref)
|
||||
"--"))))
|
||||
(magit-set-section-info ref section)))))))))
|
||||
|
|
Loading…
Reference in a new issue