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

Pulls URL adding tree/BRANCH #200

Open
CBroz1 opened this issue Dec 8, 2022 · 2 comments
Open

Pulls URL adding tree/BRANCH #200

CBroz1 opened this issue Dec 8, 2022 · 2 comments

Comments

@CBroz1
Copy link

CBroz1 commented Dec 8, 2022

Based on the README I would expect

git open -s pulls -p
> https://github.com/TRACKED_REMOTE_USER/CURRENT_REPO/pulls

but instead I'm seeing

git open -s pulls -p
> https://github.com/TRACKED_REMOTE_USER/CURRENT_REPO/tree/BRANCH/pulls

I installed via npm

npm install --global git-open 
npm view git-open | grep latest
> latest: 3.0.0

Is there some config I need to adjust?

@CBroz1
Copy link
Author

CBroz1 commented Dec 8, 2022

I think this could be fixed by adding an elif to line 182, but someone could probably fine more elegant logic than I

elif [ "$suffix" ]; then
  TRUE

@xuoutput
Copy link

bump

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

No branches or pull requests

2 participants