Merge branch 'jc/grep-pcre-loose-ends' into next
commit2ea9b27c313ee05713268e4b1af925b22486fe68
authorJeff King <peff@peff.net>
Thu, 25 Oct 2012 11:15:20 +0000 (25 07:15 -0400)
committerJeff King <peff@peff.net>
Thu, 25 Oct 2012 11:15:20 +0000 (25 07:15 -0400)
tree8429b77b5076d354bac240ed165d4b27c7f79ff6
parenta322082317355a298535210d5d72dcc592aaa009
parent0657bcbf6f0830bc4ce25d05060706f35f1d4eb7
Merge branch 'jc/grep-pcre-loose-ends' into next

"git log -F -E --grep='<ere>'" failed to use the given <ere>
pattern as extended regular expression, and instead looked for the
string literally.  The early part of this series is a fix for it.

Will merge to 'master' in the second batch after 1.8.0 ships.

* jc/grep-pcre-loose-ends:
  log: honor grep.* configuration
  log --grep: accept --basic-regexp and --perl-regexp
  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