summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/project.py b/project.py
index 1b0769a6..65fefd92 100644
--- a/project.py
+++ b/project.py
@@ -1670,8 +1670,10 @@ class Project(object):
1670 if GitCommand(self, cmd).Wait() != 0: 1670 if GitCommand(self, cmd).Wait() != 0:
1671 raise GitError('%s rebase %s ' % (self.name, upstream)) 1671 raise GitError('%s rebase %s ' % (self.name, upstream))
1672 1672
1673 def _FastForward(self, head): 1673 def _FastForward(self, head, ffonly=False):
1674 cmd = ['merge', head] 1674 cmd = ['merge', head]
1675 if ffonly:
1676 cmd.append("--ff-only")
1675 if GitCommand(self, cmd).Wait() != 0: 1677 if GitCommand(self, cmd).Wait() != 0:
1676 raise GitError('%s merge %s ' % (self.name, head)) 1678 raise GitError('%s merge %s ' % (self.name, head))
1677 1679