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

Checking upstream does not respect -b #5

Closed
rhysd opened this issue Dec 17, 2018 · 0 comments
Closed

Checking upstream does not respect -b #5

rhysd opened this issue Dec 17, 2018 · 0 comments
Assignees
Labels

Comments

@rhysd
Copy link
Owner

rhysd commented Dec 17, 2018

When -b is set, upstream should be detected based on the branch. But current branch is used always.

Repro:

$ git checkout -b tmp
$ git brws -b master

Expected:
It can open a page for master branch

Actual:
It causes following error since tmp does not set upstream remote branch.

Git command exited with non-zero status: fatal: no upstream configured for branch 'tmp'
@rhysd rhysd added the bug label Dec 17, 2018
@rhysd rhysd self-assigned this Dec 17, 2018
@rhysd rhysd pinned this issue Dec 17, 2018
@rhysd rhysd unpinned this issue Dec 17, 2018
@rhysd rhysd closed this as completed in c6693d5 Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant