add NO_EXTERNAL_GREP build option
commit6be4d4dea0a946218c7646ff4f040cf1ea0e4cd1
authorJeff King <peff@peff.net>
Wed, 12 Mar 2008 21:39:16 +0000 (12 17:39 -0400)
committerJeff King <peff@peff.net>
Thu, 13 Mar 2008 12:19:01 +0000 (13 08:19 -0400)
treed94d2dfc73370635246b11c425a62037f82d380d
parent2ea47154e00a3bb33e4b12bf323956d89c557ed6
add NO_EXTERNAL_GREP build option

Previously, we just chose whether to allow external grep
based on the __unix__ define. However, there are systems
which define this macro but which have an inferior group
(e.g., one that does not support all options used by t7002).
This allows users to accept the potential speed penalty to
get a more consistent grep experience (and to pass the
testsuite).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
builtin-grep.c