We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b98f37b commit a6433aaCopy full SHA for a6433aa
models/repo/repo.go
@@ -277,6 +277,8 @@ func (repo *Repository) AfterLoad() {
277
repo.NumOpenProjects = repo.NumProjects - repo.NumClosedProjects
278
repo.NumOpenActionRuns = repo.NumActionRuns - repo.NumClosedActionRuns
279
280
+ // this is a temporary behaviour to support old repos, next step is to store the object format in the database
281
+ // and read from database so this line could be removed. To not depend on git module, we use a constant variable here
282
repo.ObjectFormatName = "sha1"
283
}
284
0 commit comments