According to documentation, git update-index --refresh
does this:
Looks at the current index and checks to see if merges or updates are needed by checking stat() information.
What does it mean that git "checks to see if merges or updates are needed"? Does git keep an arbitrary flag somewhere saying "mergeme" after certain operations?
Also, I think I understand stat
( what is "stat information" in a git index? ), but I don't see how knowing things like the UID help git at all know if a merge needs to happen.