diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-25 23:13:40 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-25 23:13:40 +0800 |
commit | 20ec459b93a68c8bf4b32fafc0532b569f5e1c5e (patch) | |
tree | 224b4014babeeb93661b10fd48790d6bb1e9d3d8 /serve.go | |
parent | 4e88ae19d1e2e91e4d3168304c06fcbce73c31bf (diff) | |
download | gitea-20ec459b93a68c8bf4b32fafc0532b569f5e1c5e.tar.gz gitea-20ec459b93a68c8bf4b32fafc0532b569f5e1c5e.zip |
add log
Diffstat (limited to 'serve.go')
-rw-r--r-- | serve.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 } |