From: Nguyen Thai Ngoc Duy Date: Tue, 01 Mar 2011 08:16:05 GMT Subject: Re: git-grep to operate across who repository and not just CWD? Message-ID: In-Reply-To: <4D6CA8B7.5000608@drmicha.warpmail.net> On Tue, Mar 1, 2011 at 3:05 PM, Michael J Gruber wrote: > I would love "git grep" to be repowise, with the simple "git grep ." to > make it relative to cwd. We've discussed making more commands repowise, > and the consensus (which I've stated above, accepting the majority vote) > was that some should stay, e.g. git-grep. The discussion started with > > > > and the consensus is stated here: > > > > This does not prevent you from submitting a "--full-tree" patch for > git-grep, of course. In fact Junio wrote one: http://mid.gmane.org/7vk4xggv27.fsf@alter.siamese.dyndns.org If I remember correctly, it was dropped because of the interaction with pathspecs (relative to cwd vs to worktree's root). I'd be great if someone can pick it up and finish it. -- Duy