On Sun, Feb 5, 2012 at 1:05 AM, Joshua Redstone <joshua.redstone@xxxxxx> wrote: > It's also conceivable that, if there were an external interface in git to attach other > systems to efficiently report which files have changed (e.g., via file-system integration), > it's possible that we could omit managing the index in many cases. > I know that would be a big change, but the benefits are intriguing. The "interface to report which files have changed" is exactly "git update-index --[no-]assume-unchanged" is for. Have a look at the man page. Basically you can mark every file "unchanged" in the beginning and git won't bother lstat() them. What files you change, you have to explicitly run "git update-index --no-assume-unchanged" to tell git. Someone on HN suggested making assume-unchanged files read-only to avoid 90% accidentally changing a file without telling git. When assume-unchanged bit is cleared, the file is made read-write again. -- Duy -- 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