1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-30 08:27:32 -04:00
This commit is contained in:
Lunny Xiao 2014-03-26 00:16:13 +08:00
parent 29fe44da50
commit 6177849fce

View File

@ -34,12 +34,13 @@ func runUpdate(c *cli.Context) {
for i, arg := range c.Args() { for i, arg := range c.Args() {
log.Info(i, arg) log.Info(i, arg)
} }
/*userName := os.Getenv("userName") userName := os.Getenv("userName")
userId := os.Getenv("userId") //userId := os.Getenv("userId")
repoId := os.Getenv("repoId") //repoId := os.Getenv("repoId")
repoName := os.Getenv("repoName") //repoName := os.Getenv("repoName")
f := models.RepoPath(userName, repoName) log.Info("username", userName)
/*f := models.RepoPath(userName, repoName)
repo, err := git.OpenRepository(f) repo, err := git.OpenRepository(f)
if err != nil { if err != nil {