remove package code.gitea.io/gitea/modules/git import out of models (#11025)

此提交包含在:
6543
2020-04-10 14:26:37 +03:00
提交者 GitHub
父節點 0a2cba972a
當前提交 bc362ea3c6
共有 6 個檔案被更改,包括 206 行新增205 行删除
+1
查看文件
@@ -433,6 +433,7 @@ func PrepareViewPullInfo(ctx *context.Context, issue *models.Issue) *git.Compare
return nil
}
ctx.Data["Divergence"] = divergence
ctx.Data["GetCommitMessages"] = pull_service.GetCommitMessages(pull)
}
sha, err := baseGitRepo.GetRefCommitID(pull.GetGitRefName())