Skip to content

Commit cdae289

Browse files
authored
Check commit count against upstream (#156)
1 parent 3c84cda commit cdae289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cherry_picker/cherry_picker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ def continue_cherry_pick(self):
636636
]
637637
self.commit_sha1 = get_full_sha_from_short(short_sha)
638638

639-
commits = get_commits_from_backport_branch(base)
639+
commits = get_commits_from_backport_branch(f"{self.upstream}/{base}")
640640
if len(commits) == 1:
641641
commit_message = self.amend_commit_message(cherry_pick_branch)
642642
else:

0 commit comments

Comments
 (0)