瀏覽代碼

Changes Open Branch on Remote to better url

main
Eric Amodio 3 年之前
父節點
當前提交
e657def760
共有 3 個檔案被更改,包括 3 行新增3 行删除
  1. +1
    -1
      src/git/remotes/bitbucket.ts
  2. +1
    -1
      src/git/remotes/github.ts
  3. +1
    -1
      src/git/remotes/gitlab.ts

+ 1
- 1
src/git/remotes/bitbucket.ts 查看文件

@ -112,7 +112,7 @@ export class BitbucketRemote extends RemoteProvider {
}
protected getUrlForBranch(branch: string): string {
return `${this.baseUrl}/commits/branch/${branch}`;
return `${this.baseUrl}/branch/${branch}`;
}
protected getUrlForCommit(sha: string): string {

+ 1
- 1
src/git/remotes/github.ts 查看文件

@ -132,7 +132,7 @@ export class GitHubRemote extends RichRemoteProvider {
}
protected getUrlForBranch(branch: string): string {
return `${this.baseUrl}/commits/${branch}`;
return `${this.baseUrl}/tree/${branch}`;
}
protected getUrlForCommit(sha: string): string {

+ 1
- 1
src/git/remotes/gitlab.ts 查看文件

@ -107,7 +107,7 @@ export class GitLabRemote extends RemoteProvider {
}
protected getUrlForBranch(branch: string): string {
return `${this.baseUrl}/commits/${branch}`;
return `${this.baseUrl}/tree/${branch}`;
}
protected getUrlForCommit(sha: string): string {

Loading…
取消
儲存