From 20ec459b93a68c8bf4b32fafc0532b569f5e1c5e Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 25 Mar 2014 23:13:40 +0800 Subject: [PATCH] add log --- serve.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/serve.go b/serve.go index acdcb877ffd..27324df19bd 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 }