bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with


From: Lars Ingebrigtsen
Subject: bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path.
Date: Tue, 09 Nov 2021 04:29:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Manuel Giraud <manuel@ledu-giraud.fr> writes:

> I thought that we might already have a function for this. Does counting
> slashes will work with Windows path?

Hm...  Actually, I'm not sure.  Perhaps doing a series of
file-name-directory/directory-file-name in a loop (to peel off the
directory components) would be the best algorithm here?  And I don't
think we have a function for this -- at least I can't find anything
promising while poking around.

> Side question: as this bug report is closed, should I open a new one
> with the new patch?

Opening a new bug report is best, but it's not required.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]