Function: vc-git--out-match
vc-git--out-match is a byte-compiled function defined in vc-git.el.gz.
Signature
(vc-git--out-match ARGS REGEXP GROUP)
Documentation
Run git ARGS... and return match for group number GROUP of REGEXP.
Return nil if the output does not match. The exit status is ignored.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defun vc-git--out-match (args regexp group)
"Run `git ARGS...' and return match for group number GROUP of REGEXP.
Return nil if the output does not match. The exit status is ignored."
(let ((out (apply #'vc-git--out-str args)))
(when (string-match regexp out)
(match-string group out))))