From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753840Ab2L1QJg (ORCPT ); Fri, 28 Dec 2012 11:09:36 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:39404 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753685Ab2L1QJe (ORCPT ); Fri, 28 Dec 2012 11:09:34 -0500 Date: Fri, 28 Dec 2012 16:09:27 +0000 From: Al Viro To: "Eric W. Biederman" Cc: anish singh , amit mehta , Henrique Rodrigues , kishore kumar , Jonathan Neusch??fer , linux-kernel@vger.kernel.org, Kernelnewbies@kernelnewbies.org Subject: Re: how to look for source code in kernel Message-ID: <20121228160927.GY4939@ZenIV.linux.org.uk> References: <20121227184034.GA2982@debian.debian> <87a9syhbma.fsf@xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87a9syhbma.fsf@xmission.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 27, 2012 at 11:36:13PM -0800, Eric W. Biederman wrote: > But then I am probably peculiar keeping an index of the source code in > my head. When I need to look for something and I don't know where to > find it I do. > > git-ls-files | xargs fgrep 'struct f2fs_inode' What's wrong with git grep?