git-grep: fix exit code when we use external grep.
authorJunio C Hamano <junkio@cox.net>
Tue, 4 Jul 2006 09:43:40 +0000 (02:43 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 4 Jul 2006 10:15:46 +0000 (03:15 -0700)
commitfcfe34b5ace3e75d37c462712c7103e39cdb1fbc
treed0c966fe452f50210e8f33d27893e358e65a75d7
parent5390590f6d72ffb80da74ed4cbc8648400ea3481
git-grep: fix exit code when we use external grep.

Upon hit, we should exit with status 0.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-grep.c