Browse Source

clean log

pull/1618/head
Unknwon 9 years ago
parent
commit
b75d0378cb
  1. 2
      gogs.go
  2. 2
      models/repo.go
  3. 2
      templates/.VERSION

2
gogs.go

@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting" "github.com/gogits/gogs/modules/setting"
) )
const APP_VER = "0.6.9.0907 Beta" const APP_VER = "0.6.9.0909 Beta"
func init() { func init() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())

2
models/repo.go

@ -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())) tmpDir := filepath.Join(os.TempDir(), "gogs-"+repo.Name+"-"+com.ToStr(time.Now().Nanosecond()))
fmt.Println(tmpDir)
// Initialize repository according to user's choice. // Initialize repository according to user's choice.
if opts.AutoInit { if opts.AutoInit {
os.MkdirAll(tmpDir, os.ModePerm) os.MkdirAll(tmpDir, os.ModePerm)

2
templates/.VERSION

@ -1 +1 @@
0.6.9.0907 Beta 0.6.9.0909 Beta
Loading…
Cancel
Save