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

Update misleading error and give resolution hints #2738

Merged
merged 2 commits into from
Jun 28, 2021

Conversation

DarwinJS
Copy link
Contributor

Fixes #2598

Previous message sounded like literal branches rather than Gitversion branch "types". Also gave hints on checking local repo meets Gitversion requirements or to use dynamic repositories.

Description

Previous message sounded like literal branches rather than Gitversion branch "types". Also gave hints on checking local repo meets Gitversion requirements or to use dynamic repositories.

Motivation and Context

The existing error message tries to use quotes to indicate these are not actual branch names - but this is easily misleading as the quotes can be taken to mean literalness rather than "Gitversion develop". The problem can also occur when the local repository clone or checkout do not follow the requirements, but the literal branches "develop" and "main" are actually present.

How Has This Been Tested?

It's just a message text change.

Screenshots (if appropriate):

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Previous message sounded like literal branches rather than Gitversion branch "types".  Also gave hints on checking local repo meets Gitversion requirements or to use dynamic repositories.
@asbjornu asbjornu merged commit 03d872f into GitTools:main Jun 28, 2021
@mergify
Copy link
Contributor

mergify bot commented Jun 28, 2021

Thank you @DarwinJS for your contribution!

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