projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
711f908
)
; * lisp/vc/vc.el (vc-responsible-backend): Explain last change.
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 16 Sep 2022 11:17:56 +0000
(14:17 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 16 Sep 2022 11:17:56 +0000
(14:17 +0300)
lisp/vc/vc.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc.el
b/lisp/vc/vc.el
index 05109256bd13d0c7cfc63186dc175e3b20d6a7fe..4688137d923d2c70d21b102b9a613442353479c0 100644
(file)
--- a/
lisp/vc/vc.el
+++ b/
lisp/vc/vc.el
@@
-1014,6
+1014,10
@@
responsible for the given file."
(lambda (backend)
(when-let ((dir (vc-call-backend
backend 'responsible-p file)))
+ ;; We run DIR through `expand-file-name'
+ ;; so that abbreviated directories, such
+ ;; as "~/", wouldn't look "less specific"
+ ;; due to their artificially shorter length.
(cons backend (expand-file-name dir))))
vc-handled-backends))))
;; Just a single response (or none); use it.