fabiospampinato / vscode-git-history

View or diff against previous versions of the current file.
MIT License
11 stars 1 forks source link

An empty file is opened (for all commands) #1

Closed ghost closed 6 years ago

ghost commented 6 years ago

Each of these commands:

open an empty file.

VSCode version: 1.26.1 Extension version: 2.0.1 Git version: 2.17.1.windows.2 SO: Windows 10

fabiospampinato commented 6 years ago

Can you write some reproducible steps?

ghost commented 6 years ago

I have found a solution. The issue is relative to the git show command: it not resolve path if the path contains backslash \ (in Windows style). Replacing backslash \ with slash / resolve the problem.

fabiospampinato commented 6 years ago

Thanks for the PR, I've published v2.0.2.