Re: What's cooking in git.git (Nov 2008, #06; Wed, 26)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 12, 2008, 03:12 UTC
- Message-ID
- <7vmyf29jd6.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.LNX.1.00.0812112045120.19665@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
Show 8 quoted lines
> "git diff" is an ambiguous model for "git grep". It equally describes > the behavior of "git diff" to say that it treats files outside the > checkout area as matching the index or to say that it never lists files > outside the checkout area. On the other hand, there is the question of > whether "git diff branch1 branch2" shows differences that are outside the > checkout area, and whether "git log" shows commits that only change things > outside the checkout area, and "git grep" should match the behavior of > these.
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.