@@ -30,7 +30,6 @@ import { ITextModel } from '../../../editor/common/model.js';
3030import { structuralEquals } from '../../../base/common/equals.js' ;
3131import { historyItemBaseRefColor , historyItemRefColor , historyItemRemoteRefColor } from '../../contrib/scm/browser/scmHistory.js' ;
3232import { ColorIdentifier } from '../../../platform/theme/common/colorUtils.js' ;
33- import { ILogService } from '../../../platform/log/common/log.js' ;
3433
3534function getIconFromIconDto ( iconDto ?: UriComponents | { light : UriComponents ; dark : UriComponents } | ThemeIcon ) : URI | { light : URI ; dark : URI } | ThemeIcon | undefined {
3635 if ( iconDto === undefined ) {
@@ -313,7 +312,6 @@ class MainThreadSCMProvider implements ISCMProvider {
313312 private readonly _rootUri : URI | undefined ,
314313 private readonly _iconPath : URI | { light : URI ; dark : URI } | ThemeIcon | undefined ,
315314 private readonly _inputBoxTextModel : ITextModel ,
316- private readonly _logService : ILogService ,
317315 private readonly _quickDiffService : IQuickDiffService ,
318316 private readonly _uriIdentService : IUriIdentityService ,
319317 private readonly _workspaceContextService : IWorkspaceContextService
@@ -348,8 +346,6 @@ class MainThreadSCMProvider implements ISCMProvider {
348346 }
349347
350348 if ( typeof features . statusBarCommands !== 'undefined' ) {
351- this . _logService . trace ( '[MainThreadSCMProvider][$updateSourceControl] rootUri: ' , this . rootUri ?. toString ( ) ) ;
352- this . _logService . trace ( '[MainThreadSCMProvider][$updateSourceControl] statusBarCommands: ' , features . statusBarCommands ) ;
353349 this . _statusBarCommands . set ( features . statusBarCommands , undefined ) ;
354350 }
355351
@@ -556,7 +552,6 @@ export class MainThreadSCM implements MainThreadSCMShape {
556552 @ISCMService private readonly scmService : ISCMService ,
557553 @ISCMViewService private readonly scmViewService : ISCMViewService ,
558554 @ILanguageService private readonly languageService : ILanguageService ,
559- @ILogService private readonly logService : ILogService ,
560555 @IModelService private readonly modelService : IModelService ,
561556 @ITextModelService private readonly textModelService : ITextModelService ,
562557 @IQuickDiffService private readonly quickDiffService : IQuickDiffService ,
@@ -582,7 +577,7 @@ export class MainThreadSCM implements MainThreadSCMShape {
582577 this . _repositoryBarriers . set ( handle , new Barrier ( ) ) ;
583578
584579 const inputBoxTextModelRef = await this . textModelService . createModelReference ( URI . revive ( inputBoxDocumentUri ) ) ;
585- const provider = new MainThreadSCMProvider ( this . _proxy , handle , parentHandle , id , label , rootUri ? URI . revive ( rootUri ) : undefined , getIconFromIconDto ( iconPath ) , inputBoxTextModelRef . object . textEditorModel , this . logService , this . quickDiffService , this . _uriIdentService , this . workspaceContextService ) ;
580+ const provider = new MainThreadSCMProvider ( this . _proxy , handle , parentHandle , id , label , rootUri ? URI . revive ( rootUri ) : undefined , getIconFromIconDto ( iconPath ) , inputBoxTextModelRef . object . textEditorModel , this . quickDiffService , this . _uriIdentService , this . workspaceContextService ) ;
586581 const repository = this . scmService . registerSCMProvider ( provider ) ;
587582 this . _repositories . set ( handle , repository ) ;
588583
0 commit comments