summaryrefslogtreecommitdiffstats
path: root/routers/repo/http.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-11 04:55:08 -0500
committerUnknwon <u@gogs.io>2015-12-11 04:55:08 -0500
commit40f3142264aa20103ba2c6375b344e491cff27f5 (patch)
tree2d17476fae2baf5e80aa56d596f83d37b141bcf7 /routers/repo/http.go
parentb21160a13aeab088bdee14ea5444321214adbd05 (diff)
downloadgitea-40f3142264aa20103ba2c6375b344e491cff27f5.tar.gz
gitea-40f3142264aa20103ba2c6375b344e491cff27f5.zip
#2114 External URL for wiki
Diffstat (limited to 'routers/repo/http.go')
-rw-r--r--routers/repo/http.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/http.go b/routers/repo/http.go
index e6390bc7c5..8164f80962 100644
--- a/routers/repo/http.go
+++ b/routers/repo/http.go
@@ -496,6 +496,7 @@ func updateServerInfo(gitBinPath, dir string) []byte {
return gitCommand(gitBinPath, dir, args...)
}
+// FIXME: use process module
func gitCommand(gitBinPath, dir string, args ...string) []byte {
command := exec.Command(gitBinPath, args...)
command.Dir = dir