Re: teach git diff -v/--invert-match?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 25, 2008 at 11:41:37AM +0200, Paolo Bonzini wrote:

> > 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).

Ah, yes, that would be better. I think we decided that Brian's original
problem didn't really work with -S, and I don't actually need this
behavior enough to implement it. But your suggestion is a good one if
somebody cares to do so.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux