Skip to content

Commit 8755015

Browse files
not update updated uinx for git gc (#15637) (#15641)
Backport #15637 fix #15634 Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: a1012112796 <1012112796@qq.com>
1 parent 4190c13 commit 8755015

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

models/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ func (repo *Repository) updateSize(e Engine) error {
749749
}
750750

751751
repo.Size = size
752-
_, err = e.ID(repo.ID).Cols("size").Update(repo)
752+
_, err = e.ID(repo.ID).Cols("size").NoAutoTime().Update(repo)
753753
return err
754754
}
755755

0 commit comments

Comments
 (0)