grep: fix --fixed-strings combined with expression.
commita3f5d02edb2c1a037ed3ed8d2ebd3f3e5da9d198
authorJunio C Hamano <junkio@cox.net>
Wed, 27 Sep 2006 23:42:53 +0000 (27 16:42 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 27 Sep 2006 23:42:53 +0000 (27 16:42 -0700)
tree00e134633cc8d37e0631bfe5ffe8f863bc0feffc
parentb48fb5b6a950a6757b790e9160967065a3e03978
grep: fix --fixed-strings combined with expression.

"git grep --fixed-strings -e GIT --and -e VERSION .gitignore"
misbehaved because we did not notice this needs to grab lines
that have the given two fixed strings at the same time.

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