How often does git calculate SHAs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How often does git actually calculate a file's SHA?

`strace git status` shows that git stat'ed many files, but opened only a few. So I assume git has some heuristicsbased on the stat infofor when to recalculate the SHAs.

Any pointers to how I could have figured this out myself from looking at the source code would be appreciated. Google wasn't helpful.

Michael

--
Michael Cook, Raytheon BBN Technologies, www.bbn.com

--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]