|
@@ -141,7 +141,7 @@ func NewRepoContext() {
|
|
|
// Set git some configurations.
|
|
|
if _, stderr, err := process.Exec("NewRepoContext(git config --global core.quotepath false)",
|
|
|
"git", "config", "--global", "core.quotepath", "false"); err != nil {
|
|
|
- log.Fatal(4, "Fail to execute 'git config --global core.quotepath false': %s", stderr)
|
|
|
+ log.Fatal(2, "Fail to execute 'git config --global core.quotepath false': %v - %s", err, stderr)
|
|
|
}
|
|
|
|
|
|
RemoveAllWithNotice("Clean up repository temporary data", filepath.Join(setting.AppDataPath, "tmp"))
|