Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Skip local sync of files in progress #3
If the sync is interrupted (network error, power failure, user pressing Ctrl+C, other reason), a (maybe very big) file might still be inProgress.
When we resume the sync, we currently generate hashes for all files, including those being inProgress. This is unnecessary (they are not replicated to any other repo, anyway) and consumes a lot of time (if the file is big).
We should thus skip files that are inProgress in the local sync.