@Nullable
public String getContent() throws VcsException {
if (myFile.isDirectory()) {
return null;
}
<BUG>VirtualFile root = GitUtil.getGitRoot(myFile);
GitBinaryHandler h = new GitBinaryHandler(myProject, root, GitCommand.SHOW);
h.setCharset(myCharset);
h.setNoSSH(true);
h.setSilent(true);
h.addParameters(myRevision.getRev() + ":" + GitUtil.relativePath(root, myFile));
byte[] result = h.run();
return new String(result, h.getCharset());</BUG>
}

@Nullable
public String getContent() throws VcsException {
if (myFile.isDirectory()) {
return null;
}
VirtualFile root = GitUtil.getGitRoot(myFile);
byte[] result = GitFileUtils.getFileContent(myProject, root, myRevision.getRev(), GitUtil.relativePath(root, myFile));
return result == null ? null : new String(result, myCharset);
}
