summaryrefslogtreecommitdiff
path: root/viewTempWindow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-08 06:43:45 -0600
committerJeff Carr <[email protected]>2024-11-08 06:43:45 -0600
commit29551667f0c1bca602870caba5921d3abcbe992e (patch)
tree30ac8b894c973d3a01148fc74f7b8ae70e012252 /viewTempWindow.go
parentca00923762acf87139188c7fc6eac9f67107d7fe (diff)
use go-cmd/cmdv0.22.12
Diffstat (limited to 'viewTempWindow.go')
-rw-r--r--viewTempWindow.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/viewTempWindow.go b/viewTempWindow.go
index 402393c..ffb99e5 100644
--- a/viewTempWindow.go
+++ b/viewTempWindow.go
@@ -76,14 +76,14 @@ func (r *RepoList) ShowRepo(repo *RepoRow) error {
return
}
// restore anything staged so everything can be reviewed
- newRow.Status.RunCmd([]string{"git", "restore", "--staged", "."})
+ newRow.Status.Run([]string{"git", "restore", "--staged", "."})
newRow.Status.XtermWait("git diff")
newRow.Status.XtermWait("git add --all")
newRow.Status.XtermWait("git commit -a")
newRow.Status.XtermWait("git push")
if newRow.Status.CheckDirty() {
// commit was not done, restore diff
- newRow.Status.RunCmd([]string{"git", "restore", "--staged", "."})
+ newRow.Status.Run([]string{"git", "restore", "--staged", "."})
} else {
newRow.NewScan()
}