#2114 External URL for wiki

This commit is contained in:
Unknwon 2015-12-11 04:55:08 -05:00
parent b21160a13a
commit 40f3142264
11 changed files with 33 additions and 6 deletions

View file

@ -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