We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7030163 commit 6639de2Copy full SHA for 6639de2
git_sim/merge.py
@@ -60,7 +60,7 @@ def construct(self):
60
head_commit = self.get_commit()
61
branch_commit = self.get_commit(self.branch)
62
63
- if not self.is_remote_tracking_branch(self.branch):
+ if self.branch not in self.get_remote_tracking_branches():
64
if self.branch in self.repo.git.branch("--contains", head_commit.hexsha):
65
self.ff = True
66
else:
0 commit comments