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


Message #6 received at 20710 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20710 <at> debbugs.gnu.org
Subject: Re: bug#20710: gitignore patterns for ps, html etc are too broad
Date: Mon, 01 Jun 2015 19:24:18 +0300
> From: Glenn Morris <rgm <at> gnu.org>
> 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?




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.