How often does git calculate SHAs?
- From
- Michael Cook <mcook@bbn.com>
- Date
- Jan 30, 2012, 14:25 UTC
- Message-ID
- <4F26A864.1080702@bbn.com>
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