Skip to content

Commit

Permalink
not update updated uinx for git gc (#15637)
Browse files Browse the repository at this point in the history
fix #15634

Signed-off-by: a1012112796 <1012112796@qq.com>
  • Loading branch information
a1012112796 committed Apr 27, 2021
1 parent e711050 commit f31443d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit f31443d

Please sign in to comment.