Skip to content

Create/Open Pull Request or Merge Request doesn't work as expected #4533

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

Closed
amine2233 opened this issue May 4, 2025 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@amine2233
Copy link

amine2233 commented May 4, 2025

Describe the bug

When I'm on Local branches and try to create or open a pull request or a merge request using the command o or O, I opened the finder instead opening the web browser directly in merge request.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Local branches'.
  2. Select a branch not the main or master.
  3. Use o or O to open or create a merge request.
  4. Click on Default branch if you use O option
  5. See error (The Finder is opened on the root folder of the project)
    Expected behavior
    Open the we browser to see or to create a merge request.

Screenshots

Image

Version info:
commit=, build date=, build source=Homebrew, version=0.50.0, os=darwin, arch=arm64, git version=2.39.5 (Apple Git-154)
git version 2.39.5 (Apple Git-154)

Additional context
Add any other context about the problem here.
I use the gitlab.com for the example on screenshot, but it's not working on other private services

Note: please try updating to the latest version or manually building the latest master to see if the issue still occurs.

@amine2233 amine2233 added the bug Something isn't working label May 4, 2025
@stefanhaller
Copy link
Collaborator

It looks like you have redefined the os.openLink config, is that true? It's a bit hard to see because the screenshot you posted is so blurry. Can you post a sharper screenshot of just the Command Log after trying to open the pull request? (Doesn't have to be a video.)

@amine2233
Copy link
Author

Github PR, failed when I tried to upload a big video,

yes the os.openLink was redefined, and when I commented it, the issue was resolved.

Thanks for your help, I use this feature every day and it's one of many arguments for me to use lazygit

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

2 participants