[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 70d064dab74: poject--vc-list-files: Check that the current Emacs
From: |
Dmitry Gutov |
Subject: |
master 70d064dab74: poject--vc-list-files: Check that the current Emacs is 31+ |
Date: |
Mon, 7 Oct 2024 19:47:37 -0400 (EDT) |
branch: master
commit 70d064dab74ac7928eeacb61c03605b99de995a9
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
poject--vc-list-files: Check that the current Emacs is 31+
* lisp/progmodes/project.el (project--vc-list-files):
Check that the current Emacs is 31+, to avoid breakage on remote
hosts with older Git (bug#73320).
---
lisp/progmodes/project.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index b2f18da8925..18613e9ec33 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -674,7 +674,8 @@ See `project-vc-extra-root-markers' for the marker value
format.")
(submodules (project--git-submodules))
files)
(setq args (append args
- (and (version<= "2.35" (vc-git--program-version))
+ (and (<= 31 emacs-major-version)
+ (version<= "2.35" (vc-git--program-version))
'("--sparse"))
(and include-untracked '("-o"))))
(when extra-ignores
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 70d064dab74: poject--vc-list-files: Check that the current Emacs is 31+,
Dmitry Gutov <=