mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-56814 git: fix encoding issues in annotations
* We use same encoding to parse file content and git meta information.
After a7c864a we no longer use file content, so this hack is no longer required.
* This fixes parse error on files in UTF-16
* This fixes parsing of non-ascii names
This commit is contained in:
@@ -155,7 +155,6 @@ public class GitAnnotationProvider implements AnnotationProviderEx {
|
||||
VirtualFile root = GitUtil.getGitRoot(repositoryFilePath);
|
||||
GitSimpleHandler h = new GitSimpleHandler(myProject, root, GitCommand.BLAME);
|
||||
h.setStdoutSuppressed(true);
|
||||
h.setCharset(file.getCharset());
|
||||
h.addParameters("--porcelain", "-l", "-t", "-w");
|
||||
if (revision == null) {
|
||||
h.addParameters("HEAD");
|
||||
|
||||
Reference in New Issue
Block a user