mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
branch url
This commit is contained in:
parent
e50f0a2cd6
commit
79da94e5d8
1 changed files with 2 additions and 0 deletions
|
|
@ -377,6 +377,8 @@ export const getCodeHostBrowseAtBranchUrl = ({
|
||||||
return `${webUrl}?at=${branchName}`;
|
return `${webUrl}?at=${branchName}`;
|
||||||
case 'bitbucket-server':
|
case 'bitbucket-server':
|
||||||
return `${webUrl}?at=${branchName}`;
|
return `${webUrl}?at=${branchName}`;
|
||||||
|
case 'gerrit':
|
||||||
|
return `${webUrl}/+/${branchName}`;
|
||||||
case 'generic-git-host':
|
case 'generic-git-host':
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue