Code

grep: do not do external grep on skip-worktree entries
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 30 Dec 2009 14:11:44 +0000 (21:11 +0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 31 Dec 2009 07:10:53 +0000 (23:10 -0800)
commita67e28116287ea84b162b22a5b69ec02ebd34023
treed6f70a63ce235b46a8b0ce497d7e731c8ec8243e
parent7fce6e3c9a3cf652099ee5f0e52b59c407692044
grep: do not do external grep on skip-worktree entries

Skip-worktree entries are not on disk. We cannot use external grep in such
cases.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-grep.c