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

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

bug#42966: 28.0.50; vc-dir: wrong backend


From: Lars Ingebrigtsen
Subject: bug#42966: 28.0.50; vc-dir: wrong backend
Date: Sat, 17 Oct 2020 08:06:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Dmitry Gutov <dgutov@yandex.ru> writes:

> On 16.10.2020 18:35, Glenn Morris wrote:
>> See eghttps://debbugs.gnu.org/3807#21  from 11 years ago.
>
> Stefan's suggestion is pretty sensible.
>
> Though it'll require a rework of the corresponding VC backend
> actions. Not sure if it's possible to do in a backward-compatible
> fashion.

(The suggestion is to recurse upwards and ask each backend "are you
responsible for this directory, then?")

That makes sense, but it's just a performance hack, isn't it?  The
result should be the same as the less invasive "loop over all the
backends and collect the most specific one".

-- 
(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]