-
Dmitry Gutov authored
* lisp/vc/vc-git.el (vc-git-mode-line-string): Use `substring' instead of `replace-regexp-in-string', because REV can be nil (e.g. when FILE is a directory, bug#23344), and we actually know we only need the first 4 characters.
87ee542f