From: Nguyen Thai Ngoc Duy Date: Thu, 21 Jul 2011 03:47:58 GMT Subject: Re: [RFC/PATCH] grep --no-index: allow to grep without git exclusions Message-ID: In-Reply-To: <7vzkk86577.fsf@alter.siamese.dyndns.org> On Thu, Jul 21, 2011 at 3:57 AM, Junio C Hamano wrote: >  - It might be useful to be able to "git grep" both tracked and untracked >   (i.e. new files you may want to "git add") paths, but there is no good >   way to do so. Introduce a new option --untracked-too (or more suitable >   name --- I am bad at naming and not married to this one) to allow >   this. This mode always takes "exclude" into account. --ls-files ([c|d|o|i|s|u|k|m])+? This opens door for grepping only untracked files, for instant. -- Duy