Files
gitea-MIRROR/modules/git
Christmas a46dea6651 fix(mirror): keep repository update times out of the future (#40481)
A pull mirror copied its newest branch tip's committer date into the
repository's "Last updated" field. Commit dates are set by whoever made
the commit, so a single tip dated 2098 kept an idle mirror at the top of
Explore for decades.

Like GitHub, GitLab and Gitea's own push handling, a sync now sets the
update time to the sync time when any ref changed and leaves it
untouched otherwise.

Fixes: https://github.com/go-gitea/gitea/issues/40480

Assisted-by: Codex:GPT-6
Assisted-by: Claude Code:claude-opus-5-5

---------

Co-authored-by: silverwind <me@silverwind.io>
2026-11-25 10:39:43 +00:00
..
2026-10-24 13:48:19 +00:00
2026-08-05 00:17:07 +08:00
2026-08-05 00:17:07 +08:00
2025-07-30 07:08:59 +00:00