diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-25 12:12:27 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-25 12:12:27 -0400 |
commit | 2fa8d0c8dd43f95e1659a266e84c7713cc8f2fcf (patch) | |
tree | 7fdae59ac504c0aedd0a657ff9a9bd9f30de3b22 /routers/repo/branch.go | |
parent | 23d103c72163cdb4ea65c9756edf22c597060a7e (diff) | |
download | gitea-2fa8d0c8dd43f95e1659a266e84c7713cc8f2fcf.tar.gz gitea-2fa8d0c8dd43f95e1659a266e84c7713cc8f2fcf.zip |
Added create issue
Diffstat (limited to 'routers/repo/branch.go')
-rw-r--r-- | routers/repo/branch.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/routers/repo/branch.go b/routers/repo/branch.go index 8c953f2ede..aed77cfaa5 100644 --- a/routers/repo/branch.go +++ b/routers/repo/branch.go @@ -26,11 +26,6 @@ func Branches(ctx *middleware.Context, params martini.Params) { ctx.Data["Username"] = params["username"] ctx.Data["Reponame"] = params["reponame"] - - if len(params["branchname"]) == 0 { - params["branchname"] = "master" - } - ctx.Data["Branchname"] = params["branchname"] ctx.Data["Branches"] = brs ctx.Data["IsRepoToolbarBranches"] = true |