unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20710: gitignore patterns for ps, html etc are too broad
@ 2015-06-01 16:10 Glenn Morris
  2015-06-01 16:24 ` Eli Zaretskii
  2015-06-01 22:57 ` Andreas Schwab
  0 siblings, 2 replies; 5+ messages in thread
From: Glenn Morris @ 2015-06-01 16:10 UTC (permalink / raw)
  To: 20710

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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#20710: gitignore patterns for ps, html etc are too broad
  2015-06-01 16:10 bug#20710: gitignore patterns for ps, html etc are too broad Glenn Morris
@ 2015-06-01 16:24 ` Eli Zaretskii
  2015-06-01 22:55   ` Andreas Schwab
  2015-06-01 22:57 ` Andreas Schwab
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2015-06-01 16:24 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 20710

> 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?





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#20710: gitignore patterns for ps, html etc are too broad
  2015-06-01 16:24 ` Eli Zaretskii
@ 2015-06-01 22:55   ` Andreas Schwab
  2015-06-02 15:29     ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2015-06-01 22:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 20710

Eli Zaretskii <eliz@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.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#20710: gitignore patterns for ps, html etc are too broad
  2015-06-01 16:10 bug#20710: gitignore patterns for ps, html etc are too broad Glenn Morris
  2015-06-01 16:24 ` Eli Zaretskii
@ 2015-06-01 22:57 ` Andreas Schwab
  1 sibling, 0 replies; 5+ messages in thread
From: Andreas Schwab @ 2015-06-01 22:57 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 20710

Glenn Morris <rgm@gnu.org> writes:

> Due to the presence of
>
> *.html
> *.ps
>
> in .gitignore.

The pattern could be moved to doc/.gitignore.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#20710: gitignore patterns for ps, html etc are too broad
  2015-06-01 22:55   ` Andreas Schwab
@ 2015-06-02 15:29     ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2015-06-02 15:29 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 20710-done

> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Glenn Morris <rgm@gnu.org>,  20710@debbugs.gnu.org
> Date: Tue, 02 Jun 2015 00:55:24 +0200
> 
> Eli Zaretskii <eliz@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-02 15:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-01 16:10 bug#20710: gitignore patterns for ps, html etc are too broad Glenn Morris
2015-06-01 16:24 ` Eli Zaretskii
2015-06-01 22:55   ` Andreas Schwab
2015-06-02 15:29     ` Eli Zaretskii
2015-06-01 22:57 ` Andreas Schwab

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).