Hi,

 It seems a missing --graph option is not supported any more. In other
words, (magit-configure-have-graph) cannot return nil any more
otherwise this breaks "oneline-re" and "wash-log". To demonstrate the
problem force to "nil" as shown below and then try open the (now
broken) log view.

I see two possible fixes:
- fix the oneline-re regular expression, or
- make --graph a hard requirement and get rid of
  (magit-configure-have-graph).

I can try to implement either fix, please advise.

Cheers,

Marc


diff --git a/magit.el b/magit.el
index 8ecb81b..3a9b3be 100644
--- a/magit.el
+++ b/magit.el
@@ -3762,7 +3762,8 @@ With prefix argument, changes in staging area are kept.
 (defun magit-configure-have-graph ()
   (if (eq magit-have-graph 'unset)
       (let ((res (magit-git-exit-code "log" "--graph" "--max-count=0")))
-       (setq magit-have-graph (eq res 0)))))
+;      (setq magit-have-graph (eq res 0)))))
+       (setq magit-have-graph nil)))) ; FIXME: nil breaks oneline-re and 
wash-log
 
 (defun magit-configure-have-decorate ()
   (if (eq magit-have-decorate 'unset)

Reply via email to