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:
parent
a2d08222c6
commit
07e316777f
1 changed files with 1 additions and 1 deletions
2
magit.el
2
magit.el
|
@ -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"))))
|
||||
|
|
Loading…
Reference in a new issue