aboutsummaryrefslogtreecommitdiffstats
path: root/services/gitdiff/gitdiff.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2025-06-18 00:54:25 +0800
committerGitHub <noreply@github.com>2025-06-17 09:54:25 -0700
commit224aa64cd9f38c794aad9fdfa6fc8189b0576ab6 (patch)
tree9f8185f441c91f9e54996b0f153844058c6edfee /services/gitdiff/gitdiff.go
parent1e644e39f9fd9d46f271117473b2632d5cadcf9d (diff)
downloadgitea-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 'services/gitdiff/gitdiff.go')
0 files changed, 0 insertions, 0 deletions