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

"mob start" fails when base branch isn't a local branch and branch name contains hyphens #458

Open
hollesse opened this issue Oct 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hollesse
Copy link
Member

In Issue #451 we discovered that if we are on a wip branch which contains hyphens and the base branch is not checked out we get an error. This has to do with the wip branch qualifier feature and it's default seperator which is a hyphen. IMHO this can not be fixed without adjusting the behavior of wip branch qualifier or without changing the default seperator, which both would be breaking changes.

❯ git sw mob/base-branch-with-hyphens
branch 'mob/base-branch-with-hyphens' set up to track 'origin/mob/base-branch-with-hyphens'.
Switched to a new branch 'mob/base-branch-with-hyphens'

❯ mob s
  git fetch origin --prune
ERROR Remote branch origin/base is missing
👉 To start and create the remote branch

  mob start --create

lets discuss what we want to do here @simonharrer @gregorriegler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant