Commit Briefs
Remove redundant error check after got_object_id_by_path().
An error code is always returned when the oid is NULL.
Remove unnecessary pthread_yield(3).
In the two cases a context switch isn't necessary as the thread isn't blocked and doesn't need to wait for its sibling.
Sleep for one nanosecond after syncing the file index to disk
Ensures that files modified after got exits have a different timestamp from the one which was recorded in the file index. Previously, 'got status' did not always detect such files as modified. Problem reported by Steven McDonald.