summaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-10-29 21:09:48 -0400
committerUnknwon <u@gogs.io>2015-10-29 21:09:48 -0400
commit7d72c8333e05b377d42fb773ef2d952c8ec87d32 (patch)
tree0390d83b543b791ad54a40343e2ae76758eebffc /routers/install.go
parent706b0f72e2e4bc91bdbed38fee609cabe9f44e43 (diff)
downloadgitea-7d72c8333e05b377d42fb773ef2d952c8ec87d32.tar.gz
gitea-7d72c8333e05b377d42fb773ef2d952c8ec87d32.zip
work on #470 and fix miror JS issue when choose targets on compare and pull
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go
index 6fa7c12a13..38b9830cc4 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -173,6 +173,7 @@ func InstallPost(ctx *middleware.Context, form auth.InstallForm) {
ctx.HTML(200, INSTALL)
return
}
+ return
if _, err := exec.LookPath("git"); err != nil {
ctx.RenderWithErr(ctx.Tr("install.test_git_failed", err), INSTALL, &form)