diff options
| author | Jeff Carr <[email protected]> | 2025-10-04 20:38:39 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-04 20:38:39 -0500 |
| commit | ff3f7b58c3e3b462b8a8b1c8f61fe5a68e0905ff (patch) | |
| tree | 87bd240ed41018ec4ebfb33b221abe304abf5c2f /doGit.go | |
| parent | 80c33e855301eda7cdcf053a85e5f65373d7e624 (diff) | |
notes on aptlyv0.1.10
Diffstat (limited to 'doGit.go')
| -rw-r--r-- | doGit.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -8,6 +8,7 @@ import ( "path/filepath" "strings" + "go.wit.com/lib/fhelp" "go.wit.com/lib/gui/shell" "go.wit.com/lib/protobuf/gitpb" "go.wit.com/log" @@ -36,6 +37,14 @@ func doGit() error { } if argv.Git.Who != nil { + if _, err := fhelp.CheckCmd("git-who"); err != nil { + if fhelp.QuestionUser("install git-who") { + log.Info("go install -v -x github.com/sinclairtarget/git-who@latest") + } else { + log.Info("not installing") + } + me.sh.GoodExit("git who should be installed") + } cmd := []string{"git", "who"} shell.RunVerbose(cmd) okExit("") |
