@@ -1508,7 +1508,7 @@ private async void OnStageChunk(object _1, RoutedEventArgs _2)
15081508 diff . GeneratePatchFromSelectionSingleSide ( change , treeGuid , selection , false , chunk . IsOldSide , tmpFile ) ;
15091509 }
15101510
1511- await new Commands . Apply ( repo . FullPath , tmpFile , true , "nowarn" , "--cache --index" ) . ExecAsync ( ) ;
1511+ await new Commands . Apply ( repo . FullPath , tmpFile , true , "nowarn" , false , "--cache --index" ) . ExecAsync ( ) ;
15121512 File . Delete ( tmpFile ) ;
15131513
15141514 vm . BlockNavigation . UpdateByChunk ( chunk ) ;
@@ -1539,7 +1539,7 @@ private async void OnUnstageChunk(object _1, RoutedEventArgs _2)
15391539 else
15401540 diff . GeneratePatchFromSelectionSingleSide ( change , treeGuid , selection , true , chunk . IsOldSide , tmpFile ) ;
15411541
1542- await new Commands . Apply ( repo . FullPath , tmpFile , true , "nowarn" , "--cache --index --reverse" ) . ExecAsync ( ) ;
1542+ await new Commands . Apply ( repo . FullPath , tmpFile , true , "nowarn" , false , "--cache --index --reverse" ) . ExecAsync ( ) ;
15431543 File . Delete ( tmpFile ) ;
15441544
15451545 vm . BlockNavigation . UpdateByChunk ( chunk ) ;
@@ -1577,7 +1577,7 @@ private async void OnDiscardChunk(object _1, RoutedEventArgs _2)
15771577 diff . GeneratePatchFromSelectionSingleSide ( change , treeGuid , selection , true , chunk . IsOldSide , tmpFile ) ;
15781578 }
15791579
1580- await new Commands . Apply ( repo . FullPath , tmpFile , true , "nowarn" , "--reverse" ) . ExecAsync ( ) ;
1580+ await new Commands . Apply ( repo . FullPath , tmpFile , true , "nowarn" , false , "--reverse" ) . ExecAsync ( ) ;
15811581 File . Delete ( tmpFile ) ;
15821582
15831583 vm . BlockNavigation . UpdateByChunk ( chunk ) ;
0 commit comments