Skip to content

Commit f31443d

Browse files
authored
not update updated uinx for git gc (#15637)
fix #15634 Signed-off-by: a1012112796 <[email protected]>
1 parent e711050 commit f31443d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/repo.go

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

749749
repo.Size = size + lfsSize
750-
_, err = e.ID(repo.ID).Cols("size").Update(repo)
750+
_, err = e.ID(repo.ID).Cols("size").NoAutoTime().Update(repo)
751751
return err
752752
}
753753

0 commit comments

Comments
 (0)