From 4b21489e7c0c713bbe13fce838e838c715005d29 Mon Sep 17 00:00:00 2001 From: bouncepaw Date: Mon, 3 May 2021 23:33:14 +0500 Subject: [PATCH] Print less messages on start --- history/history.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/history/history.go b/history/history.go index 46937cf..dd53203 100644 --- a/history/history.go +++ b/history/history.go @@ -24,16 +24,14 @@ func Start(wikiDir string) { path, err := exec.LookPath("git") if err != nil { log.Fatal("Cound not find the git executable. Check your $PATH.") - } else { - log.Println("Git path is", path) } gitpath = path - _, err = gitsh("config", "user.name", "wikimind") + _, err = silentGitsh("config", "user.name", "wikimind") if err != nil { log.Fatal(err) } - _, err = gitsh("config", "user.email", "wikimind@mycorrhiza") + _, err = silentGitsh("config", "user.email", "wikimind@mycorrhiza") if err != nil { log.Fatal(err) }