From 04d2c00ebf74282dcdc7a0c8aaa89d63464d9df2 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 8 Sep 2017 17:03:21 -0400 Subject: [PATCH] Fixes issue with branch name truncations (rebase) --- src/git/models/branch.ts | 5 ----- 1 file changed, 5 deletions(-) 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;