mirror of
https://gitee.com/gitea/gitea
synced 2025-11-02 23:50:26 +08:00
Move code indexer related code to a new package (#9191)
* move code indexer related code to a new package * fix lint * fix tests * fix fmt * GetMaxID support interface parameter
This commit is contained in:
committed by
techknowlogick
parent
baf089e5b9
commit
be06dee04c
@@ -1112,10 +1112,6 @@ func MigrateRepositoryGitData(doer, u *User, repo *Repository, opts api.MigrateR
|
||||
repo, err = CleanUpMigrateInfo(repo)
|
||||
}
|
||||
|
||||
if err != nil && !repo.IsEmpty {
|
||||
UpdateRepoIndexer(repo)
|
||||
}
|
||||
|
||||
return repo, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user