mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
source_branch
This commit is contained in:
parent
1bab26f1c5
commit
2945c36899
1 changed files with 1 additions and 1 deletions
|
|
@ -399,7 +399,7 @@ class GitLabProvider(GitProvider):
|
||||||
|
|
||||||
if absolute_position != -1:
|
if absolute_position != -1:
|
||||||
# link to right file only
|
# link to right file only
|
||||||
link = f"https://gitlab.com/codiumai/pr-agent/-/blob/{self.mr.target_branch}/{relevant_file}?ref_type=heads#L{absolute_position}"
|
link = f"https://gitlab.com/codiumai/pr-agent/-/blob/{self.mr.source_branch}/{relevant_file}?ref_type=heads#L{absolute_position}"
|
||||||
|
|
||||||
# # link to diff
|
# # link to diff
|
||||||
# sha_file = hashlib.sha1(relevant_file.encode('utf-8')).hexdigest()
|
# sha_file = hashlib.sha1(relevant_file.encode('utf-8')).hexdigest()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue