summaryrefslogtreecommitdiff
path: root/jtlib/plugins
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-06-10 17:25:04 +0300
committerLars Wirzenius <liw@liw.fi>2016-06-10 17:25:04 +0300
commit4c64ac3a01a7c47de62761437749e824130f522e (patch)
tree586a6a17fc36e56d76179f33cdcf4579cbd946d4 /jtlib/plugins
parent813af39a0b55219497457f4f98c635ada2643597 (diff)
downloadjt-4c64ac3a01a7c47de62761437749e824130f522e.tar.gz
Run git rebase --pull before git push
Diffstat (limited to 'jtlib/plugins')
-rw-r--r--jtlib/plugins/finish_plugin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/jtlib/plugins/finish_plugin.py b/jtlib/plugins/finish_plugin.py
index dc06158..e98f59a 100644
--- a/jtlib/plugins/finish_plugin.py
+++ b/jtlib/plugins/finish_plugin.py
@@ -87,4 +87,5 @@ class FinishCommand(cliapp.Plugin):
jtlib.commit_to_git(self.app.settings['source'], pathnames)
def _push_git(self):
+ jtlib.pull_rebase_git(self.app.settings['source'])
jtlib.push_git(self.app.settings['source'])