From 5183bf67278ce5a0da9779d74f05169beac219b8 Mon Sep 17 00:00:00 2001 From: Brian Collins Date: Fri, 6 Nov 2009 01:22:35 -0800 Subject: grep: Allow case insensitive search of fixed-strings "git grep" currently an error when you combine the -F and -i flags. This isn't in line with how GNU grep handles it. This patch allows the simultaneous use of those flags. Signed-off-by: Jeff King Signed-off-by: Brian Collins Signed-off-by: Junio C Hamano --- t/t7002-grep.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 't') diff --git a/t/t7002-grep.sh b/t/t7002-grep.sh index ae56a36eac..35a1e7a5d4 100755 --- a/t/t7002-grep.sh +++ b/t/t7002-grep.sh @@ -14,6 +14,7 @@ int main(int argc, const char **argv) { printf("Hello world.\n"); return 0; + /* char ?? */ } EOF @@ -345,4 +346,13 @@ test_expect_success 'grep from a subdirectory to search wider area (2)' ' ) ' +cat >expected <actual && + test_cmp expected actual +' + test_done -- cgit v1.2.3