diff options
| author | Jeff Carr <[email protected]> | 2025-10-26 08:29:43 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-26 08:29:43 -0500 |
| commit | 4684799ca211b13b821a51cb0b3c87e43bd95aa8 (patch) | |
| tree | fc23a62eed2b8d091e135c69f7e90bd6df24ff31 /doGit.go | |
| parent | 213d7bd6749471c583534e76f9c29c5b0183a4cb (diff) | |
new argv design
Diffstat (limited to 'doGit.go')
| -rw-r--r-- | doGit.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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"}) |
