Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
not update updated uinx for git gc (#15637)
Backport #15637

fix #15634

Signed-off-by: a1012112796 <[email protected]>
  • Loading branch information
a1012112796 authored and zeripath committed Apr 27, 2021
commit e22399c535cd712a4bfc68909728b76027d2c4ac
2 changes: 1 addition & 1 deletion models/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ func (repo *Repository) updateSize(e Engine) error {
}

repo.Size = size
_, err = e.ID(repo.ID).Cols("size").Update(repo)
_, err = e.ID(repo.ID).Cols("size").NoAutoTime().Update(repo)
return err
}

Expand Down