On 10/2/2019 2:18 AM, Junio C Hamano wrote:
> Derrick Stolee <sto...@gmail.com> writes:
> 
>> Is that the expected behavior? In a sparse-checkout, wouldn't you _want_
>> Git to report things outside the cone?
> 
> That should be optional, I would think.  When you declare "by
> default, this the subset of the project I am interested in", we
> should honor it, I would think.
> 
>> At minimum, I would expect a new option to have "git grep" go back to
>> the old behavior, so users who really want a tree-wide search can have
>> one.
> 
> Yeah, a bugfix to honor SKIP_WORKTREE bit, followed by a new feature
> to ignore it, would be pretty sensible way to go.

Thanks for everyone's responses here. I am satisfied with this direction.

-Stolee

Reply via email to