Re: What's cooking in git.git (Nov 2008, #06; Wed, 26)
- From
Jeff King <peff@peff.net>
- Date
- Dec 12, 2008, 03:36 UTC
- Message-ID
- <20081212033659.GB29663@coredump.intra.peff.net>
- In-Reply-To
- <7vmyf29jd6.fsf@gitster.siamese.dyndns.org>
On Thu, Dec 11, 2008 at 07:12:53PM -0800, Junio C Hamano wrote:
> Sure, but as "sparse" does not (again, "it should not, at least to me") > change the fact that git is about tracking the history of whole tree, not > just a single file, nor just a subset of files, none of these operations > should be affected about what the checkout area is.
I agree with Junio here. If you want "git grep foo HEAD^" to ignore certain files, then sparse _checkout_ is not the right feature. In that case you want a sparse _repo_, which is not something I think anybody is seriously working on.
-Peff