From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path. Date: Sun, 07 Nov 2021 14:17:08 +0100 Message-ID: <87zgqgjeaz.fsf@gnus.org> References: <877dfkxyt4.fsf@elite.giraud> <87cznef8ah.fsf@gnus.org> <86ilx5iaze.fsf@gmail.com> <87pmrdb0zv.fsf@gnus.org> <86mtmgx6gg.fsf@gmail.com> <87fe707b-f2b4-febd-d2ae-acc697b4cee1@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21197"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 50572@debbugs.gnu.org, Andy Moreton , Dmitry Gutov To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 07 14:18:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mji3p-0005F7-Be for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 14:18:13 +0100 Original-Received: from localhost ([::1]:35400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mji3n-0002PU-W9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 08:18:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mji3e-0002MY-GM for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 08:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mji3e-0007Ls-7W for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 08:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mji3e-0000tI-3T for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 08:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Nov 2021 13:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50572 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 50572-submit@debbugs.gnu.org id=B50572.16362910473379 (code B ref 50572); Sun, 07 Nov 2021 13:18:02 +0000 Original-Received: (at 50572) by debbugs.gnu.org; 7 Nov 2021 13:17:27 +0000 Original-Received: from localhost ([127.0.0.1]:52048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mji34-0000sQ-Gp for submit@debbugs.gnu.org; Sun, 07 Nov 2021 08:17:27 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:34852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mji2x-0000s3-Fv for 50572@debbugs.gnu.org; Sun, 07 Nov 2021 08:17:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=btjP7LybHV6Gv5yLwElgQ25pWIIOiKQkdP4zb3ilTS8=; b=jwkaTl2D+07Y39GQA6AvR8ISNy nkGxSSyAJTg0yKyrTUzD5ptYWImZ3FeNsqm/8RbcIYpyYLaNo0P5/s+LQ8rnrWuCOeE0niVieySvr zrGgpF98Sual0gXaPpKTYZoyr/UHckr9yX8smTGuJBkMeFl/1UPwUmxLXRkcfbKF4hk4=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mji2n-0000b6-Tc; Sun, 07 Nov 2021 14:17:12 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEVXTlJKO0SjoVHZ 1tSfSk8oJCj///8ZqJQYAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+ULBw0DATSo2T8AAAGxSURBVDjL ddPNcuMgDAdwcMgdteaeEvfeifcBTEa92zur93+V/sWHBzJdDrHDb4SEwMb8b/j6JPsy08DY8man eHsNyuOyruutn7BE+bnq+CXlJcPjZR1mXstgNjRKhQVA/UrT414A9VNPl68JGWpElrIL1+BPhTw8 7LmWpQbQFac+eQ+uws30gMptWWl12wCg9zz/heBtFLq3XqENaYjB/IcvwEPIYXK2DkSOvg4F3vQ4 xioU2qkP8wDbXt2wV0a9JqM3qQso4JI34fBpti+ArmvQMqe2kgNYcrzNKC0sfELeh/FbAuCuVdA2 G4LYZAEpZKjXwtCsBYcTyqVxelB4PeSEOl9O0MsJuk92XIECIBFg87WgCtdjRiLBR+LNVWRnfpal LM1bOQlvBeNfjPlU9DcFyaDzQTL4iG9Iz2nXVuv0Vd4A7qkQgoifIn8D8P43mpkzIKVC/BSha5A9 IhrwYSwO3FRAxFEB+zrQgZghBNtgAWj3AN9y2EAFOC56a72upMnPHHqxUvukw1lVBjRviqZeOxEr U4FECrfaT4w9NqA3JKYzZKqAv5f1EVOTHXX8AJ7ugDtRRlTiAAAAJXRFWHRkYXRlOmNyZWF0ZQAy MDIxLTExLTA3VDEzOjAzOjAxKzAwOjAwOU18VgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMS0w N1QxMzowMzowMSswMDowMEgQxOoAAAAASUVORK5CYII= X-Now-Playing: Moon-Drenched's _Moon-Drenched_: "The War Clock" In-Reply-To: <87fe707b-f2b4-febd-d2ae-acc697b4cee1@yandex.ru> (Dmitry Gutov's message of "Sun, 7 Nov 2021 01:35:24 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219237 Archived-At: Dmitry Gutov writes: >> Longer is better yes, but the patch counts characters when it should >> count directories to determine which path is longer. > > Err, yes. That's a problem. Manuel, can you rework vc-backend-for-registration to count directory depth instead of characters? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no