finsih diff and compare

This commit is contained in:
Unknwon 2015-08-21 00:18:30 +08:00
parent aa65761d81
commit 4275b3720a
7 changed files with 305 additions and 133 deletions

View file

@ -189,7 +189,7 @@ func FileHistory(ctx *middleware.Context) {
}
func Diff(ctx *middleware.Context) {
ctx.Data["IsRepoToolbarCommits"] = true
ctx.Data["PageIsDiff"] = true
userName := ctx.Repo.Owner.Name
repoName := ctx.Repo.Repository.Name