-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix diff view provider using wrong ctx for cat
Summary: We were using the ctx value for `cat` commands that was used when initializing the repo. However, if you change your cwd, you may get the "wrong" cwd when running cat, which fails. The right side of the comparison just uses the file URI, which is fine. instead, we can just use the initial connection ctx for the repo, which we know will be valid for the repo in vscode. Differential Revision: D55146168 fbshipit-source-id: d9678708540979c4375f5875825f088cac132005
- Loading branch information
1 parent
124e16c
commit a063a87
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters