From: Dmitry Gutov <dgutov@yandex.ru>
Date: Tue, 1 Nov 2022 22:46:02 +0000 (+0200)
Subject: vc-svn-ignore-completion-table: Ignore empty lines
X-Git-Tag: emacs-29.0.90~1616^2~353
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f5bf1dbb961f7ca39e130f30891a566e4dfed09;p=emacs.git

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).
---

diff --git a/lisp/vc/vc-svn.el b/lisp/vc/vc-svn.el
index 9c2bdf66746..b9ea8f15788 100644
--- a/lisp/vc/vc-svn.el
+++ b/lisp/vc/vc-svn.el
@@ -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."