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#42966: 28.0.50; vc-dir: wrong backend Date: Fri, 16 Oct 2020 16:41:37 +0200 Message-ID: <87v9fa44im.fsf@gnus.org> References: <87d01imtwl.fsf@gnus.org> <3708c3db-df78-1a50-857a-595f2412e284@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="24062"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Sam Steingold , 42966@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 16 16:42:45 2020 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 1kTQwP-000671-6u for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 16:42:45 +0200 Original-Received: from localhost ([::1]:57600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTQwO-0008FQ-7C for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 10:42:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTQvi-0007wI-OW for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 10:42:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48857) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTQvi-000206-Fg for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 10:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTQvi-0005WC-EF for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 10:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2020 14:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42966 X-GNU-PR-Package: emacs Original-Received: via spool by 42966-submit@debbugs.gnu.org id=B42966.160285931121194 (code B ref 42966); Fri, 16 Oct 2020 14:42:02 +0000 Original-Received: (at 42966) by debbugs.gnu.org; 16 Oct 2020 14:41:51 +0000 Original-Received: from localhost ([127.0.0.1]:60403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTQvX-0005Vm-22 for submit@debbugs.gnu.org; Fri, 16 Oct 2020 10:41:51 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:56938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTQvV-0005VV-9Q for 42966@debbugs.gnu.org; Fri, 16 Oct 2020 10:41:49 -0400 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=9LsvLfPU4c6hvqkhA89N9eHbwSc8pyanZOQb0pJrxwk=; b=emVuSg2eByAi1l8LDdQL8OF8Bx rN8E0lxa7beW1xrsl2HCUImdwYhXFup/xrj58Zw1wnw7kTRNuPbe9WiayRXKZCKJV2wqz5bjibXq3 ExWtxWH/zoE8HMIkPadBXb4SVUbXxB2FBXe9w0HaW+tTR7kGYfRUBI0daW8bFiD5d6y0=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kTQvK-0004L8-Tj; Fri, 16 Oct 2020 16:41:43 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAMFBMVEX+/v7s6ejj393R zMtnXVuyrKssIB9EOTeDeHYzJyUkGRgaEBDGvbhQPzuelZL///8RPH+VAAAAAWJLR0QPGLoA2QAA AAd0SU1FB+QKEA4lDl59bOAAAACTSURBVDjLY2AYBUMLMCoIMxhgk2B2CDMoYW7ClGB1iFRcwrLZ 5AAWCaUtLLmZjpgSYUpLni+bYYBFh3Lmqi2Y9vNceGW3O30qFlcVvKrebpqHRWKO99odfOswJZhm 7n66hRWLDtZdt4238JRgSrzeah2UwnwF04oplzQfTmeIwwxDAyUmARcBXCHMMAoGGgjhEAcA9Msm KaubwYcAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMTAtMTZUMTQ6Mzc6MTQrMDA6MDCjoS0GAAAA JXRFWHRkYXRlOm1vZGlmeQAyMDIwLTEwLTE2VDE0OjM3OjE0KzAwOjAw0vyVugAAAABJRU5ErkJg gg== X-Now-Playing: Lamb's _5_: "She Walks" In-Reply-To: <3708c3db-df78-1a50-857a-595f2412e284@yandex.ru> (Dmitry Gutov's message of "Fri, 16 Oct 2020 15:44:34 +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:190696 Archived-At: Dmitry Gutov writes: > The code should be straightforward, but I'd like to see some > performance measurements: both for the local case, and for the remote > one (Tramp). > > The difference can be small, though, given that we already try a > number of other backends first (Git is near the end of > vc-handled-backends; we might want to change that, BTW). As you point out, Git is already towards the end, so the typical case would just be two more tests, and both of the ones after Git (Hg and Mtn) look pretty trivial, too. So it looks rather unlikely that there'd be a noticeable performance impact, I think? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no