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
This commit is contained in:
Stefan Kangas 2024-12-16 21:58:56 +01:00
parent 02a1e3052b
commit a07c89cf9b

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