Re: git and grep

2007-09-17 Thread Mike Frysinger
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

Re: git and grep

2007-09-17 Thread Eric Blake-1
> 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

git and grep

2007-09-17 Thread Bruno Haible
What do you use for recursive grepping? Is "grep -r --exclude=dir=.git" working fine? Bruno