Fix file rename/copy not supported by indexer (#9965)
Fix file rename/copy not supported by indexer (#9965)

Co-authored-by: zeripath <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>

lafriks/gitea,vdbt/gitea,cez81/gitea,go-gitea/gitea,cez81/gitea,lafriks/gitea,go-gitea/gitea,sapk-fork/gitea,sapk-fork/gitea,sapk-fork/gitea,vCaesar/gitea,lafriks/gitea,vdbt/gitea,cez81/gitea,go-gitea/gitea,sapk-fork/gitea,vCaesar/gitea