summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/repository/create.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/repository/create.go b/modules/repository/create.go
index 33039d77c2..21d45c896e 100644
--- a/modules/repository/create.go
+++ b/modules/repository/create.go
@@ -54,6 +54,7 @@ func CreateRepository(doer, u *user_model.User, opts models.CreateRepoOptions) (
Status: opts.Status,
IsEmpty: !opts.AutoInit,
TrustModel: opts.TrustModel,
+ IsMirror: opts.IsMirror,
}
var rollbackRepo *repo_model.Repository