author | Junio C Hamano <gitster@pobox.com> | |
Wed, 16 Feb 2011 22:39:00 +0000 (14:39 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 16 Feb 2011 22:39:00 +0000 (14:39 -0800) | ||
commit | 9d8b831b36ca936f05e381e0f7f7a4b0d76114ee | |
tree | f2bd7913debe8d1690048b5d229e34e66c21b50b | tree | snapshot |
parent | f577b92fe75643228674c0dcb2a4747587cf541d | commit | diff |
grep --no-index: honor pathspecs correctly
Even though fill_directory() takes pathspec, the returned set of paths
is not guaranteed to be free of paths outside the pathspec. Perhaps we
would need to change that, but the current API is that the caller needs
to further filter them.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Even though fill_directory() takes pathspec, the returned set of paths
is not guaranteed to be free of paths outside the pathspec. Perhaps we
would need to change that, but the current API is that the caller needs
to further filter them.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/grep.c | diff | blob | history |