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 11import type { GitConfigKeys } from '../../../../constants' ;
22import type { Container } from '../../../../container' ;
33import type { GitCache } from '../../../../git/cache' ;
4+ import { GitErrorHandling } from '../../../../git/commandOptions' ;
45import type {
56 BranchContributionsOverview ,
67 GitBranchesSubProvider ,
@@ -467,7 +468,7 @@ export class BranchesGitSubProvider implements GitBranchesSubProvider {
467468
468469 private async getValidatedBranchName ( repoPath : string , name : string ) : Promise < string | undefined > {
469470 const data = await this . git . exec < string > (
470- { cwd : repoPath } ,
471+ { cwd : repoPath , errors : GitErrorHandling . Ignore } ,
471472 'rev-parse' ,
472473 '--verify' ,
473474 '--quiet' ,
You can’t perform that action at this time.
0 commit comments