From: Felipe Contreras Date: Sun, 06 May 2012 20:15:34 GMT Subject: Re: [1.8.0] use 'stage' term consistently Message-ID: In-Reply-To: On Sun, May 6, 2012 at 12:39 PM, Matthieu Moy wrote: > Jakub Narebski writes: > >> Actually Git porcelain does use 'the index' as a cache (computing), >> i.e. as a place to store redundant information (stat data, sha-1 >> for trees with DIRC dircache extension) for faster access. > > This is an implementation optimization, that is not supposed to be > visible for the user. Commands refering to the "cache" are not about > stat data cache (e.g. "git diff --cached" is really about the content, > not the stat cache). Exactly; that's an implementation detail that doesn't affect how the user actually interacts with the staging area. -- Felipe Contreras