From 38cb07c1411ab79c0f15efc3ce00b840d3055d9e Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 4 Jul 2022 08:56:12 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=85=AC=E6=B5=8B=E4=BA=91=E7=AB=AF?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=95=B0=E6=8D=AE=E4=BB=93=E5=BA=93=20https:?= =?UTF-8?q?//github.com/siyuan-note/siyuan/issues/5337?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/repository.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/model/repository.go b/kernel/model/repository.go index 312404c9c..73ff244e7 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