Don't log git repo existence check to the console

This commit is contained in:
handlerug
2021-06-23 22:02:13 +07:00
parent d17e97b7ff
commit bc284be7e6
+1 -1
View File
@@ -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
}