summaryrefslogtreecommitdiff
path: root/lisp/vc-dir.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc-dir.el')
-rw-r--r--lisp/vc-dir.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc-dir.el b/lisp/vc-dir.el
index a0350eb3013..1eaec28e8be 100644
--- a/lisp/vc-dir.el
+++ b/lisp/vc-dir.el
@@ -950,7 +950,8 @@ specific headers."
(propertize "VC backend : " 'face 'font-lock-type-face)
(propertize (format "%s\n" backend) 'face 'font-lock-variable-name-face)
(propertize "Working dir: " 'face 'font-lock-type-face)
- (propertize (format "%s\n" dir) 'face 'font-lock-variable-name-face)
+ (propertize (format "%s\n" (abbreviate-file-name dir))
+ 'face 'font-lock-variable-name-face)
;; Then the backend specific ones.
(vc-call-backend backend 'dir-extra-headers dir)
"\n"))