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

Running git-town set-parent on perennial or main branch prints unformatted error #3217

Closed
tranhl opened this issue Mar 21, 2024 · 2 comments · Fixed by #3222
Closed

Running git-town set-parent on perennial or main branch prints unformatted error #3217

tranhl opened this issue Mar 21, 2024 · 2 comments · Fixed by #3222

Comments

@tranhl
Copy link

tranhl commented Mar 21, 2024

Description

When running git-town set-parent on a main or perennial branch, the branch name is not substituted in the error message.

Steps to reproduce

  1. Checkout main branch (in my case it is main)
  2. Run git-town set-parent

Expected

Error: the branch main is not a feature branch. Only feature branches can have parent branches

Actual

Error: the branch %q is not a feature branch. Only feature branches can have parent branches

@kevgo
Copy link
Contributor

kevgo commented Mar 22, 2024

Thanks for reporting this bug!

@kevgo
Copy link
Contributor

kevgo commented Mar 23, 2024

A fix for this is shipped in v13. Enjoy!

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

Successfully merging a pull request may close this issue.

2 participants