aboutsummaryrefslogtreecommitdiffstats
path: root/services/convert/repository.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2024-05-28 10:43:13 +0800
committerGitHub <noreply@github.com>2024-05-28 02:43:13 +0000
commitcd7d1314fc6598931e9a651a1c17026b28aa2c62 (patch)
tree62cd16e2c7a30d8bca99945b4f913904eeba63c8 /services/convert/repository.go
parent858d4f221d71e9d761048d302f04cba223d5d9da (diff)
downloadgitea-cd7d1314fc6598931e9a651a1c17026b28aa2c62.tar.gz
gitea-cd7d1314fc6598931e9a651a1c17026b28aa2c62.zip
Fix API repository object format missed (#31118)
Fix #31117
Diffstat (limited to 'services/convert/repository.go')
-rw-r--r--services/convert/repository.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/convert/repository.go b/services/convert/repository.go
index 3b293fe550..26c591dd88 100644
--- a/services/convert/repository.go
+++ b/services/convert/repository.go
@@ -236,6 +236,7 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
MirrorInterval: mirrorInterval,
MirrorUpdated: mirrorUpdated,
RepoTransfer: transfer,
+ ObjectFormatName: repo.ObjectFormatName,
}
}