File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/env/node/git/sub-providers Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
import type { GitConfigKeys } from '../../../../constants' ;
2
2
import type { Container } from '../../../../container' ;
3
3
import type { GitCache } from '../../../../git/cache' ;
4
+ import { GitErrorHandling } from '../../../../git/commandOptions' ;
4
5
import type {
5
6
BranchContributionsOverview ,
6
7
GitBranchesSubProvider ,
@@ -467,7 +468,7 @@ export class BranchesGitSubProvider implements GitBranchesSubProvider {
467
468
468
469
private async getValidatedBranchName ( repoPath : string , name : string ) : Promise < string | undefined > {
469
470
const data = await this . git . exec < string > (
470
- { cwd : repoPath } ,
471
+ { cwd : repoPath , errors : GitErrorHandling . Ignore } ,
471
472
'rev-parse' ,
472
473
'--verify' ,
473
474
'--quiet' ,
You can’t perform that action at this time.
0 commit comments