elton sky <eltonsky9404@xxxxxxxxx> writes: > Got a few questions: > > 1. index is used for building next commit, so it should only include > files created/modified/deleted. But I see it has all entries for > current working dir. why? Because git is snapshot based, not changeset based. Ecah commit stores state of repository in the form of 'tree' object, which is build out of index. Also index stores extra information, like mtime, about all files to make operations faster (skip unchanged files). The index was originally at the very beginning named dircache. [...] -- Jakub Narebski -- 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