From: Johannes Sixt Date: Thu, 30 Sep 2010 11:28:56 GMT Subject: Re: [RFC PATCH 3/3] grep: add support for grepping in submodules Message-ID: <4CA47478.6030207@viscovery.net> In-Reply-To: <7v4od8ma0j.fsf@alter.siamese.dyndns.org> 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