Re: git-grep in sparse checkout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Derrick Stolee <stolee@xxxxxxxxx> 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.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux