grep: remove grep_opt argument from match_expr_eval()
commitd7eb527d731e2a71eaa4597417d879a15588d9ee
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Sat, 7 Mar 2009 12:28:40 +0000 (7 13:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 7 Mar 2009 19:34:56 +0000 (7 11:34 -0800)
treefd5eba8c7dab01a9d9209bbc6c4e99d048a51818
parent252d560d215581637fcddd7a0a18f89204ecc8d1
grep: remove grep_opt argument from match_expr_eval()

The only use of the struct grep_opt argument of match_expr_eval()
is to pass the option word_regexp to match_one_pattern().  By adding
a pattern flag for it we can reduce the number of function arguments
of these two functions, as a cleanup and preparation for adding more
in the next patch.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
grep.c
grep.h