0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 02:44:36 +01:00

not update updated uinx for git gc (#15637)

fix #15634

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
a1012112796 2021-04-28 00:33:16 +08:00 committed by GitHub
parent e711050450
commit f31443d6a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -747,7 +747,7 @@ func (repo *Repository) updateSize(e Engine) error {
} }
repo.Size = size + lfsSize repo.Size = size + lfsSize
_, err = e.ID(repo.ID).Cols("size").Update(repo) _, err = e.ID(repo.ID).Cols("size").NoAutoTime().Update(repo)
return err return err
} }