all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dmitry Gutov <dmitry@gutov.dev>
Cc: michael.albinus@gmx.de, emacs-devel@gnu.org
Subject: Re: master 370b216f086: New variable 'project-files-relative-names'
Date: Sun, 05 May 2024 19:21:40 +0300	[thread overview]
Message-ID: <86plu0cjqj.fsf@gnu.org> (raw)
In-Reply-To: <41d7d4e9-1566-4df1-90dc-8d7f6d06dee2@gutov.dev> (message from Dmitry Gutov on Sun, 5 May 2024 18:46:30 +0300)

> Date: Sun, 5 May 2024 18:46:30 +0300
> Cc: michael.albinus@gmx.de, emacs-devel@gnu.org
> From: Dmitry Gutov <dmitry@gutov.dev>
> 
> On 05/05/2024 17:19, Eli Zaretskii wrote:
> > After some debugging, the reason seems to be the use of that
> > ":(exclude,glob,top)%s" thingie in project--vc-list-files.  Which
> > version of Git introduced it?
> 
> I don't know the exact version, but git pathspecs are mentioned in this 
> 2014 SO question and in this 2015 article:
> 
> https://stackoverflow.com/questions/27711924/whats-a-pathspec-in-the-git-command
> https://kgrz.io/git-intro-to-pathspec.html
> 
> That seems old enough to me?
> 
> And the use of this feature was added to project.el in 2020, FWIW.

Maybe it's some other problem with it, because these pathspecs are
documented in my Git's man pages, but the commands I tried came up
with an empty list on my system, but with a non-empty list on another
one, where a newer Git is installed.  Could you perhaps show an
example of such a command line that I could try here?

Regardless, top of the backtrace from the failure looks like this:

  Test project-vc-supports-project-in-different-dir backtrace:
    string-match("\0" nil 0)
    split-string(nil "\0" t)
    project--vc-list-files("d:/gnu/git/emacs/trunk/test/lisp/progmodes/p

IOW, it tries to split-string nil.



  reply	other threads:[~2024-05-05 16:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <171487980736.28387.14971069985522275144@vcs2.savannah.gnu.org>
     [not found] ` <20240505033008.78DF3C2BC8C@vcs2.savannah.gnu.org>
2024-05-05  7:53   ` master 370b216f086: New variable 'project-files-relative-names' Michael Albinus
2024-05-05  9:14     ` Eli Zaretskii
2024-05-05 14:19       ` Eli Zaretskii
2024-05-05 15:46         ` Dmitry Gutov
2024-05-05 16:21           ` Eli Zaretskii [this message]
2024-05-05 17:28             ` Dmitry Gutov
2024-05-05 17:43               ` Eli Zaretskii
2024-05-05 18:01                 ` Dmitry Gutov
2024-05-05 16:43     ` Dmitry Gutov
2024-05-05 17:36       ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86plu0cjqj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dmitry@gutov.dev \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.