diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2025-06-18 00:54:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-17 09:54:25 -0700 |
commit | 224aa64cd9f38c794aad9fdfa6fc8189b0576ab6 (patch) | |
tree | 9f8185f441c91f9e54996b0f153844058c6edfee /modules/git/diff_test.go | |
parent | 1e644e39f9fd9d46f271117473b2632d5cadcf9d (diff) | |
download | gitea-224aa64cd9f38c794aad9fdfa6fc8189b0576ab6.tar.gz gitea-224aa64cd9f38c794aad9fdfa6fc8189b0576ab6.zip |
Replace update repository function in some places (#34566)
`UpdateAllCols` is dangerous, the columns should be updated when
necessary.
This PR replaces some `updateRepository` invokes to reduce possible
problems and wrongly updated time. Some parts have been fixed in #34388,
but some are hidden in the function `updateRepository`. Alternatively,
using `UpdateRepositoryColsNoAutoTime` to update the changed columns.
Some `UpdateRepoSize` invokes are duplicated, so they will be removed
when extracting from `updateRepository`.
Diffstat (limited to 'modules/git/diff_test.go')
0 files changed, 0 insertions, 0 deletions