Previously, errors from askpass and credential storage were being ignored, causing git clone/fetch to later error with hard-to-read errors.
Now the error indicates the credential refresh as the problem, and either does not try to sync (if no creds) or tries to use previous creds (if they were fetched at some point).
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/kubernetes/git-sync/blob/release-3.x/OWNERS)~~ [thockin]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
Previously, errors from askpass and credential storage were being ignored, causing git clone/fetch to later error with hard-to-read errors.
Now the error indicates the credential refresh as the problem, and either does not try to sync (if no creds) or tries to use previous creds (if they were fetched at some point).
Replaces #775