mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
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).
This commit is contained in:
parent
7cd8108098
commit
70d064dab7
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue