From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: A project-files implementation for Git projects Date: Tue, 10 Sep 2019 17:24:45 +0300 Message-ID: <427ed9a9-db21-aab0-1c01-7b12876c97cf@yandex.ru> References: <8736h9rdc4.fsf@gnu.org> <87mufcfz1u.fsf@gnu.org> <87tv9kz2x6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="3341"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Cc: emacs-devel@gnu.org To: Tassilo Horn , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 10 16:25:00 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i7h4k-0000hD-E6 for ged-emacs-devel@m.gmane.org; Tue, 10 Sep 2019 16:24:58 +0200 Original-Received: from localhost ([::1]:40398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7h4j-0004St-BQ for ged-emacs-devel@m.gmane.org; Tue, 10 Sep 2019 10:24:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50153) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7h4c-0004ST-M2 for emacs-devel@gnu.org; Tue, 10 Sep 2019 10:24:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7h4b-0003wQ-Pc for emacs-devel@gnu.org; Tue, 10 Sep 2019 10:24:50 -0400 Original-Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:40308) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i7h4b-0003vN-GR; Tue, 10 Sep 2019 10:24:49 -0400 Original-Received: by mail-lf1-x12b.google.com with SMTP id w18so1702308lfk.7; Tue, 10 Sep 2019 07:24:48 -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=ix1icQAD0wE+oYsawryZcsheie/vP+5nV7UgfmKIeOI=; b=C9OiDzaz/Lcw4UOprQywmlEecEoSieC2v1vsp6voJRUn7PySElwyoqGACXm1sJLYIz RRueqozEl30slWr1nMPyspaG4ji9xKGmfcFO3pJY0ovge1Pe33YOPLLOwm44NO6C8tcy /1Mw51oRBmrBnIN/g3T2NAk82fxUFNTfgAfBiPWAbqk0xPN24fS0fjo7HL5h44aD3sor qjZWeuAuoYAPHIY158FEce3m8HDMhpovYBB5Bgrw/VeC/UpzRF6sK7wZBoGOkogGg46p tcs/+wHfv87pA0W0SZAfQtk/uMBo7oCxD24WyEJq5TNr21jAb2vtK+/VYAFbXJiq3Xj+ NHew== 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=ix1icQAD0wE+oYsawryZcsheie/vP+5nV7UgfmKIeOI=; b=NS48/4/07r7Pj/9CnYOlD1mq90bgrgJW+eFAwSHwK/s9NyGHKuilBsGm07/8TTEP8g cnOiG6oFTSUKtdNkO+PLXTsHfdQ40z/eSuL+eNkdTLUA7GHj7hHgaj4/2NoLXbGA7Ymm 8FFgTnCCjnhFl6tT67C3JC/TlTer3LFy0MsLQr9fz+AOFjMsEqiF91b5ezWc0iByEZ3R HpcZbu2m009SNrasqcrSRz/aHBFHKLR0gn9nlbysLUYAprXrOzk+BSmMNuCIRN/Fz+Ez nbLBlsJnJbDxsCNu8MM1mNByfo4K0ahPdY0qjsa/GBS/pFeoy6+as90bfWup5yPiwMZC y2eg== X-Gm-Message-State: APjAAAVb+IOXE+EaEA6Ue0VL8tTZsn1mHBv7DitDf2jHscZ1xzQJI31u NwlirA4hXuQqrOGMg7sM7nuAdFd3 X-Google-Smtp-Source: APXvYqzD39+OGEPdMArfcPe3KGcIMNOnifo19LwlKkMMpSp48IswqN1Hm2B9QC0vVlfebC8B38Ch0Q== X-Received: by 2002:ac2:4ac9:: with SMTP id m9mr20101040lfp.94.1568125486863; Tue, 10 Sep 2019 07:24:46 -0700 (PDT) Original-Received: from [192.168.1.142] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id f8sm3825414ljm.44.2019.09.10.07.24.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Sep 2019 07:24:46 -0700 (PDT) In-Reply-To: <87tv9kz2x6.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:4864:20::12b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:239980 Archived-At: On 10.09.2019 16:39, Tassilo Horn wrote: > But what should this do? From a vc list-files function I'd expect (and > document) that it lists all and only tracked files. So should the > default implementation use find to locate all files and then check each > one if it is tracked using vc-state (or something alike)? I'd really like it to be more feature-rich. I.e. to accept arguments which files it will return, or blacklist/whitelist. In my limited testing, Git can handle it and will still return the list of files much faster than the current find-based solution. It's a bit more complex to implement, though. That's why it has been on my list for a while without much progress.