reuse old commits if they exist
checks for repo processing