Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git2cosul wipes local cache on ssh connection failure #138

Open
Yekut opened this issue Feb 10, 2017 · 0 comments
Open

git2cosul wipes local cache on ssh connection failure #138

Yekut opened this issue Feb 10, 2017 · 0 comments

Comments

@Yekut
Copy link
Contributor

Yekut commented Feb 10, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant