From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20710: gitignore patterns for ps, html etc are too broad Date: Mon, 01 Jun 2015 19:24:18 +0300 Message-ID: <83y4k3s8gd.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1433175925 3880 80.91.229.3 (1 Jun 2015 16:25:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2015 16:25:25 +0000 (UTC) Cc: 20710@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 01 18:25:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YzSWV-0002oc-9L for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2015 18:25:11 +0200 Original-Received: from localhost ([::1]:53399 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzSWU-00077S-P0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2015 12:25:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzSWQ-00074a-OB for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 12:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzSWN-00042G-AK for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 12:25:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzSWN-000427-85 for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 12:25:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YzSWM-0003hE-UG for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 12:25:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jun 2015 16:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20710 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20710-submit@debbugs.gnu.org id=B20710.143317588014174 (code B ref 20710); Mon, 01 Jun 2015 16:25:02 +0000 Original-Received: (at 20710) by debbugs.gnu.org; 1 Jun 2015 16:24:40 +0000 Original-Received: from localhost ([127.0.0.1]:36340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzSW0-0003gX-A0 for submit@debbugs.gnu.org; Mon, 01 Jun 2015 12:24:40 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:40454) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzSVx-0003gH-UX for 20710@debbugs.gnu.org; Mon, 01 Jun 2015 12:24:38 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NP900A00WYUZO00@mtaout24.012.net.il> for 20710@debbugs.gnu.org; Mon, 01 Jun 2015 19:16:07 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NP900AEKX6VW010@mtaout24.012.net.il>; Mon, 01 Jun 2015 19:16:07 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103443 Archived-At: > From: Glenn Morris > Date: Mon, 01 Jun 2015 12:10:03 -0400 > > git ls-files -i --exclude-standard > admin/unidata/copyright.html > etc/ps-prin0.ps > etc/ps-prin1.ps > leim/MISC-DIC/CTLau-b5.html > leim/MISC-DIC/CTLau.html > nextstep/Cocoa/Emacs.base/Contents/Resources/Credits.html > test/indent/ps-mode.ps > test/indent/sgml-mode-attribute.html > > Due to the presence of > > *.html > *.ps > > in .gitignore. > > With bzr, those forms were the correct: > > doc/**/*.ps > doc/**/*.html > > A comment at the start of .gitignore says it avoids '**' for the sake of > old git versions. > > Explicitly listing all current and future versioned html and ps files > for the sake of old git versions seems like a PITA. There aren't too many subdirectories in doc/, so perhaps something like doc/emacs/*.html doc/lispintro/*.html doc/lispref/*.html doc/man/*.html doc/mis/*.html and similarly with *.ps will do? OTOH, is "**" supported by Git 1.7.1?