mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-11 15:04:02 +09:00
Allow adding new files to an empty repo (#24164)

This commit is contained in:
1 parent
01214c8ada
commit
e422342eeb
31 files changed
+314
-138
No files matched your search
@@ -154,7 +154,9 @@ func Init() {
|
||||
log.Trace("IndexerData Process Repo: %d", indexerData.RepoID)
|
||||
|
||||
if err := index(ctx, indexer, indexerData.RepoID); err != nil {
|
||||
log.Error("index: %v", err)
|
||||
if !setting.IsInTesting {
|
||||
log.Error("indexer index error for repo %v: %v", indexerData.RepoID, err)
|
||||
}
|
||||
if indexer.Ping() {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user