diff --git a/models/repo.go b/models/repo.go index fc673cace8b..cea874769d1 100644 --- a/models/repo.go +++ b/models/repo.go @@ -747,7 +747,7 @@ func (repo *Repository) updateSize(e Engine) error { } 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 }