File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 "config.showInlineOpenFileAction" : " Controls whether to show an inline Open File action in the Git changes view." ,
7171 "config.inputValidation" : " Controls when to show commit message input validation." ,
7272 "config.detectSubmodules" : " Controls whether to automatically detect git submodules." ,
73- "config.detectSubmodulesLimit" : " Controls the number of git submodules detected." ,
73+ "config.detectSubmodulesLimit" : " Controls the limit of git submodules detected." ,
7474 "colors.modified" : " Color for modified resources." ,
7575 "colors.deleted" : " Color for deleted resources." ,
7676 "colors.untracked" : " Color for untracked resources." ,
Original file line number Diff line number Diff line change @@ -227,9 +227,9 @@ export class Model {
227227 const changeListener = repository . onDidChangeRepository ( uri => this . _onDidChangeRepository . fire ( { repository, uri } ) ) ;
228228 const originalResourceChangeListener = repository . onDidChangeOriginalResource ( uri => this . _onDidChangeOriginalResource . fire ( { repository, uri } ) ) ;
229229
230- const submodulesLimit = < number > workspace
230+ const submodulesLimit = workspace
231231 . getConfiguration ( 'git' , Uri . file ( repository . root ) )
232- . get < number > ( 'detectSubmodulesLimit' ) ;
232+ . get < number > ( 'detectSubmodulesLimit' ) as number ;
233233
234234 const checkForSubmodules = ( ) => {
235235 if ( repository . submodules . length > submodulesLimit ) {
You can’t perform that action at this time.
0 commit comments