Bläddra i källkod

Changes Open Branch on Remote to better url

main
Eric Amodio 3 år sedan
förälder
incheckning
e657def760
3 ändrade filer med 3 tillägg och 3 borttagningar
  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 Visa fil

@ -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 Visa fil

@ -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 Visa fil

@ -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 {

Laddar…
Avbryt
Spara