On Monday 17 September 2007, Bruno Haible wrote:
> What do you use for recursive grepping? Is "grep -r --exclude=dir=.git"
> working fine?
there is no way to filter directories with grep directly ... you have to chain
find|xargs-grep sort of junk
since git only takes up the toplevel with .git it
> What do you use for recursive grepping? Is "grep -r --exclude=dir=.git"
> working fine?
'git grep' works nicely - it recursively greps all files tracked
under version control, while omitting generated files.
--
Eric Blake
--
View this message in context:
http://w
What do you use for recursive grepping? Is "grep -r --exclude=dir=.git"
working fine?
Bruno