aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/vc/vc-git.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index d5ba0c8be7d..f35c84d50c5 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -278,7 +278,7 @@ Should be consistent with the Git config value i18n.logOutputEncoding."
278 278
279(defun vc-git-mode-line-string (file) 279(defun vc-git-mode-line-string (file)
280 "Return a string for `vc-mode-line' to put in the mode line for FILE." 280 "Return a string for `vc-mode-line' to put in the mode line for FILE."
281 (let* ((rev (vc-git-working-revision file)) 281 (let* ((rev (vc-working-revision file 'Git))
282 (disp-rev (or (vc-git--symbolic-ref file) 282 (disp-rev (or (vc-git--symbolic-ref file)
283 (substring rev 0 7))) 283 (substring rev 0 7)))
284 (def-ml (vc-default-mode-line-string 'Git file)) 284 (def-ml (vc-default-mode-line-string 'Git file))