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

Open file on GitHub does not include directory path #750

Closed
SheldonZhong opened this issue May 20, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@SheldonZhong
Copy link

commented May 20, 2019

  • GitLens Version: 9.7.4
  • VSCode Version: 1.34.0
  • OS Version: Ubuntu 18.04.2 LTS

Steps to Reproduce:

  1. Open a git-tracked file inside a folder.
  2. Scroll to the top of the file.
  3. Click the top-left most link, which shows the least contributor's name and commit days info.
  4. A panel will be prompt, choose Open File on GitHub, and choose an arbitrary remotes if requested.
  5. Browser goes to link: https://github.com/eamodio/vscode-gitlens/blob/master/openFileInRemote.ts if we open the file src/commands/openFileInRemote.ts in this repo.

The correct link should be https://github.com/eamodio/vscode-gitlens/blob/master/src/commands/openFileInRemote.ts.

If the repo is on GitLab, the bug also exists. However, Open Revision on GitHub/GitLab works correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.