git2consul icon indicating copy to clipboard operation
git2consul copied to clipboard

git2cosul wipes local cache on ssh connection failure

Open Yekut opened this issue 9 years ago • 0 comments

The current behavior of git2consul when ssh fails is to wipe the local cache and reclone (root cause seems to be the same as #53). This behavior is a bit unexpected (the user pretty much has no control over when this would happen), could be time consuming, and may cause trouble if the correct state of the repo rely on some preprocessing done after the initial checkout and the launching of git2consul. Would it make sense to improve error handling during a pull, and ignore ssh connection errors?

Yekut avatar Feb 10 '17 19:02 Yekut