File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number
8000
Diff line change @@ -228,24 +228,26 @@ public static extern int git_diff_tree_to_tree(
228
228
public static extern int git_diff_index_to_tree (
229
229
RepositorySafeHandle repo ,
230
230
GitDiffOptions options ,
231
- IntPtr oldTree ,
232
- out IntPtr diff ) ;
231
+ GitObjectSafeHandle oldTree ,
232
+ out DiffListSafeHandle diff ) ;
233
+
234
+ [ DllImport ( libgit2 ) ]
235
+ public static extern int git_diff_merge (
236
+ DiffListSafeHandle onto ,
237
+ DiffListSafeHandle from ) ;
233
238
234
239
[ DllImport ( libgit2 ) ]
235
240
public static extern int git_diff_workdir_to_index (
236
241
RepositorySafeHandle repo ,
237
242
GitDiffOptions options ,
238
- out IntPtr diff ) ;
243
+ out DiffListSafeHandle diff ) ;
239
244
240
245
[ DllImport ( libgit2 ) ]
241
246
public static extern int git_diff_workdir_to_tree (
242
247
RepositorySafeHandle repo ,
243
248
GitDiffOptions options ,
244
- IntPtr oldTree ,
245
- out IntPtr diff ) ;
246
-
247
- [ DllImport ( libgit2 ) ]
248
- public static extern int git_diff_merge ( IntPtr onto , IntPtr from ) ;
249
+ GitObjectSafeHandle oldTree ,
250
+ out DiffListSafeHandle diff ) ;
249
251
250
252
internal delegate int git_diff_file_fn (
251
253
IntPtr data ,
You can’t perform that action at this time.
0 commit comments