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: Sat, 14 Sep 2019 03:33:22 +0300 Message-ID: References: <8736h9rdc4.fsf@gnu.org> <87mufcfz1u.fsf@gnu.org> <87tv9kz2x6.fsf@gnu.org> <87a7bbjdwe.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="36048"; 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 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 14 02:33:57 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 1i8w0j-0009I4-1N for ged-emacs-devel@m.gmane.org; Sat, 14 Sep 2019 02:33:57 +0200 Original-Received: from localhost ([::1]:48260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8w0h-0001tQ-WB for ged-emacs-devel@m.gmane.org; Fri, 13 Sep 2019 20:33:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42935) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8w0F-0001tK-6d for emacs-devel@gnu.org; Fri, 13 Sep 2019 20:33:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8w0E-0008Cw-DW for emacs-devel@gnu.org; Fri, 13 Sep 2019 20:33:27 -0400 Original-Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:37670) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8w0E-0008Ci-6m for emacs-devel@gnu.org; Fri, 13 Sep 2019 20:33:26 -0400 Original-Received: by mail-lf1-x129.google.com with SMTP id w67so23396409lff.4 for ; Fri, 13 Sep 2019 17:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=WZn6JeW1N0GDB7bZOJLUG4/ewj7GOCaqd6x4iiAgGeA=; b=kHYpAjnkgwHFl2Pxf+ezwRZVtcKgYKQWe2iqcNki+KhLs3mNcCZ+nsc5gwwyan4dvh 44Td7RfQPWohrBWwT7/vLZWRVCgjrZ3jDCh1JK7eu7bv1R5XP7jDFJLC032C3xbFInVn Ozir0tL3uAG9nSiwU9FABn3mUEq2Zj2kjJFTZHaY00V3SPJlluEbitVq1QSkgP8k1CA0 rQo6gNipzx3c3ohejX+LmmFLyx0JVIAyJ+BxNBeS2dMX8GhvNUxpgoam8TDtQcUHPMko dzP+a9pFeKGVCDh9B4gwV7CtA1GCQF8gBJks8JLwD3EL2wyBgQ7BPmLL7uEi6PtK8NQt mVQw== 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:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=WZn6JeW1N0GDB7bZOJLUG4/ewj7GOCaqd6x4iiAgGeA=; b=T+gzqWyMYUFgi0NFV/UXScQIhpS+E/23CB2FtL8C0xq7KZJTsgmMCRSzQ0dLV8Qsuc lwjomCn+rRzuLtrhWIyC3f78TO1BsixKVGu3iyp99NJ3bdBPt6/opDYZLnw6qm7Avqn7 RZenGWdmnoC8swX5EfOwaliBu0Mbl1SXcvpvNdo4V0W3aX18foAN8Wzh/1JiTTL2R90J 9bgGjHLfAGuwrH/JX8noAkGOQEKerbZRUtK6kCEuH/dwKCNr/laQigd6JxGc+J241VXh 4G/EH9z9RRUOfIlkdTDIDeFNXBORBphtNtbF0JSjYrDVAukn/CsnQNNmGxkGaryYOWe/ xwVw== X-Gm-Message-State: APjAAAXvD2BJ61bSpQXMAKGlJWxkDhZUOMwEe6jzJ828OFlkz4asIe0M 3b2CRMUxqByB93kqd1FrXO1TQ9Au X-Google-Smtp-Source: APXvYqw5bBX8I//A6aQnNoIH0V+iCP7IP35Ucm0wt3OYXHILq8A8whU2FsmLRPD9TUyaByvehoIyww== X-Received: by 2002:a19:c6d5:: with SMTP id w204mr31382024lff.53.1568421204257; Fri, 13 Sep 2019 17:33:24 -0700 (PDT) Original-Received: from [192.168.1.142] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id z19sm6657863ljj.50.2019.09.13.17.33.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Sep 2019 17:33:23 -0700 (PDT) In-Reply-To: <87a7bbjdwe.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::129 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:240020 Archived-At: On 11.09.2019 14:00, Tassilo Horn wrote: > Yes, I guess ideally it would take a list of vc-states like up-to-date, > edited, needs-update (probably with the exclusion of unregistered) and > list the files in any of the given states. Why exclude unregistered? I don't imagine they would slow anything down. In addition to states, the command will likely need a second argument: the list of ignores. It can default to whatever Git ignores already, but we could also just pass the whole list of ignores anyway. Speaking of ignores format, maybe they should just be whatever the backend in question understands, e.g. the contents of gitignore verbatim.