1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-01-31 19:39:09 +00:00

Print less messages on start

This commit is contained in:
bouncepaw 2021-05-03 23:33:14 +05:00
parent 4ff51352af
commit 4b21489e7c

View File

@ -24,16 +24,14 @@ func Start(wikiDir string) {
path, err := exec.LookPath("git") path, err := exec.LookPath("git")
if err != nil { if err != nil {
log.Fatal("Cound not find the git executable. Check your $PATH.") log.Fatal("Cound not find the git executable. Check your $PATH.")
} else {
log.Println("Git path is", path)
} }
gitpath = path gitpath = path
_, err = gitsh("config", "user.name", "wikimind") _, err = silentGitsh("config", "user.name", "wikimind")
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }
_, err = gitsh("config", "user.email", "wikimind@mycorrhiza") _, err = silentGitsh("config", "user.email", "wikimind@mycorrhiza")
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }