diff options
Diffstat (limited to 'routers/web')
-rw-r--r-- | routers/web/repo/commit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/commit.go b/routers/web/repo/commit.go index 48386f7935..993fc1c335 100644 --- a/routers/web/repo/commit.go +++ b/routers/web/repo/commit.go @@ -104,7 +104,7 @@ func Graph(ctx *context.Context) { copy(realBranches, branches) for i, branch := range realBranches { if strings.HasPrefix(branch, "--") { - realBranches[i] = "refs/heads/" + branch + realBranches[i] = git.BranchPrefix + branch } } ctx.Data["SelectedBranches"] = realBranches |