Re: git-grep while excluding files in a blacklist
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Jan 17, 2012, 09:19 UTC
- Message-ID
- <CACsJy8A8eWt_wcxWrdjgmkHZpS1bBet7DTT-bRf9zrxfszUtjw@mail.gmail.com>
- In-Reply-To
- <CA++fsGHGrNQzR-schP0yTXnD4jkYJjHHVk6QoJvfxPX9mguJPQ@mail.gmail.com>
On Tue, Jan 17, 2012 at 4:14 PM, Dov Grobgeld <dov.grobgeld@gmail.com> wrote:
> Does git-grep allow searching for a pattern in all files *except* > files matching a pattern. E.g. in our project we have multiple DLL's > in git, but when searching I would like to exclude these for speed. Is > that possible with git-grep?
Not from command line, no. You can put "*.dll" to .gitignore file then "git grep --exclude-standard".
-- Duy