Skip to content

Commit

Permalink
not update updated uinx for git gc (go-gitea#15637)
Browse files Browse the repository at this point in the history
Backport go-gitea#15637

fix go-gitea#15634

Signed-off-by: a1012112796 <1012112796@qq.com>
  • Loading branch information
a1012112796 authored and zeripath committed Apr 27, 2021
1 parent 4190c13 commit e22399c
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 @@ -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

0 comments on commit e22399c

Please sign in to comment.