How does git detect a file modification so fast?
Does it hash every file in the repo and compare SHA1s? This would take a lot of time, wouldn't it?
Or does it compare atime, ctime or mtime?
How does git detect a file modification so fast?
Does it hash every file in the repo and compare SHA1s? This would take a lot of time, wouldn't it?
Or does it compare atime, ctime or mtime?