aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/google.golang.org/protobuf/internal
diff options
context:
space:
mode:
authorChai-Shi <changchaishi@gmail.com>2025-01-07 01:54:06 +0800
committerGitHub <noreply@github.com>2025-01-07 01:54:06 +0800
commit1a95d9d6a1e3a02136ce42864776db30e1062e35 (patch)
tree3242267e637d47f546a72386abb774fe65fd359a /vendor/google.golang.org/protobuf/internal
parent80e4f4c4eb80dbbcd4c306ac05bfcf75a005d742 (diff)
downloadgitea-main.tar.gz
gitea-main.zip
fix empty repo updated time (#33120)HEADmain
fixes #33119 routers/web/repo/view_home.go ![image](https://github.com/user-attachments/assets/b0d6c5f5-7abc-478a-8d41-4b44dbd460aa) Calling `updateContextRepoEmptyAndStatus` will always ask the DB to update the updated Unix attributes. When revisiting the repo's home page, the timestamp will be updated unexpectedly, so I added the needsUpdate variable to check whether, in the end, the commitment to db update is necessary if columns have not changed at all. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'vendor/google.golang.org/protobuf/internal')
0 files changed, 0 insertions, 0 deletions