Hi, longphant wrote: > Say you check out a directory of 100 files. You edit 5 of the files, and you > go to commit the directory back. How does git know which of the 100 files > were modified (not all of them were)? The lstat system call. See the git-update-index(1) manual for some hints (since most high-level commands do the equivalent of "git update-index --refresh -q" before working with the work tree). Hope that helps, Jonathan -- 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