From 6177849fcec73ad7693d5c423f97f6bd48ca6d3b Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 26 Mar 2014 00:16:13 +0800 Subject: [PATCH] ss --- update.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/update.go b/update.go index 242282ec..7386d332 100644 --- a/update.go +++ b/update.go @@ -34,12 +34,13 @@ func runUpdate(c *cli.Context) { for i, arg := range c.Args() { log.Info(i, arg) } - /*userName := os.Getenv("userName") - userId := os.Getenv("userId") - repoId := os.Getenv("repoId") - repoName := os.Getenv("repoName") + userName := os.Getenv("userName") + //userId := os.Getenv("userId") + //repoId := os.Getenv("repoId") + //repoName := os.Getenv("repoName") - f := models.RepoPath(userName, repoName) + log.Info("username", userName) + /*f := models.RepoPath(userName, repoName) repo, err := git.OpenRepository(f) if err != nil {