grep: use match_pathspec_depth() for cache/worktree grepping
commit2ed2437a143391c9e882318874905c964f313977
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 15 Dec 2010 15:02:52 +0000 (15 22:02 +0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Feb 2011 22:08:30 +0000 (3 14:08 -0800)
tree43b8b563d46665573560a071a6ee8f7557a33525
parentf34bbc15ce0749a3e9f749f0fef6c486e1482719
grep: use match_pathspec_depth() for cache/worktree grepping

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