summaryrefslogtreecommitdiff
path: root/doGit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 08:29:43 -0500
committerJeff Carr <[email protected]>2025-10-26 08:29:43 -0500
commit4684799ca211b13b821a51cb0b3c87e43bd95aa8 (patch)
treefc23a62eed2b8d091e135c69f7e90bd6df24ff31 /doGit.go
parent213d7bd6749471c583534e76f9c29c5b0183a4cb (diff)
new argv design
Diffstat (limited to 'doGit.go')
-rw-r--r--doGit.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/doGit.go b/doGit.go
index f26a5cc..3ad057d 100644
--- a/doGit.go
+++ b/doGit.go
@@ -13,6 +13,7 @@ import (
"github.com/go-cmd/cmd"
"go.wit.com/lib/fhelp"
"go.wit.com/lib/gui/shell"
+ "go.wit.com/lib/protobuf/argvpb"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -95,7 +96,7 @@ func doGit() (string, error) {
} else {
log.Info("not installing")
}
- me.argv.GoodExit("git who should be installed")
+ argvpb.GoodExit("git who should be installed")
}
cmd := []string{"git", "who", "-l", "."}
shell.RunVerbose(cmd)
@@ -191,7 +192,7 @@ func doPush(wpath string) {
if err := repo.GitCommit(); err != nil {
msg := fmt.Sprintf("repo.GitCommit() %s", repo.FullPath)
- me.argv.BadExit(msg, err)
+ argvpb.BadExit(msg, err)
}
repo.RunRealtime([]string{"git", "push"})