From bc284be7e68c1e3c470b5e5021f6b27252eee2f3 Mon Sep 17 00:00:00 2001 From: handlerug Date: Wed, 23 Jun 2021 22:02:13 +0700 Subject: [PATCH] Don't log git repo existence check to the console --- history/history.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history/history.go b/history/history.go index f36db49..f0b524b 100644 --- a/history/history.go +++ b/history/history.go @@ -36,7 +36,7 @@ func Start() { func InitGitRepo() { // Detect if the Git repo directory is a Git repository isGitRepo := true - buf, err := gitsh("rev-parse", "--git-dir") + buf, err := silentGitsh("rev-parse", "--git-dir") if err != nil { isGitRepo = false }