Commit 863569fd authored by Jonas Bernoulli's avatar Jonas Bernoulli

Support log --left-right without --graph

parent 597fcc7b
......@@ -943,7 +943,11 @@ Do not add this to a hook variable."
(remove "--literal-pathspecs" magit-git-global-arguments)))
(magit-git-wash (apply-partially #'magit-log-wash-log 'log)
(format "--format=%%h%s%%x00%s%%x00%%aN%%x00%%at%%x00%%s%s"
(format "--format=%s%%h%s%%x00%s%%x00%%aN%%x00%%at%%x00%%s%s"
(if (and (member "--left-right" args)
(not (member "--graph" args)))
"%m "
(if (member "--decorate" args) "%d" "")
(if (member "--show-signature" args)
(progn (setq args (remove "--show-signature" args)) "%G?")
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