File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/env/node/git/sub-providers Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -140,8 +140,8 @@ export class BranchesGitSubProvider implements GitBranchesSubProvider {
140140 { cwd : repoPath } ,
141141 'for-each-ref' ,
142142 ...parser . arguments ,
143- 'refs/heads' ,
144- 'refs/remotes' ,
143+ 'refs/heads/ ' ,
144+ 'refs/remotes/ ' ,
145145 ) ;
146146 // If we don't get any data, assume the repo doesn't have any commits yet so check if we have a current branch
147147 if ( ! data ?. length ) {
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export class TagsGitSubProvider implements GitTagsSubProvider {
5252 { cwd : repoPath } ,
5353 'for-each-ref' ,
5454 ...parser . arguments ,
55- 'refs/tags' ,
55+ 'refs/tags/ ' ,
5656 ) ;
5757
5858 if ( ! data ?. length ) return emptyPagedResult ;
You can’t perform that action at this time.
0 commit comments