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:
parent
d17e97b7ff
commit
bc284be7e6
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user