mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
Use directory-name-p in vc-git--file-list-is-rootdir
* lisp/vc/vc-git.el (vc-git--file-list-is-rootdir): Use directory-name-p.
This commit is contained in:
parent
8d9a4647fb
commit
dfdeee839a
@ -2211,7 +2211,7 @@ The difference to `vc-do-command' is that this function always invokes
|
||||
(let ((file (or (car-safe file-or-list)
|
||||
file-or-list)))
|
||||
(and file
|
||||
(eq ?/ (aref file (1- (length file))))
|
||||
(directory-name-p file)
|
||||
(equal file (vc-git-root file))))))
|
||||
|
||||
(defun vc-git--empty-db-p ()
|
||||
|
Loading…
Reference in New Issue
Block a user