Re: [PATCH] revision: allow selection of commits that do not match a pattern

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

 



On Sat, Jul 07, 2007 at 05:27:23PM +0100, Johannes Schindelin wrote:
> I suspect that with this patch,
> 
> 	git rev-list --not --grep bugfix HEAD
> 
> does not work as expected. Why?

Well... I guess that depends on what you expect...

> Why not make "git rev-list --grep '!bugfix' HEAD" work?
> 
> Yes, you would have to have a special exception that the prefix "!!" 
> actually matches an exclamation mark, but I'd be willing to live with 
> that.

Hmm... what if you want to (not) match anything starting with
one or more '!' ?
How about I add a '--invert-match' option that would
apply to all following match options?
Or we could escape the '!' with backslash.

skimo
-
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