From af0b7b7871fd41d7ce354df10e0211108467d55a Mon Sep 17 00:00:00 2001 From: zhaopeng <imzhpe@qq.com> Date: Wed, 16 Jan 2013 09:09:09 -0500 Subject: [PATCH] 添加中文语言 --- src/com/gitblit/utils/IssueUtils.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/com/gitblit/utils/IssueUtils.java b/src/com/gitblit/utils/IssueUtils.java index 1b90c7d..dd09235 100644 --- a/src/com/gitblit/utils/IssueUtils.java +++ b/src/com/gitblit/utils/IssueUtils.java @@ -380,7 +380,7 @@ String issuePath = getIssuePath(issueId); RevTree tree = JGitUtils.getCommit(repository, GB_ISSUES).getTree(); byte[] content = JGitUtils - .getByteContent(repository, tree, issuePath + "/" + attachment.id); + .getByteContent(repository, tree, issuePath + "/" + attachment.id, false); attachment.content = content; attachment.size = content.length; return attachment; -- Gitblit v1.9.1