mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-13 05:50:27 +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() {
|
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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user