From: Stefan Kangas Date: Mon, 16 Dec 2024 20:58:56 +0000 (+0100) Subject: Make VC exclude Repo directories X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f164d865a1abf3e426af4b9fdf2d6069e17eb32;p=emacs.git Make VC exclude Repo directories * 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) --- diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index 8f212e96933..ab0d150ece9 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el @@ -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)