unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 20710@debbugs.gnu.org
Subject: bug#20710: gitignore patterns for ps, html etc are too broad
Date: Mon, 01 Jun 2015 19:24:18 +0300	[thread overview]
Message-ID: <83y4k3s8gd.fsf@gnu.org> (raw)
In-Reply-To: <ct382bcsv8.fsf@fencepost.gnu.org>

> 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	other threads:[~2015-06-01 16:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2015-06-01 22:55   ` Andreas Schwab
2015-06-02 15:29     ` Eli Zaretskii
2015-06-01 22:57 ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y4k3s8gd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20710@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).