bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eli Zaretskii
Subject: bug#20710: gitignore patterns for ps, html etc are too broad
Date: Mon, 01 Jun 2015 19:24:18 +0300

> From: Glenn Morris <rgm@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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]