mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	clean log
This commit is contained in:
		
							
								
								
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							@@ -17,7 +17,7 @@ import (
 | 
			
		||||
	"github.com/gogits/gogs/modules/setting"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const APP_VER = "0.6.9.0907 Beta"
 | 
			
		||||
const APP_VER = "0.6.9.0909 Beta"
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
	runtime.GOMAXPROCS(runtime.NumCPU())
 | 
			
		||||
 
 | 
			
		||||
@@ -630,7 +630,7 @@ func initRepository(e Engine, repoPath string, u *User, repo *Repository, opts C
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	tmpDir := filepath.Join(os.TempDir(), "gogs-"+repo.Name+"-"+com.ToStr(time.Now().Nanosecond()))
 | 
			
		||||
	fmt.Println(tmpDir)
 | 
			
		||||
 | 
			
		||||
	// Initialize repository according to user's choice.
 | 
			
		||||
	if opts.AutoInit {
 | 
			
		||||
		os.MkdirAll(tmpDir, os.ModePerm)
 | 
			
		||||
 
 | 
			
		||||
@@ -1 +1 @@
 | 
			
		||||
0.6.9.0907 Beta
 | 
			
		||||
0.6.9.0909 Beta
 | 
			
		||||
		Reference in New Issue
	
	Block a user