🎨 Sync repo

This commit is contained in:
Liang Ding 2022-07-01 23:54:47 +08:00
parent 60ab836ca4
commit 60922ae27e
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -137,11 +137,11 @@ func SyncData(boot, exit, byHand bool) {
indexRepoBeforeCloudSync()
// 同步数据仓库 https://github.com/siyuan-note/siyuan/issues/5142
if syncRepoErr := syncRepo(); nil != syncRepoErr {
util.LogErrorf("sync repo failed: %s", syncRepoErr)
}
return // TODO: 测试
//if syncRepoErr := syncRepo(); nil != syncRepoErr {
// util.LogErrorf("sync repo failed: %s", syncRepoErr)
//}
//
//return // TODO: 测试
WaitForWritingFiles()
writingDataLock.Lock()