Subject: Re: [RFC PATCH 3/3] grep: add support for grepping in submodules

From: Johannes Sixt <[email-masked]>
Date: Thu, 30 Sep 2010 13:28:56 +0200

Am 9/30/2010 0:59, schrieb Junio C Hamano:
> A few more things to think about.
> 
> 1. What does this mean:
> 
>     $ git grep --recursive -e frotz master next
> 
> It recurses into the submodule commits recorded in 'master' and 'next'
> commits in the superproject, right?

And what does it mean if you add --cached? Does it grep in the index of
the submodules, or does it grep in the rev of the submodule that is
recorded in the index of the supermodule?

-- Hannes