On Sun, May 6, 2012 at 12:39 PM, Matthieu Moy <Matthieu.Moy@xxxxxxxxxxxxxxx> wrote: > Jakub Narebski <jnareb@xxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html