stable
Clone or download
Read-only
When a file has a windows-1250 encoding, its content should be displayed in the git interface, instead of blank lines. This includes: * blob view * inline diff view * side-by-side diff view * blame view * pull request diff * readme interpretation Note: not sure how to handle other charsets like Shift JIS :/ Closes request #39699: Support for windows-1250 encoding in git view Change-Id: I167410ac723874019d99a2c9469f7b507d1b248e
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/GitPHP/controller/Controller.php | +4 | −4 | Go to diff View file |
M | plugins/git/include/GitPHP/controller/Controller_Blame.php | +2 | −2 | Go to diff View file |
M | plugins/git/include/GitPHP/controller/Controller_Blob.php | +2 | −2 | Go to diff View file |
M | plugins/git/include/GitPHP/controller/Controller_Blobdiff.php | +1 | −1 | Go to diff View file |
M | plugins/git/include/GitPHP/controller/Controller_Commitdiff.php | +3 | −1 | Go to diff View file |
M | plugins/git/include/GitPHP/controller/Controller_Tree.php | +2 | −2 | Go to diff View file |
M | plugins/git/include/GitPHP/git/Blob.php | +6 | −3 | Go to diff View file |
A | plugins/git/include/GitPHP/git/BlobDataReader.php | +51 | −0 | Go to diff View file |
M | plugins/git/include/GitPHP/git/Commit.php | +6 | −3 | Go to diff View file |
M | plugins/git/include/GitPHP/git/FileDiff.php | +14 | −9 | Go to diff View file |
M | plugins/git/include/GitPHP/git/Project.php | +8 | −4 | Go to diff View file |
M | plugins/git/include/GitPHP/git/ProjectProvider.php | +1 | −1 | Go to diff View file |
M | plugins/git/include/GitPHP/git/TreeDiff.php | +8 | −3 | Go to diff View file |
M | plugins/git/templates/gitphp/tuleap/file-diff-side-by-side.tpl | +2 | −2 | Go to diff View file |
M | plugins/git/tests/unit/Git/REST/v1/GitTreeRepresentationFactoryTest.php | +3 | −2 | Go to diff View file |
A | plugins/git/tests/unit/GitPHP/BlobDataReaderTest.php | +79 | −0 | Go to diff View file |
M | plugins/git/tests/unit/GitPHP/CommitTest.php | +1 | −1 | Go to diff View file |
M | plugins/git/tests/unit/GitPHP/TagTest.php | +2 | −2 | Go to diff View file |