mirror of
https://github.com/daveberrys/guh.git
synced 2026-11-29 00:56:45 +08:00
optional to hide outputs.
This commit is contained in:
1 parent
61ac03e7b4
commit
70144e6ee0
8 files changed
+22
-16
No files matched your search
+2
-2
@@ -44,7 +44,7 @@ func performAccountSwitch(username string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := utils.RunGitSequence(
|
||||
if err := utils.RunGitSequence(false,
|
||||
[]string{"config", "--global", "user.name", account.Username},
|
||||
[]string{"config", "--global", "user.email", account.Email},
|
||||
); err != nil {
|
||||
@@ -66,5 +66,5 @@ func performAccountSwitch(username string) error {
|
||||
}
|
||||
|
||||
func performBranchSwitch(branchName string) error {
|
||||
return utils.RunGitSequence([]string{"switch", branchName})
|
||||
return utils.RunGitSequence(false, []string{"switch", branchName})
|
||||
}
|
||||
Reference in new issue
Block a user