vc-svn-ignore-completion-table: Ignore empty lines

* lisp/vc/vc-svn.el (vc-svn-ignore-completion-table):
Make sure to ignore empty lines (bug#58889).
This commit is contained in:
Dmitry Gutov 2022-11-02 00:46:02 +02:00
parent 208f0578d1
commit 0f5bf1dbb9

View file

@ -364,7 +364,7 @@ DIRECTORY or absolute."
(with-temp-buffer
(when (zerop (vc-svn-command
t t nil "propget" "svn:ignore" (expand-file-name directory)))
(split-string (buffer-string) "\n"))))
(split-string (buffer-string) "\n" t))))
(defun vc-svn-find-admin-dir (file)
"Return the administrative directory of FILE."