mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 10:07:22 +00:00
Simplify context ref name (#33267)
This commit is contained in:
@ -390,12 +390,6 @@ func Diff(ctx *context.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
ctx.Data["BranchName"], err = commit.GetBranchName()
|
||||
if err != nil {
|
||||
ctx.ServerError("commit.GetBranchName", err)
|
||||
return
|
||||
}
|
||||
|
||||
ctx.HTML(http.StatusOK, tplCommitPage)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user