Merge branch 'jc/grep-pcre-loose-ends' (early part) into maint
commit4607a8ce68f4e407bcaaf04819713b40dffce385
authorJunio C Hamano <gitster@pobox.com>
Mon, 19 Nov 2012 03:32:11 +0000 (18 19:32 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Nov 2012 03:32:12 +0000 (18 19:32 -0800)
tree5cfdeb3eff6244e2db131d281204ed036e3e3ec2
parent6c95f535e909b91d3c8868f00196c85c61fe8142
parent34a4ae55b260bbd1520d6a7c6718b4de2d5c7632
Merge branch 'jc/grep-pcre-loose-ends' (early part) into maint

"git log -F -E --grep='<ere>'" failed to use the given <ere>
pattern as extended regular expression, and instead looked for the
string literally.

* 'jc/grep-pcre-loose-ends' (early part):
  log --grep: use the same helper to set -E/-F options as "git grep"
  revisions: initialize revs->grep_filter using grep_init()
  grep: move pattern-type bits support to top-level grep.[ch]
  grep: move the configuration parsing logic to grep.[ch]
  builtin/grep.c: make configuration callback more reusable