From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jan.synacek@posteo.org Newsgroups: gmane.emacs.bugs Subject: bug#55632: [PATCH] Add new user option project-vc-find-tracked-only Date: Thu, 02 Jun 2022 19:01:53 +0000 Message-ID: References: <87leuqkmhl.fsf@posteo.org> <9e283838-aaa1-345e-bce8-21ee863dbc31@yandex.ru> <43b5eada954e592cc0c747368a3dbdb7@posteo.de> <437b78f7-f4a9-670d-9b74-69ae8a565767@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_8d4e42d97f6b2b415e1cdbdafddc471e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2646"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55632@debbugs.gnu.org, DG To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 02 21:03:34 2022 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 1nwq6X-0000SX-V6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jun 2022 21:03:34 +0200 Original-Received: from localhost ([::1]:34630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwq6W-0007gC-NJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jun 2022 15:03:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwq62-0007fv-9K for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 15:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwq62-0006cZ-0d for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 15:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwq61-0002DY-RV for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 15:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: jan.synacek@posteo.org Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jun 2022 19:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55632 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 55632-submit@debbugs.gnu.org id=B55632.16541965268436 (code B ref 55632); Thu, 02 Jun 2022 19:03:01 +0000 Original-Received: (at 55632) by debbugs.gnu.org; 2 Jun 2022 19:02:06 +0000 Original-Received: from localhost ([127.0.0.1]:54622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwq57-0002C0-V1 for submit@debbugs.gnu.org; Thu, 02 Jun 2022 15:02:06 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:50171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwq52-0002BQ-Ci for 55632@debbugs.gnu.org; Thu, 02 Jun 2022 15:02:04 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 644F7240026 for <55632@debbugs.gnu.org>; Thu, 2 Jun 2022 21:01:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1654196514; bh=9gKHryshabkjti5JiE9VTOuP2BEhK/Ze//UDuT40Th0=; h=Date:From:To:Cc:Subject:From; b=gWHX/2wAK4LPTfbqpYQyw5A+myVt0CUFfFOncmgyf4bzX2JDlNvexN4QzvnflRsYZ Dmeg4cwiZL6Df+nHgVsFEr/iYeBaeVmtNFhL4i7QLu9teqV+StbXcVWenjoXmwuTlG jTU6cLzOLFsGrkFKD2HOaSloizCaGoN/foheniW4z+LnbsL43Ot2IGhGt18Z0YG6os 3Jfg5ZBYdEKJjC3J1JyDsnHqE5uqSxBnFb7qJTEo6lbatSiz9qNS0CoMpOFKsTwwDh dGOgsxY+x4nr8Y2J4BsTiYv4K+RP8xP8y0GXW5YvCYGHf7t0ayTkjNbqzmgvjmYU11 Q4ptTRBBi6SWA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LDb3P1pTRz9rxF; Thu, 2 Jun 2022 21:01:53 +0200 (CEST) In-Reply-To: <437b78f7-f4a9-670d-9b74-69ae8a565767@yandex.ru> 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:233566 Archived-At: --=_8d4e42d97f6b2b415e1cdbdafddc471e Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed >> Thank you for the review. I addressed your comments in the new version >> of the patch. > > Thanks. > > One last thing here. The manual addition says: > > +Also, some VC back-ends consider ``untracked'' files by default. > +That behavior is controllable with the variable > +@code{project-vc-include-untracked}. > > Should that say "some Project back-ends ..."? Or better yet, "the VC > Project back-end". Because that's the only one in the core that has > any notion of "untracked files". > > And that behavior is so for all VC backends, with Git and Hg simply > having custom file listing code (for better performance). The rest > delegate to 'find', only picking up the list of ignores (like > bzrignore, svnignore, etc). > > Consequently, the new variable will only affect the VC Project > backend's behavior only with Hg and Git. Fixed. --=_8d4e42d97f6b2b415e1cdbdafddc471e Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name=0001-Add-new-user-option-project-vc-include-untracked.patch Content-Disposition: attachment; filename=0001-Add-new-user-option-project-vc-include-untracked.patch; size=3443 RnJvbSBmZjdlYjY1MjkwMTllOThlYWUzMjBjOTA3YzFlOTY4M2EyMWQ2MjdlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/SmFuPTIwU3luPUMzPUExPUM0PThEZWs/PSA8 amFuLnN5bmFjZWtAZ21haWwuY29tPgpEYXRlOiBUaHUsIDIgSnVuIDIwMjIgMjA6NTk6NTMgKzAy MDAKU3ViamVjdDogW1BBVENIXSBBZGQgbmV3IHVzZXIgb3B0aW9uIHByb2plY3QtdmMtaW5jbHVk ZS11bnRyYWNrZWQKCiogZG9jL2VtYWNzL21haW50YWluaW5nLnRleGkgKFByb2plY3RzKTogRG9j dW1lbnQgaXQuCiogbGlzcC9wcm9nbW9kZXMvcHJvamVjdC5lbCAocHJvamVjdC0tdmMtbGlzdC1m aWxlcyk6IFVzZSBpdC4KLS0tCiBkb2MvZW1hY3MvbWFpbnRhaW5pbmcudGV4aSB8ICAzICsrKwog ZXRjL05FV1MgICAgICAgICAgICAgICAgICAgfCAgNCArKysrCiBsaXNwL3Byb2dtb2Rlcy9wcm9q ZWN0LmVsICB8IDE2ICsrKysrKysrKysrLS0tLS0KIDMgZmlsZXMgY2hhbmdlZCwgMTggaW5zZXJ0 aW9ucygrKSwgNSBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9kb2MvZW1hY3MvbWFpbnRhaW5p bmcudGV4aSBiL2RvYy9lbWFjcy9tYWludGFpbmluZy50ZXhpCmluZGV4IDNkZGVhMGFlNTguLmVk YzVhY2JkNjUgMTAwNjQ0Ci0tLSBhL2RvYy9lbWFjcy9tYWludGFpbmluZy50ZXhpCisrKyBiL2Rv Yy9lbWFjcy9tY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VucmVnaXN0ZXJlZC4KLSAgICAgICAoc2V0cSBhcmdz IChuY29uYyBhcmdzICcoIi1tY2FyZHUiICItLW5vLXN0YXR1cyIgIi0wIikpKQorICAgICAgICAg ICAoYXJncyAobGlzdCAoY29uY2F0ICItbWNhcmQiICh3aGVuIHByb2plY3QtdmMtaW5jbHVkZS11 bnRyYWNrZWQgInUiKSkKKyAgICAgICAgICAgICAgICAgICAgICAgIi0tbm8tc3RhdHVzIgorICAg ICAgICAgICAgICAgICAgICAgICAiLTAiKSkpCiAgICAgICAgKHdoZW4gZXh0cmEtaWdub3Jlcwog ICAgICAgICAgKHNldHEgYXJncyAobmNvbmMgYXJncwogICAgICAgICAgICAgICAgICAgICAgICAg ICAgKG1hcGNhbgotLSAKMi4zNi4xCgo= --=_8d4e42d97f6b2b415e1cdbdafddc471e--