summaryrefslogtreecommitdiff
path: root/builtin/checkout-index.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-10-03 15:01:34 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-10-09 23:21:30 -0700
commit727b6fc3edacebcde0a3dc849af95bd7f5a4d4a1 (patch)
tree52111ac70155f97c7ee8bb5723867355b928a501 /builtin/checkout-index.c
parentlog --grep: use the same helper to set -E/-F options as "git grep" (diff)
downloadtgif-727b6fc3edacebcde0a3dc849af95bd7f5a4d4a1.tar.xz
log --grep: accept --basic-regexp and --perl-regexp
When we added the "--perl-regexp" option (or "-P") to "git grep", we should have done the same for the commands in the "git log" family, but somehow we forgot to do so. This corrects it, but we will reserve the short-and-sweet "-P" option for something else for now. Also introduce the "--basic-regexp" option for completeness, so that the "last one wins" principle can be used to defeat an earlier -E option, e.g. "git log -E --basic-regexp --grep='<bre>'". Note that it cannot have the short "-G" option as the option is to grep in the patch text in the context of "log" family. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/checkout-index.c')
0 files changed, 0 insertions, 0 deletions