grep: show --debug output only once
commit208f5aa42615671bae1e55de20a58d9ba046d3e8
authorMichael J Gruber <git@drmicha.warpmail.net>
Fri, 14 Sep 2012 09:46:35 +0000 (14 11:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Sep 2012 17:11:44 +0000 (14 10:11 -0700)
treee60f659648b7bedcfde233819f4867832cf0f77e
parent17bf35a3c7b46df7131681bcc5bee5f12e1caec4
grep: show --debug output only once

When threaded grep is in effect, the patterns are duplicated and
recompiled for each thread. Avoid "--debug" output during the
recompilation so that the output is given once instead of "1+nthreads"
times.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/grep.c