mirror of
https://github.com/go-gitea/gitea
synced 2025-01-26 22:17:44 +01:00
59354d7135
Backport #26340 by @CaiCandong Now, for a new repo without any commit, the Last indexed SHA field looks like this: Before: ![image](https://github.com/go-gitea/gitea/assets/50507092/cecc6e24-3366-4093-ae07-c361ea34b373) After: ![image](https://github.com/go-gitea/gitea/assets/50507092/9b6ba703-b0d5-4648-ad6b-9a2341dd60f9) fix #26336 Co-authored-by: CaiCandong <50507092+CaiCandong@users.noreply.github.com>