GNU bug report logs - #20710
gitignore patterns for ps, html etc are too broad

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Mon, 1 Jun 2015 16:11:02 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#20710: closed (gitignore patterns for ps, html etc are too broad)
Date: Tue, 02 Jun 2015 15:30:10 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 02 Jun 2015 18:29:06 +0300
with message-id <83d21eruwt.fsf <at> gnu.org>
and subject line Re: bug#20710: gitignore patterns for ps, html etc are too broad
has caused the debbugs.gnu.org bug report #20710,
regarding gitignore patterns for ps, html etc are too broad
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
20710: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20710
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: gitignore patterns for ps, html etc are too broad
Date: Mon, 01 Jun 2015 12:10:03 -0400
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.


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: rgm <at> gnu.org, 20710-done <at> debbugs.gnu.org
Subject: Re: bug#20710: gitignore patterns for ps, html etc are too broad
Date: Tue, 02 Jun 2015 18:29:06 +0300
> From: Andreas Schwab <schwab <at> linux-m68k.org>
> Cc: Glenn Morris <rgm <at> gnu.org>,  20710 <at> debbugs.gnu.org
> Date: Tue, 02 Jun 2015 00:55:24 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> 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.


This bug report was last modified 10 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.