forked from onivim/oni2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(scm/onivim#2857): SCM diff markers not showing in gutter (onivim#…
…2868) __Issue:__ In upgrading the `git` extension, the diff markers stopped showing up. __Defect:__ Our implementation relied on using a text-content provider to get the 'original' content to diff against. However, the latest git extension uses a different strategy - it supplies a virtual-file-system for the `git://` scheme. We didn't have an implementation for virtual file systems, so we weren't able to get the original content for diffing in this new implementation. __Fix:__ Wire up the virtual file systems, and try that preferentially to the text content providers. In addition, we also were not handling reading `buffer` byte data from the extension host, so this changes converts it to a json string, so that we can pick it up in the extension client. Fixes onivim#2857
- Loading branch information
Showing
18 changed files
with
452 additions
and
161 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
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
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
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
Oops, something went wrong.