Make it work with tramp some more.

* magit.el (magit-shell-lines): Use magit-shell-command-to-string
instead of shell-command-to-string.
This commit is contained in:
Marius Vollmer 2009-03-01 21:45:02 +02:00
parent a2d08222c6
commit 07e316777f

View file

@ -224,7 +224,7 @@ Many Magit faces inherit from this one by default."
(magit-format-shell-command fmt args)))
(defun magit-shell-lines (command)
(let ((str (shell-command-to-string command)))
(let ((str (magit-shell-command-to-string command)))
(if (string= str "")
nil
(let ((lines (nreverse (split-string str "\n"))))