summaryrefslogtreecommitdiff
path: root/modifyBox.go
diff options
context:
space:
mode:
Diffstat (limited to 'modifyBox.go')
-rw-r--r--modifyBox.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/modifyBox.go b/modifyBox.go
index a7c76b9..ae577a2 100644
--- a/modifyBox.go
+++ b/modifyBox.go
@@ -40,10 +40,7 @@ func (rs *RepoStatus) drawGitCommands(box *gui.Node) {
newgrid.NextRow()
newgrid.NewButton("git pull", func() {
- var cmd []string
- cmd = append(cmd, "git", "pull")
- err, b, output := RunCmd(rs.realPath.String(), cmd)
- log.Warn("Did git pull here", err, b, output)
+ rs.GitPull()
})
newgrid.NextRow()