diff options
author | a1012112796 <1012112796@qq.com> | 2021-04-28 00:33:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 00:33:16 +0800 |
commit | f31443d6a89663b1f10315f72cef5867ae45f537 (patch) | |
tree | 645417bd504f5b8aff20ad4f2c9e304def3dbe4d /models/repo.go | |
parent | e711050450584c84ca53b137308d969119be75ae (diff) | |
download | gitea-f31443d6a89663b1f10315f72cef5867ae45f537.tar.gz gitea-f31443d6a89663b1f10315f72cef5867ae45f537.zip |
not update updated uinx for `git gc` (#15637)
fix #15634
Signed-off-by: a1012112796 <1012112796@qq.com>
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 2 |
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 } |