Subject: [PATCH] Add .jj to vc-directory-exclusion-list
From: Rudolf Schlatte <[email-masked]>
To: [email-masked]
Date: Mon, 24 Feb 2025 18:07:36 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Tags: patch

The jujutsu (jj) VCS uses a directory called ".jj" at the root of the
repository to store its data.  Add it to `vc-directory-exclusion-list'.

In GNU Emacs 30.1 (build 1, x86_64-apple-darwin24.3.0, NS appkit-2575.40
 Version 15.3.1 (Build 24D70)) of 2025-02-24 built on
 eduroam-193-157-204-78.wlan.uio.no
Repository revision: 8ac894e2246f25d2a2a97d866b10e6e0b0fede5a
Repository branch: HEAD
Windowing system distributor 'Apple', version 10.3.2575
System Description:  macOS 15.3.1

From 423702799e5b56c211b4e6e1067a376db7f454f9 Mon Sep 17 00:00:00 2001
From: Rudi Schlatte <[email-masked]>
Date: Mon, 24 Feb 2025 18:04:46 +0100
Subject: [PATCH] Add .jj to vc-directory-exclusion-list

This directory is used by the jujutsu version control system.
---
 lisp/vc/vc-hooks.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el
index 1b628bf0c16..d6dcf9d421b 100644
--- a/lisp/vc/vc-hooks.el
+++ b/lisp/vc/vc-hooks.el
@@ -123,7 +123,8 @@ vc-handled-backends
 ;; The Arch back end will be retrieved and fixed if it is ever required.
 (defcustom vc-directory-exclusion-list '("SCCS" "RCS" "CVS" "MCVS"
 					 ".src" ".svn" ".git" ".hg" ".bzr"
-                                         "_MTN" "_darcs" "{arch}" ".repo")
+                                         "_MTN" "_darcs" "{arch}" ".repo"
+                                         ".jj")
   "List of directory names to be ignored when walking directory trees."
   :type '(repeat string)
   :group 'vc)
-- 
2.48.1