File tree 1 file changed +3
-0
lines changed
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)
104
104
if ( fileState . IsState ( FileStates . ModifiedInWorkdir ) || fileState . IsState ( FileStates . ModifiedInIndex ) )
105
105
{
106
106
string diff ;
107
+ Debug . pauseGitCommanderStdWrites = true ;
107
108
if ( ! Repository . GetDiff ( fileState . filename , out diff ) ) throw new Exception ( Repository . lastError ) ;
109
+ Debug . pauseGitCommanderStdWrites = false ;
108
110
109
111
// remove meta data stage 1
110
112
var match = Regex . Match ( diff , @"@@.*?(@@).*?\n(.*)" , RegexOptions . Singleline ) ;
@@ -145,6 +147,7 @@ public static object GetQuickViewData(FileState fileState)
145
147
}
146
148
catch ( Exception e )
147
149
{
150
+ Debug . pauseGitCommanderStdWrites = false ;
148
151
Debug . LogError ( "Failed to refresh quick view: " + e . Message , true ) ;
149
152
return null ;
150
153
}
You can’t perform that action at this time.
0 commit comments