From 8c28f30d76c477a4d4a19c8e24ae83a3ae11badc Mon Sep 17 00:00:00 2001 From: Michael Hutchison Date: Wed, 21 Aug 2019 20:44:15 +1000 Subject: [PATCH] #163 Fixed: Viewing branches that share the same name as a file in the repository. --- src/dataSource.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dataSource.ts b/src/dataSource.ts index c28151ab..8df1e445 100644 --- a/src/dataSource.ts +++ b/src/dataSource.ts @@ -533,6 +533,7 @@ export class DataSource { if (showRemoteBranches) args.push('--remotes'); args.push('HEAD'); } + args.push('--'); return this.spawnGit(args, repo, (stdout) => { let lines = stdout.split(EOL_REGEX);