[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: |
Andy Moreton |
Subject: |
bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path. |
Date: |
Sat, 06 Nov 2021 15:01:57 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) |
On Sat 06 Nov 2021, Lars Ingebrigtsen wrote:
> Manuel Giraud <manuel@ledu-giraud.fr> writes:
>
>> This patch solves this issue by selecting the backend with the most
>> specific (in fact, the longest string) path to the file.
>
> I think this makes sense (it makes things more consistent and logical),
> and Dmitry agrees, so I've now applied this to Emacs 29. We'll see
> whether anybody complains.
Picking the more specific filename is good, but the longest string is
the wrong measure: what is wanted is the deepest path. For example:
verylongdirname/foo
a/b/c/foo
The second is a shorter string, but more specific.
AndyM
- bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path., Lars Ingebrigtsen, 2021/11/05
- bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path.,
Andy Moreton <=
- bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path., Lars Ingebrigtsen, 2021/11/06
- bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path., Andy Moreton, 2021/11/06
- bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path., Dmitry Gutov, 2021/11/06
- bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path., Lars Ingebrigtsen, 2021/11/07
- bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path., Manuel Giraud, 2021/11/08
- bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path., Lars Ingebrigtsen, 2021/11/08
- bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path., Manuel Giraud, 2021/11/08
- bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path., Lars Ingebrigtsen, 2021/11/08
- bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path., Juri Linkov, 2021/11/09
- bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path., Lars Ingebrigtsen, 2021/11/09