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
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…