|
From: | Lars Ingebrigtsen |
Subject: | bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path. |
Date: | Sat, 06 Nov 2021 19:19:32 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Andy Moreton <andrewjmoreton@gmail.com> writes: > 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. But didn't it just traverse upwards? In which case longer is more specific. (I may be misremembering the patch.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] | Current Thread | [Next in Thread] |