mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-13 03:15:17 +00:00
replaced hardcoded main with actual target_branch name'
This commit is contained in:
parent
ca42a54bc3
commit
6170995665
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue