aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index fc673cace8..cea874769d 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
}