Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/grep.h
diff options
context:
space:
mode:
authorClemens Buchacher <drizzd@aon.at>2009-09-07 12:48:01 +0400
committerJunio C Hamano <gitster@pobox.com>2009-09-08 02:02:31 +0400
commit929e37d3dfef13895ef6e4b54c7d45962b234461 (patch)
tree2ec74d98cb597395ead51cf8222f3d294b3f2184 /grep.h
parente276f018f2c1f0fc962fbe44a36708d1cdebada8 (diff)
grep: fix exit status if external_grep() punts
If external_grep() is called and punts, grep_cache() mistakenly reported a hit, even if there were none. The bug can be triggered by calling "git grep --no-color" from a subdirectory. Signed-off-by: Clemens Buchacher <drizzd@aon.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.h')
0 files changed, 0 insertions, 0 deletions