Browse Source

Stops showing <remote>/HEAD as a branch

main
Eric Amodio 4 years ago
parent
commit
68004f091a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/git/parsers/branchParser.ts

+ 2
- 0
src/git/parsers/branchParser.ts View File

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

Loading…
Cancel
Save