An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve exit when syncing
Daniel9147d626a8a0
diff --git a/kernel/model/repository.go b/kernel/model/repository.goindex 6ae130469f..5620da6902 100644--- a/kernel/model/repository.go+++ b/kernel/model/repository.go@@ -1331,8 +1331,10 @@ func syncRepo(exit, byHand bool) (dataChanged bool, err error) {processSyncMergeResult(exit, byHand, mergeResult, trafficStat, "a", elapsed)- // 首次数据同步执行完成后再执行索引订正 Index fixing should not be performed before data synchronization https://github.com/siyuan-note/siyuan/issues/10761- checkIndex()+ if !exit {+ // 首次数据同步执行完成后再执行索引订正 Index fixing should not be performed before data synchronization https://github.com/siyuan-note/siyuan/issues/10761+ checkIndex()+ }return}