summaryrefslogtreecommitdiffstats
path: root/models/repo_generate.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo_generate.go')
-rw-r--r--models/repo_generate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_generate.go b/models/repo_generate.go
index 98ef0ea000..556a5fc2f7 100644
--- a/models/repo_generate.go
+++ b/models/repo_generate.go
@@ -174,7 +174,7 @@ func generateRepoCommit(e Engine, repo, templateRepo, generateRepo *Repository,
return fmt.Errorf("git remote add: %v", err)
}
- return initRepoCommit(tmpDir, repo.Owner)
+ return initRepoCommit(tmpDir, repo, repo.Owner)
}
// generateRepository initializes repository from template