Merge branch 'rs/pickaxe-i'
commit8132f2c44dc903e704146361138ccd7c672ec9e2
authorJunio C Hamano <gitster@pobox.com>
Wed, 2 Apr 2014 21:18:19 +0000 (2 14:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Apr 2014 21:18:20 +0000 (2 14:18 -0700)
tree91e569345923ca132f9846565444ba3f1ba1afee
parent6b869a1eeb4b5b198e7bd3e061d5b33ef84da115
parente4aab50475c1d384e016c6ac6548635f1ddcd3fe
Merge branch 'rs/pickaxe-i'

Allow the options -i/--regexp-ignore-case, --pickaxe-regex, and -S
to be used together and work as expected to perform a pickaxe
search using case-insensitive regular expression matching.

* rs/pickaxe-i:
  pickaxe: simplify kwset loop in contains()
  pickaxe: call strlen only when necessary in diffcore_pickaxe_count()
  pickaxe: move pickaxe() after pickaxe_match()
  pickaxe: merge diffcore_pickaxe_grep() and diffcore_pickaxe_count() into diffcore_pickaxe()
  pickaxe: honor -i when used with -S and --pickaxe-regex
  t4209: use helper functions to test --author
  t4209: use helper functions to test --grep
  t4209: factor out helper function test_log_icase()
  t4209: factor out helper function test_log()
  t4209: set up expectations up front