@@ -6,7 +6,6 @@ import type { CommitsQueryResults, FilesQueryResults } from '../../git/queryResu
66import { getChangesForChangelog } from '../../git/utils/-webview/log.utils' ;
77import type { AIGenerateChangelogChanges } from '../../plus/ai/aiProviderService' ;
88import { configuration } from '../../system/-webview/configuration' ;
9- import { gate } from '../../system/decorators/-webview/gate' ;
109import { debug } from '../../system/decorators/log' ;
1110import { map } from '../../system/iterable' ;
1211import { pauseOnCancelOrTimeout } from '../../system/promise' ;
@@ -209,11 +208,9 @@ export class ResultsCommitsNode<View extends ViewsWithCommits = ViewsWithCommits
209208 return item ;
210209 }
211210
212- @gate ( )
213211 @debug ( )
214212 override refresh ( reset : boolean = false ) : void {
215213 if ( reset ) {
216- this . _commitsQueryResults = undefined ;
217214 this . _commitsQueryResultsPromise = undefined ;
218215 void this . getCommitsQueryResults ( ) ;
219216 }
@@ -226,7 +223,6 @@ export class ResultsCommitsNode<View extends ViewsWithCommits = ViewsWithCommits
226223 this . limit ?? configuration . get ( 'advanced.maxSearchItems' ) ,
227224 ) ;
228225 const results = await this . _commitsQueryResultsPromise ;
229- this . _commitsQueryResults = results ;
230226
231227 this . _hasMore = results . hasMore ;
232228
@@ -241,11 +237,6 @@ export class ResultsCommitsNode<View extends ViewsWithCommits = ViewsWithCommits
241237 return this . _commitsQueryResultsPromise ;
242238 }
243239
244- private _commitsQueryResults : CommitsQueryResults | undefined ;
245- private maybeGetCommitsQueryResults ( ) : CommitsQueryResults | undefined {
246- return this . _commitsQueryResults ;
247- }
248-
249240 private _hasMore = true ;
250241 get hasMore ( ) : boolean {
251242 return this . _hasMore ;
0 commit comments