summaryrefslogtreecommitdiffstats
path: root/serve.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-25 23:13:40 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-25 23:13:40 +0800
commit20ec459b93a68c8bf4b32fafc0532b569f5e1c5e (patch)
tree224b4014babeeb93661b10fd48790d6bb1e9d3d8 /serve.go
parent4e88ae19d1e2e91e4d3168304c06fcbce73c31bf (diff)
downloadgitea-20ec459b93a68c8bf4b32fafc0532b569f5e1c5e.tar.gz
gitea-20ec459b93a68c8bf4b32fafc0532b569f5e1c5e.zip
add log
Diffstat (limited to 'serve.go')
-rw-r--r--serve.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/serve.go b/serve.go
index acdcb877ff..27324df19b 100644
--- a/serve.go
+++ b/serve.go
@@ -217,6 +217,7 @@ func runServ(k *cli.Context) {
}
time.Sleep(time.Second)
+ log.Info(s)
// find push reference name
var t = "ok refs/heads/"
@@ -235,7 +236,7 @@ func runServ(k *cli.Context) {
}
}
if refname == "" {
- println("No find any reference name:", b.String())
+ println("No find any reference name:", s)
return
}