summaryrefslogtreecommitdiffstats
path: root/cmd/update.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-21 21:55:59 -0500
committerUnknwon <u@gogs.io>2016-02-21 21:55:59 -0500
commitc9516c4c60684d20c45e4c0c15911603dc9f20b3 (patch)
treee4afda4bf16392593a07ab8dcbc9ad71f32069a6 /cmd/update.go
parent6e74dd4388dc41164e11491b38444cf6aa97f758 (diff)
downloadgitea-c9516c4c60684d20c45e4c0c15911603dc9f20b3.tar.gz
gitea-c9516c4c60684d20c45e4c0c15911603dc9f20b3.zip
Fix wrong place to check disable SSH
Diffstat (limited to 'cmd/update.go')
-rw-r--r--cmd/update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/update.go b/cmd/update.go
index 30f778f229..aca2a7cbe7 100644
--- a/cmd/update.go
+++ b/cmd/update.go
@@ -16,7 +16,7 @@ import (
var CmdUpdate = cli.Command{
Name: "update",
- Usage: "This command should only be called by SSH shell",
+ Usage: "This command should only be called by Git hook",
Description: `Update get pushed info and insert into database`,
Action: runUpdate,
Flags: []cli.Flag{