File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,9 @@ public static object GetQuickViewData(FileState fileState)
104104 if ( fileState . IsState ( FileStates . ModifiedInWorkdir ) || fileState . IsState ( FileStates . ModifiedInIndex ) )
105105 {
106106 string diff ;
107+ Debug . pauseGitCommanderStdWrites = true ;
107108 if ( ! Repository . GetDiff ( fileState . filename , out diff ) ) throw new Exception ( Repository . lastError ) ;
109+ Debug . pauseGitCommanderStdWrites = false ;
108110
109111 // remove meta data stage 1
110112 var match = Regex . Match ( diff , @"@@.*?(@@).*?\n(.*)" , RegexOptions . Singleline ) ;
@@ -145,6 +147,7 @@ public static object GetQuickViewData(FileState fileState)
145147 }
146148 catch ( Exception e )
147149 {
150+ Debug . pauseGitCommanderStdWrites = false ;
148151 Debug . LogError ( "Failed to refresh quick view: " + e . Message , true ) ;
149152 return null ;
150153 }
You can’t perform that action at this time.
0 commit comments