Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 公测云端同步数据仓库 https://github.com/siyuan-note/siyuan/issues/5337

Liang Ding38cb07c1411a
diff --git a/kernel/model/repository.go b/kernel/model/repository.go
index 312404c9c2..73ff244e73 100644
--- a/kernel/model/repository.go
+++ b/kernel/model/repository.go
@@ -230,12 +230,12 @@ func IndexRepo(memo string) (err error) {
if nil != latest {
if latest.ID != index.ID {
- util.PushStatusBar(fmt.Sprintf(Conf.Language(147)+" [%s]", elapsed.Seconds(), latest.ID[:7]))
+ util.PushStatusBar(fmt.Sprintf(Conf.Language(147)+" [%s]", elapsed.Seconds(), index.ID[:7]))
} else {
- util.PushStatusBar(Conf.Language(148) + " [" + latest.ID[:7] + "]")
+ util.PushStatusBar(Conf.Language(148) + " [" + index.ID[:7] + "]")
}
} else {
- util.PushStatusBar(fmt.Sprintf(Conf.Language(147)+" [%s]", elapsed.Seconds(), latest.ID[:7]))
+ util.PushStatusBar(fmt.Sprintf(Conf.Language(147)+" [%s]", elapsed.Seconds(), index.ID[:7]))
}
util.PushClearProgress()
return