Handle windows deletion when start

Fix #2872
This commit is contained in:
Unknwon 2016-03-23 03:16:53 -04:00
parent 5e11341232
commit 98b58fa050
4 changed files with 4 additions and 5 deletions

View File

@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true) ![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
##### Current version: 0.9.14 ##### Current version: 0.9.15
| Web | UI | Preview | | Web | UI | Preview |
|:-------------:|:-------:|:-------:| |:-------------:|:-------:|:-------:|

View File

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

View File

@ -129,8 +129,7 @@ func NewRepoContext() {
log.Fatal(4, "Fail to execute 'git config --global core.quotepath false': %s", stderr) log.Fatal(4, "Fail to execute 'git config --global core.quotepath false': %s", stderr)
} }
// Clean up temporary data. RemoveAllWithNotice("Clean up repository temporary data", filepath.Join(setting.AppDataPath, "tmp"))
os.RemoveAll(filepath.Join(setting.AppDataPath, "tmp"))
} }
// Repository represents a git repository. // Repository represents a git repository.

View File

@ -1 +1 @@
0.9.14.0321 0.9.15.0323