Subject: bug#20710: closed (Re: bug#20710: gitignore patterns for ps, html etc are too broad)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 02 Jun 2015 15:30:11 +0000

Your bug report

#20710: gitignore patterns for ps, html etc are too broad

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
20710: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20710
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#20710: gitignore patterns for ps, html etc are too broad
From: Eli Zaretskii <[email-masked]>
To: Andreas Schwab <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Tue, 02 Jun 2015 18:29:06 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Andreas Schwab <[email-masked]>
> Cc: Glenn Morris <[email-masked]>,  [email-masked]
> Date: Tue, 02 Jun 2015 00:55:24 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > 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
> 
> doc/*/*.html should work too.

Thanks, I pushed that.

Subject: gitignore patterns for ps, html etc are too broad
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Mon, 01 Jun 2015 12:10:03 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Package: emacs
Severity: minor

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.