Function: vc-git-rename-as-string
vc-git-rename-as-string is a byte-compiled function defined in
vc-git.el.gz.
Signature
(vc-git-rename-as-string STATE EXTRA)
Documentation
Return a string describing the copy or rename associated with INFO, or an empty string if none.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defun vc-git-rename-as-string (state extra)
"Return a string describing the copy or rename associated with INFO,
or an empty string if none."
(let ((rename-state (when extra
(vc-git-extra-fileinfo->rename-state extra))))
(if rename-state
(propertize
(concat " ("
(if (eq rename-state 'copy) "copied from "
(if (eq state 'added) "renamed from "
"renamed to "))
(vc-git-escape-file-name
(vc-git-extra-fileinfo->orig-name extra))
")")
'face 'font-lock-comment-face)
"")))