]> source.dussan.org Git - gitea.git/commitdiff
Fix API repository object format missed (#31118) (#31132)
authorGiteabot <teabot@gitea.io>
Tue, 28 May 2024 09:59:56 +0000 (17:59 +0800)
committerGitHub <noreply@github.com>
Tue, 28 May 2024 09:59:56 +0000 (09:59 +0000)
Backport #31118 by @lunny

Fix #31117

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
services/convert/repository.go

index 3b293fe550a38729ba2348494aa6d5ac367459cc..26c591dd88d852126e1d3345ca08abb3a6d5e9cf 100644 (file)
@@ -236,6 +236,7 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
                MirrorInterval:                mirrorInterval,
                MirrorUpdated:                 mirrorUpdated,
                RepoTransfer:                  transfer,
+               ObjectFormatName:              repo.ObjectFormatName,
        }
 }