diff --git a/models/repo.go b/models/repo.go
index 873fd407fb93..c0e69b0e38f0 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -1379,7 +1379,7 @@ func CreateRepository(doer, u *User, opts CreateRepoOptions) (_ *Repository, err
 		LowerName:     strings.ToLower(opts.Name),
 		Description:   opts.Description,
 		IsPrivate:     opts.IsPrivate,
-		IsFsckEnabled: true,
+		IsFsckEnabled: !opts.IsMirror,
 	}
 
 	sess := x.NewSession()