mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
#2114 External URL for wiki
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user