mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 21:00:40 +08:00
replaced hardcoded main with actual target_branch name'
This commit is contained in:
@ -72,7 +72,7 @@ class LocalGitProvider(GitProvider):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
logging.debug('Rebasing the temporary branch on the main branch...')
|
logging.debug('Rebasing the temporary branch on the main branch...')
|
||||||
self.repo.git.rebase('main')
|
self.repo.git.rebase(self.branch_name)
|
||||||
except GitCommandError as e:
|
except GitCommandError as e:
|
||||||
raise ValueError('Error while rebasing. Resolve conflicts before retrying.') from e
|
raise ValueError('Error while rebasing. Resolve conflicts before retrying.') from e
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user