From d47d25e3a696bde60bdce135829ac9de3f3291d5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 21 Aug 2025 12:30:46 -0500 Subject: quiet output --- checkout.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'checkout.go') diff --git a/checkout.go b/checkout.go index f2df501..4b46841 100644 --- a/checkout.go +++ b/checkout.go @@ -12,7 +12,7 @@ func (repo *Repo) CheckoutMaster() bool { bName := repo.GetMasterBranchName() if bName == "giterr" { cmd := []string{"git", "checkout", "main"} // todo: figure out main - repo.RunVerbose(cmd) + repo.RunVerboseOnError(cmd) os.Exit(-1) // TODO: try to fix this if repo.checkoutBranch("main") { @@ -20,7 +20,7 @@ func (repo *Repo) CheckoutMaster() bool { return true } else { cmd := []string{"git", "checkout", "main"} // todo: figure out main - repo.RunVerbose(cmd) + repo.RunVerboseOnError(cmd) return false } } -- cgit v1.2.3