This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Stops showing <remote>/HEAD as a branch
main
Eric Amodio
4 years ago
parent
49e33fd931
commit
68004f091a
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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/
Write
Preview
Loading…
Cancel
Save