diff options
| author | Jeff Carr <[email protected]> | 2024-11-13 10:33:25 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-13 10:33:25 -0600 |
| commit | 009d8f3b9d743fb1fa891376d5c36290681e33f1 (patch) | |
| tree | 54723bd0cc8c681a65b3572cea9f721356b636d9 /tagWindow.go | |
| parent | 55acea0bd769132db7bf420fef3b94fa21ca5f83 (diff) | |
improve output handling via go-cmd
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'tagWindow.go')
| -rw-r--r-- | tagWindow.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tagWindow.go b/tagWindow.go index 4f0efbc..59caef5 100644 --- a/tagWindow.go +++ b/tagWindow.go @@ -10,6 +10,7 @@ import ( "time" "go.wit.com/gui" + "go.wit.com/lib/gui/shell" "go.wit.com/log" ) @@ -99,7 +100,7 @@ func (rs *RepoStatus) makeTagBox(box *gui.Node) error { format := strings.Join(tags, "_,,,_") cmd := []string{"git", "for-each-ref", "--sort=taggerdate", "--format", format} // log.Info("RUNNING:", strings.Join(cmd, " ")) - r := rs.Run(cmd) + r := shell.PathRunQuiet(rs.Path(), cmd) if r.Error != nil { log.Warn("git for-each-ref error:", r.Error) return r.Error |
