summaryrefslogtreecommitdiffstats
path: root/serve.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-25 12:12:27 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-25 12:12:27 -0400
commit2fa8d0c8dd43f95e1659a266e84c7713cc8f2fcf (patch)
tree7fdae59ac504c0aedd0a657ff9a9bd9f30de3b22 /serve.go
parent23d103c72163cdb4ea65c9756edf22c597060a7e (diff)
downloadgitea-2fa8d0c8dd43f95e1659a266e84c7713cc8f2fcf.tar.gz
gitea-2fa8d0c8dd43f95e1659a266e84c7713cc8f2fcf.zip
Added create issue
Diffstat (limited to 'serve.go')
-rw-r--r--serve.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/serve.go b/serve.go
index bfd2663fc6..25a34efbaf 100644
--- a/serve.go
+++ b/serve.go
@@ -249,8 +249,8 @@ func runServ(k *cli.Context) {
}
}
if refname == "" {
- println("No find any reference name:", b.String())
- log.Error("No find any reference name: " + b.String())
+ println("Not found any reference name:", b.String())
+ log.Error("Not found any reference name: " + b.String())
return
}
@@ -268,7 +268,6 @@ func runServ(k *cli.Context) {
}
if ref, ok = refs[refname]; !ok {
log.Error("unknow reference name -", refname, "-", b.String())
- log.Error("unknow reference name -", refname, "-", b.String())
return
}
l, err = ref.AllCommits()