summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-03-07 12:12:59 -0800
committerJunio C Hamano <gitster@pobox.com>2012-03-07 12:12:59 -0800
commit1e4d0875acbce3c881bc1de66c8900cdc240ebe8 (patch)
tree1f8ebc2181351b54d600b16a1ec1434e51049352 /revision.c
parent713194ce54ea67d3fc666ef81aaece16d0e44928 (diff)
parentf1589d100796c58615033dde10c1c6446b814357 (diff)
downloadgit-1e4d0875acbce3c881bc1de66c8900cdc240ebe8.tar.gz
Merge branch 'jc/pickaxe-ignore-case'
By Junio C Hamano (2) and Ramsay Jones (1) * jc/pickaxe-ignore-case: ctype.c: Fix a sparse warning pickaxe: allow -i to search in patch case-insensitively grep: use static trans-case table
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.c b/revision.c
index 819ff012ff..b3554ed11b 100644
--- a/revision.c
+++ b/revision.c
@@ -1582,6 +1582,7 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg
revs->grep_filter.regflags |= REG_EXTENDED;
} else if (!strcmp(arg, "--regexp-ignore-case") || !strcmp(arg, "-i")) {
revs->grep_filter.regflags |= REG_ICASE;
+ DIFF_OPT_SET(&revs->diffopt, PICKAXE_IGNORE_CASE);
} else if (!strcmp(arg, "--fixed-strings") || !strcmp(arg, "-F")) {
revs->grep_filter.fixed = 1;
} else if (!strcmp(arg, "--all-match")) {