diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-05-26 15:44:44 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-05-26 15:44:44 +1000 |
commit | 10fd353a50c894dc8e5bb68c0b939be63846a6c0 (patch) | |
tree | 97547779e2bd1eb74b8afd69d41323785b8c43e5 /gitcommands.go | |
parent | bb12309c7c834f8b0b12d7942cfee0d071242ad0 (diff) |
More stuff
Diffstat (limited to 'gitcommands.go')
-rw-r--r-- | gitcommands.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gitcommands.go b/gitcommands.go index fbfded157..b4fca3835 100644 --- a/gitcommands.go +++ b/gitcommands.go @@ -245,6 +245,11 @@ func gitCommit(message string) error { return err } +func gitPull() error { + _, err := runDirectCommand("git pull --no-edit") + return err +} + const getBranchesCommand = `set -e git reflog -n100 --pretty='%cr|%gs' --grep-reflog='checkout: moving' HEAD | { seen=":" |