@@ -138,24 +138,24 @@ private unsafe void AddStatusEntryForDelta(FileStatus gitStatus, git_diff_delta*
138138 if ( ( gitStatus & FileStatus . RenamedInIndex ) == FileStatus . RenamedInIndex )
139139 {
140140 headToIndexRenameDetails =
141- new RenameDetails ( LaxFilePathMarshaler . FromNative ( deltaHeadToIndex ->old_file . Path ) ,
142- LaxFilePathMarshaler . FromNative ( deltaHeadToIndex ->new_file . Path ) ,
141+ new RenameDetails ( LaxFilePathMarshaler . FromNative ( deltaHeadToIndex ->old_file . Path ) . Native ,
142+ LaxFilePathMarshaler . FromNative ( deltaHeadToIndex ->new_file . Path ) . Native ,
143143 ( int ) deltaHeadToIndex ->similarity ) ;
144144 }
145145
146146 if ( ( gitStatus & FileStatus . RenamedInWorkdir ) == FileStatus . RenamedInWorkdir )
147147 {
148148 indexToWorkDirRenameDetails =
149- new RenameDetails ( LaxFilePathMarshaler . FromNative ( deltaIndexToWorkDir ->old_file . Path ) ,
150- LaxFilePathMarshaler . FromNative ( deltaIndexToWorkDir ->new_file . Path ) ,
149+ new RenameDetails ( LaxFilePathMarshaler . FromNative ( deltaIndexToWorkDir ->old_file . Path ) . Native ,
150+ LaxFilePathMarshaler . FromNative ( deltaIndexToWorkDir ->new_file . Path ) . Native ,
151151 ( int ) deltaIndexToWorkDir ->similarity ) ;
152152 }
153153
154154 var filePath = ( deltaIndexToWorkDir != null )
155155 ? LaxFilePathMarshaler . FromNative ( deltaIndexToWorkDir ->new_file . Path )
156156 : LaxFilePathMarshaler . FromNative ( deltaHeadToIndex ->new_file . Path ) ;
157157
158- StatusEntry statusEntry = new StatusEntry ( filePath , gitStatus , headToIndexRenameDetails , indexToWorkDirRenameDetails ) ;
158+ StatusEntry statusEntry = new StatusEntry ( filePath . Native , gitStatus , headToIndexRenameDetails , indexToWorkDirRenameDetails ) ;
159159
160160 if ( gitStatus == FileStatus . Unaltered )
161161 {
0 commit comments