]> git.eshelyaron.com Git - emacs.git/commitdiff
vc-svn-ignore-completion-table: Ignore empty lines
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 1 Nov 2022 22:46:02 +0000 (00:46 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 1 Nov 2022 22:46:21 +0000 (00:46 +0200)
* lisp/vc/vc-svn.el (vc-svn-ignore-completion-table):
Make sure to ignore empty lines (bug#58889).

lisp/vc/vc-svn.el

index 9c2bdf66746a745d488b3b319142a82fdfcc61d3..b9ea8f1578843263258cd9497579191cf4ebcff7 100644 (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."