diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-19 14:40:49 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-19 14:40:49 +0800 |
commit | 9e8e910bd64e3fd6526ead90f7211fcc1a81964d (patch) | |
tree | 709f40d26a56325abfca42024bd28f0843feeca9 /update.go | |
parent | 3da325591b5d8578f575f5fad59595f3c5efe4d6 (diff) | |
parent | 38776a0dd5762b2efbf70ebe98eeecdcd395c185 (diff) |
merge
Diffstat (limited to 'update.go')
-rw-r--r-- | update.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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") |