File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/vs/workbench/api/browser Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ import { IModelService } from 'vs/editor/common/services/model';
27
27
import { ITextModelContentProvider , ITextModelService } from 'vs/editor/common/services/resolverService' ;
28
28
import { Schemas } from 'vs/base/common/network' ;
29
29
import { ITextModel } from 'vs/editor/common/model' ;
30
- import { structuralEquals } from 'vs/base/common/equals' ;
31
30
32
31
function getIconFromIconDto ( iconDto ?: UriComponents | { light : UriComponents ; dark : UriComponents } | ThemeIcon ) : URI | { light : URI ; dark : URI } | ThemeIcon | undefined {
33
32
if ( iconDto === undefined ) {
@@ -164,7 +163,7 @@ class MainThreadSCMHistoryProvider implements ISCMHistoryProvider {
164
163
readonly currentHistoryItemGroupId = derived < string | undefined > ( this , reader => this . currentHistoryItemGroup . read ( reader ) ?. id ) ;
165
164
readonly currentHistoryItemGroupName = derived < string | undefined > ( this , reader => this . currentHistoryItemGroup . read ( reader ) ?. name ) ;
166
165
167
- private readonly _currentHistoryItemGroup = observableValueOpts < ISCMHistoryItemGroup | undefined > ( { owner : this , equalsFn : structuralEquals } , undefined ) ;
166
+ private readonly _currentHistoryItemGroup = observableValueOpts < ISCMHistoryItemGroup | undefined > ( { owner : this , equalsFn : ( ) => false } , undefined ) ;
168
167
get currentHistoryItemGroup ( ) { return this . _currentHistoryItemGroup ; }
169
168
170
169
constructor ( private readonly proxy : ExtHostSCMShape , private readonly handle : number ) { }
You can’t perform that action at this time.
0 commit comments