Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] git-grep: Fix problems with recently added tests

From: Brian Gernhardt <hidden>
Date: 2016-06-15 22:51:20

On May 26, 2011, at 5:50 PM, Michał Kiedrowicz wrote:
test_expect_success 'grep -E -F -G pattern' '
	echo ab:aab >expected &&
-	git grep -E -F -G a\\+b >actual &&
+	git grep -E -F -G "aa*b" ab >actual &&
	test_cmp expected actual
'
Wouldn't this also pass if -E was active instead of -G?  That's why I mentioned using a literal + in the pattern so that what -G and what -E would match would be different.

~~ Brian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help