1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-12 05:20:26 +00:00

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
No known key found for this signature in database
GPG Key ID: 38009F0605051491

View File

@ -36,7 +36,7 @@ func Start() {
func InitGitRepo() { func InitGitRepo() {
// Detect if the Git repo directory is a Git repository // Detect if the Git repo directory is a Git repository
isGitRepo := true isGitRepo := true
buf, err := gitsh("rev-parse", "--git-dir") buf, err := silentGitsh("rev-parse", "--git-dir")
if err != nil { if err != nil {
isGitRepo = false isGitRepo = false
} }