Tree
- Tree:
6fdc3896d8aecedabb9664b95d43157ec6000d27
- Date:
- Message:
- use sub-second precision when checking for objects/pack/ modification Convert from st.m_time (second-precision time_t) to st.m_tim (struct timespec). To compensate for the potential case where a filesystem provides resolution in seconds only, always read the directory if no pack files are known to exist. Otherwise, there is a race condition when gotd repo_write creates a new pack and a request arrives for repo_read shortly after. Caught by a regression test for gotd on empty repositories. Test failure pointed out by Mikhail. ok op@
Makefile | commits | blame |
fetch_test.c | commits | blame |