We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a975ce8 commit f887ed0Copy full SHA for f887ed0
modules/repository/branch.go
@@ -45,6 +45,7 @@ func SyncRepoBranchesWithRepo(ctx context.Context, repo *repo_model.Repository,
45
if err != nil {
46
return 0, fmt.Errorf("UpdateRepository: %w", err)
47
}
48
+ repo.ObjectFormatName = objFmt.Name() // keep consistent with db
49
50
allBranches := container.Set[string]{}
51
{
0 commit comments