-
由 Junio C Hamano 提交于
Switching between -E/-G/-P/-F correctly needs a lot more than just flipping opt->regflags bit these days, and we have a nice helper function buried in builtin/grep.c for the sole use of "git grep". Extract it so that "log --grep" family can also use it. Signed-off-by: NJunio C Hamano <gitster@pobox.com>
c5c31d33