mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
Fix temp dir name
This commit is contained in:
parent
cb812144b5
commit
f079b601c8
@ -135,7 +135,7 @@ func prepareRepoCommit(ctx context.Context, repo *repo_model.Repository, tmpDir,
|
||||
}
|
||||
|
||||
func createRepoTempDir(repoName string) (string, error) {
|
||||
return os.MkdirTemp(filepath.Join(setting.TempDir(), "repos"), "gitea-"+repoName)
|
||||
return os.MkdirTemp(setting.TempDir(), "repos-"+repoName)
|
||||
}
|
||||
|
||||
// InitRepository initializes README and .gitignore if needed.
|
||||
|
Loading…
Reference in New Issue
Block a user