aboutsummaryrefslogtreecommitdiff
path: root/models/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo.go')
-rw-r--r--models/repo.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/models/repo.go b/models/repo.go
index 932a0e9f..010c9fad 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -613,10 +613,6 @@ func MigrateRepository(u *User, opts MigrateRepoOptions) (*Repository, error) {
return nil, err
}
- // Clone to temprory path and do the init commit.
- tmpDir := filepath.Join(os.TempDir(), fmt.Sprintf("%d", time.Now().Nanosecond()))
- os.MkdirAll(tmpDir, os.ModePerm)
-
repoPath := RepoPath(u.Name, opts.Name)
wikiPath := WikiPath(u.Name, opts.Name)