unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Nordlöw <per.nordlow@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Generic Interface to Ignoring Files in VC
Date: Fri, 26 Mar 2010 09:18:29 -0700 (PDT)	[thread overview]
Message-ID: <1b51ad30-ede1-4e96-9b39-446d9f7389da@z35g2000yqd.googlegroups.com> (raw)

Has anybody extended vc to provide a generic interface to ignoring
file(s) either using a specific file or using a glob matcher?

The simplest implementation I can think simply cases on vc-backend()
and vc-state() and then either add it to the .vc-name-ignore file or
ignore it through a shell command. I only know about git and it uses a
file named .gitignore . The only bother I can think of is if several
parental directories contain the .gitignore file. I guess the bottom-
most directory wins in this case right?

If I want to write one in a way compatible with the way vc handles
different backends where would I start?

Thanks in advance,
Per Nordlöw


             reply	other threads:[~2010-03-26 16:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-26 16:18 Nordlöw [this message]
2010-03-26 23:21 ` Generic Interface to Ignoring Files in VC Tim X

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=1b51ad30-ede1-4e96-9b39-446d9f7389da@z35g2000yqd.googlegroups.com \
    --to=per.nordlow@gmail.com \
    --cc=help-gnu-emacs@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.
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).