-fixed detecting repository changes