add some comment

This commit is contained in:
shengxiang[skyblue] 2014-03-18 21:58:58 +08:00
parent 76644c2fcc
commit ccd43b09b2
4 changed files with 37 additions and 31 deletions

View file

@ -10,8 +10,7 @@ import (
"github.com/codegangsta/cli"
git "github.com/gogits/git"
"github.com/gogits/git"
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/log"
)
@ -25,6 +24,7 @@ gogs serv provide access auth for repositories`,
Flags: []cli.Flag{},
}
// for command: ./gogs update
func runUpdate(*cli.Context) {
userName := os.Getenv("userName")
userId := os.Getenv("userId")