From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: vc-dir operation is very slow on large git repositories in Emacs 26.1 Date: Mon, 25 Jun 2018 15:55:38 +0300 Message-ID: <5095ed13-d4a8-1699-26f9-746afaee0248@yandex.ru> References: <83k1qtsbgi.fsf@gnu.org> <30712254-6225-c6a8-1457-698c64e37739@yandex.ru> <83zhzltyii.fsf@gnu.org> <5218794b-b9ef-3c0d-d3c1-bf40c42e64b2@yandex.ru> <83r2kxtk9w.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1529933803 22182 195.159.176.226 (25 Jun 2018 13:36:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2018 13:36:43 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 Cc: alexharsanyi@gmail.com, tom@tromey.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 25 15:36:39 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXRfb-0005g9-1J for ged-emacs-devel@m.gmane.org; Mon, 25 Jun 2018 15:36:39 +0200 Original-Received: from localhost ([::1]:47031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXRhi-0003tn-Eh for ged-emacs-devel@m.gmane.org; Mon, 25 Jun 2018 09:38:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXR21-00033c-GF for emacs-devel@gnu.org; Mon, 25 Jun 2018 08:55:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXR1y-0003qw-9Q for emacs-devel@gnu.org; Mon, 25 Jun 2018 08:55:45 -0400 Original-Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:39616) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXR1y-0003qe-2U; Mon, 25 Jun 2018 08:55:42 -0400 Original-Received: by mail-wr0-x234.google.com with SMTP id b8-v6so8146047wro.6; Mon, 25 Jun 2018 05:55:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=6hnosJnesSQANPTobed7zi5fuxH0kbX8Wh5kI6uwXTM=; b=mtfZsVoFlYDgV/pw+OvenwxBdtCeMvcBgCQL/ghh3ZxsklH/nIW4/oj74ueP/lqZRA D8rvmMeXVB09GuPVs9fr4+T9qIUc+Z/z3ADULCM7OepgcoBlttvI+xa6wYdCVhlEQdW3 GqserUM4ach4WFaKJPMuhWvl7H4BjiJ+PtWMqkqwa/ot1jD3xLMV8FmIjIiN3fCDVkNZ qGFO793whS0YmekU84I4pMD4ZqLgXglUf2RTgurvYWW2aMwn3Z5zSVFZAECuxEWCOjDu Go+WCcC+omO5/vzfoFvuBpRV2uUOTR4fJ6SzkNY0Jd+S4lTpGbxTznUdKsphsLryq+cg khtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=6hnosJnesSQANPTobed7zi5fuxH0kbX8Wh5kI6uwXTM=; b=PISAkAblmCk45qS65eoCG9IT4tKqGEUuypwlx71vKEyKCG1j4UsVQzSaVRZlS0qegl 3w5OKDn8gc7iSF1RgMOkk9uLXwcUptC5csuQJsNvjli7+S2vCCP0oeAX5DxgabiAY3x1 mFtHm/dSUoJTLP84EkPfkC1lRVWIc8WDR3gEhwpIb29UkUiNPQH3vFhTptgVCj+ZhY0w +j2qL1qpynRIOI1NqK5xNfVhn1oTsS26ZaLAqYYmtKIzYgy7CSR9zMdjmYYLSB668KJZ KLN8lgQYztiOrcUqfCiblX1E3SXXLkXOyJ6DBoSpS3+bAS9tO9r63XrcOnJiofw0XT3o 6uqw== X-Gm-Message-State: APt69E0Bf0a2iltDdngkI+bgzBewu2LcYJn19UHibnjwmgadVaot7f/D QdSx7Q20xWM0JKkBFpz/CpdUxn4T X-Google-Smtp-Source: AAOMgpf6weZc3dSLzA5Dy8qtZAAwdNnCNXg2yFVmnlnP1HDfKcV+cwXe77kNqaaB032Jc5iP5ryAeA== X-Received: by 2002:adf:9487:: with SMTP id 7-v6mr10542906wrr.82.1529931340411; Mon, 25 Jun 2018 05:55:40 -0700 (PDT) Original-Received: from [192.168.1.104] ([148.63.152.122]) by smtp.googlemail.com with ESMTPSA id x5-v6sm17317424wrr.3.2018.06.25.05.55.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jun 2018 05:55:39 -0700 (PDT) In-Reply-To: <83r2kxtk9w.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226704 Archived-At: On 6/23/18 9:44 PM, Eli Zaretskii wrote: > I assume it was added to fix some problem or issue. What was that > issue, and what are the alternatives that avoid issuing the command? It's used to obtain the list of conflicted files. Which is the new feature added in the bug report I've referenced. I'm not quite sure why we have to fetch the list of all files in the repository to do that. It seems like the approach was simply adapted from the ls-files-up-to-date stage, but that one is only called for a list of individual files, not for the status of a whole directory (e.g. whole repository).