@@ -42,9 +42,9 @@ const millisecondsPerMinute = 60 * 1000;
4242const  millisecondsPerHour  =  60  *  60  *  1000 ; 
4343const  millisecondsPerDay  =  24  *  60  *  60  *  1000 ; 
4444
45- const  dotGitWatcherGlobFiles  =  'index,HEAD,*_HEAD,MERGE_*,rebase-merge/**,sequencer/**' ; 
45+ const  dotGitWatcherGlobFiles  =  'index,HEAD,*_HEAD,MERGE_*,rebase-apply/**,rebase- merge/**,sequencer/**' ; 
4646const  dotGitWatcherGlobWorktreeFiles  = 
47- 	'worktrees/*,worktrees/**/index,worktrees/**/HEAD,worktrees/**/*_HEAD,worktrees/**/MERGE_*,worktrees/**/rebase-merge/**,worktrees/**/sequencer/**' ; 
47+ 	'worktrees/*,worktrees/**/index,worktrees/**/HEAD,worktrees/**/*_HEAD,worktrees/**/MERGE_*,worktrees/**/rebase-merge/**,worktrees/**/rebase-apply/**,worktrees/**/ sequencer/**' ; 
4848
4949const  dotGitWatcherGlobRoot  =  `{${ dotGitWatcherGlobFiles }  }` ; 
5050const  dotGitWatcherGlobCommon  =  `{config,refs/**,${ dotGitWatcherGlobWorktreeFiles }  }` ; 
@@ -454,7 +454,7 @@ export class Repository implements Disposable {
454454
455455	@debug ( ) 
456456	private  onRepositoryChanged ( uri : Uri  |  undefined ,  base : Uri ,  _reason : 'create'  |  'change'  |  'delete' )  { 
457- 		// TODO @eamodio  Revisit -- as I can 't seem to get this to  work as a  negative glob pattern match when creating the watcher 
457+ 		// VS Code won 't work with  negative glob pattern match when creating the watcher, so we have to ignore it here  
458458		if  ( uri ?. path . includes ( '/fsmonitor--daemon/' ) )  { 
459459			return ; 
460460		} 
@@ -467,7 +467,7 @@ export class Repository implements Disposable {
467467		const  match  = 
468468			uri  !=  null 
469469				? // Move worktrees first, since if it is in a worktree it isn't affecting this repo directly 
470- 				  / ( w o r k t r e e s | i n d e x | H E A D | F E T C H _ H E A D | O R I G _ H E A D | C H E R R Y _ P I C K _ H E A D | M E R G E _ H E A D | R E B A S E _ H E A D | r e b a s e - m e r g e | R E V E R T _ H E A D | c o n f i g | r e f s \/ (?: h e a d s | r e m o t e s | s t a s h | t a g s ) ) / . exec ( 
470+ 				  / ( w o r k t r e e s | i n d e x | H E A D | F E T C H _ H E A D | O R I G _ H E A D | C H E R R Y _ P I C K _ H E A D | M E R G E _ H E A D | R E B A S E _ H E A D | r e b a s e - m e r g e | r e b a s e - a p p l y | R E V E R T _ H E A D | c o n f i g | r e f s \/ (?: h e a d s | r e m o t e s | s t a s h | t a g s ) ) / . exec ( 
471471						this . container . git . getRelativePath ( uri ,  base ) , 
472472				  ) 
473473				: undefined ; 
@@ -504,6 +504,7 @@ export class Repository implements Disposable {
504504
505505				case  'REBASE_HEAD' :
506506				case  'rebase-merge' :
507+ 				case  'rebase-apply' :
507508					this . fireChange ( RepositoryChange . Rebase ,  RepositoryChange . PausedOperationStatus ) ; 
508509					return ; 
509510
0 commit comments