Function: vc-git--out-str

vc-git--out-str is a byte-compiled function defined in vc-git.el.gz.

Signature

(vc-git--out-str COMMAND &rest ARGS)

Documentation

Run git COMMAND ARGS... and return standard output as a string.

The exit status is ignored.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defun vc-git--out-str (command &rest args)
  "Run `git COMMAND ARGS...' and return standard output as a string.
The exit status is ignored."
  (with-output-to-string
    (with-current-buffer standard-output
      (apply #'vc-git--out-ok command args))))