Update Mirror IsEmpty status on synchronize (#13185)
Update Mirror IsEmpty status on synchronize (#13185)

Fix #9630
Fix #13183

Signed-off-by: Andrew Thornton <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>

Co-authored-by: Lunny Xiao <0b0704cdf8f0790c6f1df1f74c38be95a8917ed2@gmail.com>
vdbt/gitea,go-gitea/gitea,sapk-fork/gitea,cez81/gitea,sapk-fork/gitea,sapk-fork/gitea,cez81/gitea,go-gitea/gitea,go-gitea/gitea,vdbt/gitea,cez81/gitea,sapk-fork/gitea