diff options
Diffstat (limited to 'serve.go')
-rw-r--r-- | serve.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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() |