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

feature: better error message when branch does not exist #276

Closed
1 task done
smjonas opened this issue Jan 2, 2023 · 1 comment · Fixed by #281
Closed
1 task done

feature: better error message when branch does not exist #276

smjonas opened this issue Jan 2, 2023 · 1 comment · Fixed by #281
Labels
enhancement New feature or request

Comments

@smjonas
Copy link
Contributor

smjonas commented Jan 2, 2023

Did you check the docs?

  • I have read all the lazy docs

Is your feature request related to a problem? Please describe.

I just saw this error message for one of my plugins after running :Lazy check and had to look in the code to see what it means:

lazy_issue

Describe the solution you'd like

A better error message, e.g. branch "preview" does not exist

Describe alternatives you've considered

None

Additional context

For some reason, when running :Lazy update and the branch does not exist, the default main branch is selected. That seems like a minor inconsistency between the behaviors of check and update to me.

lazy_issue2

@smjonas smjonas added the enhancement New feature or request label Jan 2, 2023
@folke folke closed this as completed in 277a2ab Jan 2, 2023
@smjonas
Copy link
Contributor Author

smjonas commented Jan 2, 2023

Thank you!

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

Successfully merging a pull request may close this issue.

1 participant