microsoft / microsoft/vscode-remote-release
Git - Copied path of staged file includes backslashes
Open
Nobody has claimed this yet.
bug
git
help wanted
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Type: Bug
Steps to Reproduce:
- Open VSCode on Windows, and connect to a Remote host via SSH
- Use "Open Folder" for a folder outside of the user's home directory, containing a Git repository
- Make some changes to a file and run "git-add"
- Once the file is staged, open it in the editor from the Source Control plugin of VSCode
- Hover over the editor tab for this file, or do a "Copy Path"
Actual results: The path of the staged file includes backslashes, e.g., \path\to\file
Expected results: The path of the staged file includes "normal" slashed, e.g., /path/to/file
Extension version: 0.106.4
VS Code version: Code 1.82.1 (6509174151d557a81c9d0b5f8a5a1e9274db5585, 2023-09-08T08:45:05.575Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 4.18.0-477.15.1.el8_8.x86_64
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.