diff --git a/src/git/models/branch.ts b/src/git/models/branch.ts index 39fffab..2f55c19 100644 --- a/src/git/models/branch.ts +++ b/src/git/models/branch.ts @@ -13,11 +13,6 @@ export class GitBranch { this.remote = true; } - const index = branch.indexOf(' '); - if (index !== -1) { - branch = branch.substring(0, index); - } - this.current = current; this.name = branch; this.tracking = tracking;