mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 11:50:37 +08:00
replaced hardcoded main with actual target_branch name'
This commit is contained in:
@ -72,7 +72,7 @@ class LocalGitProvider(GitProvider):
|
||||
|
||||
try:
|
||||
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:
|
||||
raise ValueError('Error while rebasing. Resolve conflicts before retrying.') from e
|
||||
|
||||
|
Reference in New Issue
Block a user