|
|
@ -278,6 +278,7 @@ func Diff(ctx *context.Context) { |
|
|
|
ctx.ServerError("Repo.GitRepo.GetCommit", err) |
|
|
|
ctx.ServerError("Repo.GitRepo.GetCommit", err) |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
defer gitRepo.Close() |
|
|
|
repoPath = ctx.Repo.Repository.WikiPath() |
|
|
|
repoPath = ctx.Repo.Repository.WikiPath() |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
gitRepo = ctx.Repo.GitRepo |
|
|
|
gitRepo = ctx.Repo.GitRepo |
|
|
|