From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: default value of grep-find-ignored-directories should include .svn
Date: Wed, 19 Jul 2006 10:56:50 -0600 [thread overview]
Message-ID: <e9lo9q$3d8$1@sea.gmane.org> (raw)
In-Reply-To: <m3bqrlhmcw.fsf@kfs-l.imdomain.dk>
Kim F. Storm wrote:
> David Glasser <glasser@mit.edu> writes:
>
>> The new grep-find-ignored-directories variable is a good idea. I
>> think its default value should include ".svn" and probably "_darcs"
>> too, as these are commonly used version control systems (Subversion at
>> least is arguably much more popular than Mercurial and Arch, whose
>> directories are currently in the default value).
>
> Ok, I have added them.
>
> However, there is generally no need to exclude directories from the
> find, unless the version control systems actually store copies/backups
> of source files in there, or otherwise use file names which resembles
> source file names that may confuse the search and give false matches.
>
> For CVS, in some cases, the CVS/Base subdir contains copies of modified
> files. So CVS must be excluded from the search.
>
> Does the other VC's do this too in some cases?
>
> Or are there other reasons to exclude them from the search?
Because your find command may not even have a -name clause, or (as
you say above) the -name pattern may match files in the VC directory.
I think that's a good enough reason.
--
Kevin
next prev parent reply other threads:[~2006-07-19 16:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-04 19:22 default value of grep-find-ignored-directories should include .svn David Glasser
2006-07-19 11:20 ` Kim F. Storm
2006-07-19 11:29 ` David Glasser
2006-07-19 16:56 ` Kevin Rodgers [this message]
2006-07-19 17:37 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='e9lo9q$3d8$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.