From: Nguyen Thai Ngoc Duy Date: Fri, 12 Dec 2008 16:08:39 GMT Subject: Re: What's cooking in git.git (Nov 2008, #06; Wed, 26) Message-ID: In-Reply-To: On 12/12/08, Daniel Barkalow wrote: > > Well, if you set core.defaultsparse properly, those files should > > appear/disappear as you wish (and as of now if you define your > > checkout area with "git checkout --{include-,exclude-,}sparse" then > > core.defaultsparse should be updated accordingly). I don't say > > core.defaultsparse is perfect. > > > Right, so in order to get reasonable behavior, the user must use > --{include,exclude}-sparse. I think that this should be the *default* > behavior, and probably the *only porcelain-supported* behavior, because > otherwise it's confusing. It's pretty hard (or intrusive) to enforce such behaviour. How about showing files that does not match core.defaultsparse in "git status" along with instructions how to add them to core.defaultsparse? That way people can keep it consistent and less modification to current code. -- Duy