mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
removing unnecessary if check
This commit is contained in:
parent
2beefab89a
commit
2a9e3ee1ef
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ class BitbucketServerProvider(GitProvider):
|
||||||
|
|
||||||
for commit in source_commits_list:
|
for commit in source_commits_list:
|
||||||
for parent_commit in commit['parents']:
|
for parent_commit in commit['parents']:
|
||||||
if commit['id'] in destination_commit_hashes or parent_commit['id'] in destination_commit_hashes:
|
if parent_commit['id'] in destination_commit_hashes:
|
||||||
return parent_commit['id']
|
return parent_commit['id']
|
||||||
|
|
||||||
return guaranteed_common_ancestor
|
return guaranteed_common_ancestor
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue