[Top][All Lists]

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

Re: address@hidden: grep-tree doesn't shell-quote-argument]

From: Stefan Monnier
Subject: Re: address@hidden: grep-tree doesn't shell-quote-argument]
Date: Fri, 21 Apr 2006 16:40:25 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>>> !                (and grep-find-ignore-CVS-directories "-path '*/CVS' 
>>>> -prune -o ")
>>> I think this should ignore ".svn", "{arch}", and "_darcs" as well.
>> And .hg
>> .. and probably a bunch more.

> The problem with CVS is that while editing a file foo.c, there may be
> related file named CVS/Base/foo.c.  We certainly don't want grep-find to
> look into that file.

That's one problem.  Another is that those admin-dirs can be large (with
many files), so the time to traverse them can be non-negligible.

> Does these other systems have files named like the original files in
> their respective sub-directories?

IIRC, .svn may have similarly named files, as does .hg (.hg's files would
be things like "foo.c.d" and "foo.c.i" rather than "foo.c"), while {arch}
typically contains a large number of small files and may also contain
"foo.c" depending on how you configured tla.


reply via email to

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