Backport #31118 by @lunny Fix #31117 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
@ -236,6 +236,7 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
MirrorInterval: mirrorInterval,
MirrorUpdated: mirrorUpdated,
RepoTransfer: transfer,
ObjectFormatName: repo.ObjectFormatName,
}