diff options
| author | Jeff Carr <[email protected]> | 2024-11-08 06:43:45 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-08 06:43:45 -0600 |
| commit | 29551667f0c1bca602870caba5921d3abcbe992e (patch) | |
| tree | 30ac8b894c973d3a01148fc74f7b8ae70e012252 /newRepo.go | |
| parent | ca00923762acf87139188c7fc6eac9f67107d7fe (diff) | |
use go-cmd/cmdv0.22.12
Diffstat (limited to 'newRepo.go')
| -rw-r--r-- | newRepo.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -138,14 +138,14 @@ func (r *RepoList) makeAutotypistView(newRepo *RepoRow) { } r.reposbox.Disable() // restore anything staged so everything can be reviewed - newRepo.Status.RunCmd([]string{"git", "restore", "--staged", "."}) + newRepo.Status.Run([]string{"git", "restore", "--staged", "."}) newRepo.Status.XtermWait("git diff") newRepo.Status.XtermWait("git add --all") newRepo.Status.XtermWait("git commit -a") newRepo.Status.XtermWait("git push") if newRepo.Status.CheckDirty() { // commit was not done, restore diff - newRepo.Status.RunCmd([]string{"git", "restore", "--staged", "."}) + newRepo.Status.Run([]string{"git", "restore", "--staged", "."}) } else { newRepo.NewScan() } |
