As Larry Wall said "Tim Toady" (TMTOWTDI ), aka "There's More Than One Way
To Do It". Which ever makes more sense to the programmer / user. I do admit
to often using esoteric methods.


On Thu, Feb 21, 2013 at 1:49 PM, Dale R. Worley <wor...@alum.mit.edu> wrote:

> > From: John McKown <john.archie.mck...@gmail.com>
> >
> > git branch | awk '{print $NF;}' | xargs -l git grep "foo"
>
> Or (which is easier to generalize):
>
> for BRANCH in $( git branch | cut -c 3- ) ; do git grep "foo" $BRANCH ;
> done
>
> Dale
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


-- 
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! <><
John McKown

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to