diff options
Diffstat (limited to 'routers/repo/commit.go')
-rw-r--r-- | routers/repo/commit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go index 637a50543a..afd6b113c4 100644 --- a/routers/repo/commit.go +++ b/routers/repo/commit.go @@ -120,7 +120,7 @@ func SearchCommits(ctx *context.Context) { keyword := strings.Trim(ctx.Query("q"), " ") if len(keyword) == 0 { - ctx.Redirect(ctx.Repo.RepoLink + "/commits/" + ctx.Repo.BranchName) + ctx.Redirect(ctx.Repo.RepoLink + "/commits/" + ctx.Repo.BranchNameSubURL()) return } all := ctx.QueryBool("all") |