diff --git a/src/git/parsers/branchParser.ts b/src/git/parsers/branchParser.ts index 6d11b8b..415ee7a 100644 --- a/src/git/parsers/branchParser.ts +++ b/src/git/parsers/branchParser.ts @@ -44,6 +44,8 @@ export class GitBranchParser { if (name.startsWith('refs/remotes/')) { // Strip off refs/remotes/ name = name.substr(13); + if (name.endsWith('/HEAD')) continue; + remote = true; } else { // Strip off refs/heads/