vscode-open-in-github
vscode-open-in-github copied to clipboard
Copy/Open does not work when workspace root is not in git root.
Steps to reproduce
- Run vscode
- Click File | Open folder... , pick
/src/ - Close all open tabs
- Run command "Copy GitHub link to clipboard"
Expected result
"https://github.com/ziyasal/vscode-open-in-github" in clipboard
Actual result
"https://github.com/ziyasal/vscode-open-in-github/blob/master/srcundefined" in clipboard
Environment
Tested on Windows 10, vscode 1.4.0, extension version 1.2.2.