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

gitrepo: gitCheckout() return typed errors only #736

Merged
merged 1 commit into from
May 26, 2022

Conversation

darkowlzz
Copy link
Contributor

gitCheckout() should return typed errors only. This helps prevent
error type assertions by the caller to determine how to handle the
error. gitCheckout() also sets the appropriate conditions associated
with the error, if any.

gitCheckout() should return typed errors only. This helps prevent
error type assertions by the caller to determine how to handle the
error. gitCheckout() also sets the appropriate conditions associated
with the error, if any.

Signed-off-by: Sunny <[email protected]>
@darkowlzz darkowlzz added enhancement New feature or request area/git Git related issues and pull requests labels May 25, 2022
@pjbgf pjbgf merged commit e2fe5b8 into main May 26, 2022
@pjbgf pjbgf deleted the gitrepo-checkout-typed-error branch May 26, 2022 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/git Git related issues and pull requests enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants