[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion .svn annoyance

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2004-09-04 11:35:14 CEST

On Fri, Sep 03, 2004 at 10:42:16AM -0400, Chip Turner wrote:
>
> Whenever I grep through my working copy for something, say, for a
> function name, I constantly have to do add a 'grep -v svn' to the
> pipeline. For instance:
>
> grep -r some_function_name /path/to/checkout
>
> will get numerous hits inside the .svn directory's old copy of the
> file.

I have aliases which use the --include argument to grep to avoid the
pipe, e.g.

alias rgrepc='grep --include \*.[ch] -r --'

this doesn't look inside the text-base files.

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 4 11:35:53 2004

This is an archived mail posted to the Subversion Users mailing list.