Open bpasero opened 10 months ago
The issue can be reproduced when opening a pull request (ex: https://github.com/microsoft/vscode/tree/ben/smoke-playwright) that contains files that are added. The GHPRI extension would call show()
in the git extension for each file from the PR but the git extension throws as the files do not exist in the parent commit.
@lszomoru the problem in GHPR is exactly as you describe. I've added an "is add" check there to prevent this from happening. Feel free to close if you feel this is enough of a fix!
@alexr00, thank you! Will keep it open as I want to see if there is need to change the behaviour of the git file system provider.
Seeing this in my insiders: