Function: vc-git--state-code
vc-git--state-code is a byte-compiled function defined in
vc-git.el.gz.
Signature
(vc-git--state-code CODE)
Documentation
Convert from a string to an added/deleted/modified state.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defun vc-git--state-code (code)
"Convert from a string to an added/deleted/modified state."
(pcase (string-to-char code)
(?M 'edited)
(?A 'added)
(?D 'removed)
(?U 'edited) ;; FIXME
(?T 'edited))) ;; FIXME