Added support for encodings for Git.

Fixes #21146

**Bug**
Git always uses utf8 encoding for retrieving file contents.

**Fix**
Pass the 'files.encoding' configuration property to the git-extension and use this encoding to decode git output.
This commit is contained in:
Vakhurin Sergey
2017-04-17 23:00:08 +03:00
parent 7300527f44
commit 74349805ab
5 changed files with 24 additions and 9 deletions

View File

@@ -623,6 +623,7 @@
}
},
"dependencies": {
"iconv-lite": "0.4.15",
"vscode-extension-telemetry": "^0.0.6",
"vscode-nls": "^2.0.1"
},