summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-commit.sample
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-10-03 14:47:48 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-10-09 23:21:29 -0700
commitc5c31d3381d11903c01d51aff4437fe9f76d0268 (patch)
tree682b0c58edeca691a127934e7d22063208ab3b10 /templates/hooks--pre-commit.sample
parentgrep: move the configuration parsing logic to grep.[ch] (diff)
downloadtgif-c5c31d3381d11903c01d51aff4437fe9f76d0268.tar.xz
grep: move pattern-type bits support to top-level grep.[ch]
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: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--pre-commit.sample')
0 files changed, 0 insertions, 0 deletions