emacs-devel
[Top][All Lists]
Advanced

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

Re: default value of grep-find-ignored-directories should include .svn


From: Kevin Rodgers
Subject: Re: default value of grep-find-ignored-directories should include .svn
Date: Wed, 19 Jul 2006 10:56:50 -0600
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Kim F. Storm wrote:
David Glasser <address@hidden> 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





reply via email to

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