]> git.eshelyaron.com Git - emacs.git/commitdiff
Make VC exclude Repo directories
authorStefan Kangas <stefankangas@gmail.com>
Mon, 16 Dec 2024 20:58:56 +0000 (21:58 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 15:07:00 +0000 (16:07 +0100)
* lisp/vc/vc-hooks.el (vc-directory-exclusion-list): Also ignore
".repo" directory created by Repo.
Ref: https://android.googlesource.com/tools/repo

(cherry picked from commit a07c89cf9b93ac78d55b528134c09c376afc58da)

lisp/vc/vc-hooks.el

index 8f212e9693376218c0b0260e7b13643963651267..ab0d150ece9563938d651a4f6d26ca3b362775c5 100644 (file)
@@ -118,12 +118,12 @@ An empty list disables VC altogether."
   :version "25.1"
   :group 'vc)
 
-;; Note: we don't actually have a darcs back end yet.
-;; Also, Arch is unsupported, and the Meta-CVS back end has been removed.
+;; Note: we don't actually have a darcs back end yet.  Also, Arch and
+;; Repo are unsupported, and the Meta-CVS back end has been removed.
 ;; The Arch back end will be retrieved and fixed if it is ever required.
 (defcustom vc-directory-exclusion-list (purecopy '("SCCS" "RCS" "CVS" "MCVS"
                                         ".src" ".svn" ".git" ".hg" ".bzr"
-                                        "_MTN" "_darcs" "{arch}"))
+                                         "_MTN" "_darcs" "{arch}" ".repo"))
   "List of directory names to be ignored when walking directory trees."
   :type '(repeat string)
   :group 'vc)