Re: teach git diff -v/--invert-match?
- From
Paolo Bonzini <bonzini@gnu.org>
- Date
- Aug 25, 2008, 09:41 UTC
- Message-ID
- <48B27E51.2020709@gnu.org>
- In-Reply-To
- <20080822193947.GA31322@coredump.intra.peff.net>
> I would have thought "-v" meant "match any changes which do not have > this pattern". But you want "match any changes that have any line which > does not have this pattern."
Yours could be "-L/--without-match" (in grep, -L/--files-without-match only prints the names of files containing no match).
Paolo