summaryrefslogtreecommitdiffstats
path: root/update.go
diff options
context:
space:
mode:
Diffstat (limited to 'update.go')
-rw-r--r--update.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.go b/update.go
index 23d8fb028a..baa433d75c 100644
--- a/update.go
+++ b/update.go
@@ -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")