mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Work on #516
This commit is contained in:
		| @@ -171,7 +171,13 @@ func runServ(k *cli.Context) { | |||||||
| 	uuid := uuid.NewV4().String() | 	uuid := uuid.NewV4().String() | ||||||
| 	os.Setenv("uuid", uuid) | 	os.Setenv("uuid", uuid) | ||||||
|  |  | ||||||
| 	gitcmd := exec.Command(verb, repoPath) | 	var gitcmd *exec.Cmd | ||||||
|  | 	verbs := strings.Split(verb, " ") | ||||||
|  | 	if len(verbs) == 2 { | ||||||
|  | 		gitcmd = exec.Command(verbs[0], verbs[1], repoPath) | ||||||
|  | 	} else { | ||||||
|  | 		gitcmd = exec.Command(verb, repoPath) | ||||||
|  | 	} | ||||||
| 	gitcmd.Dir = setting.RepoRootPath | 	gitcmd.Dir = setting.RepoRootPath | ||||||
| 	gitcmd.Stdout = os.Stdout | 	gitcmd.Stdout = os.Stdout | ||||||
| 	gitcmd.Stdin = os.Stdin | 	gitcmd.Stdin = os.Stdin | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							| @@ -17,7 +17,7 @@ import ( | |||||||
| 	"github.com/gogits/gogs/modules/setting" | 	"github.com/gogits/gogs/modules/setting" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| const APP_VER = "0.5.4.0930 Beta" | const APP_VER = "0.5.4.1001 Beta" | ||||||
|  |  | ||||||
| func init() { | func init() { | ||||||
| 	runtime.GOMAXPROCS(runtime.NumCPU()) | 	runtime.GOMAXPROCS(runtime.NumCPU()) | ||||||
|   | |||||||
| @@ -1 +1 @@ | |||||||
| 0.5.4.0930 Beta | 0.5.4.1001 Beta | ||||||
		Reference in New Issue
	
	Block a user
	 Unknwon
					Unknwon