This repository was archived by the owner on Feb 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -788,9 +788,9 @@ public static Conflict git_index_conflict_get(
788
788
Ensure . ZeroResult ( res ) ;
789
789
790
790
return new Conflict (
791
- IndexEntry . BuildFromPtr ( repo , ancestor ) ,
792
- IndexEntry . BuildFromPtr ( repo , ours ) ,
793
- IndexEntry . BuildFromPtr ( repo , theirs ) ) ;
791
+ IndexEntry . BuildFromPtr ( ancestor ) ,
792
+ IndexEntry . BuildFromPtr ( ours ) ,
793
+ IndexEntry . BuildFromPtr ( theirs ) ) ;
794
794
}
795
795
796
796
public static int git_index_entrycount ( IndexSafeHandle index )
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public virtual IndexEntry this[string path]
80
80
Ensure . ArgumentNotNullOrEmptyString ( path , "path" ) ;
81
81
82
82
IndexEntrySafeHandle entryHandle = Proxy . git_index_get_bypath ( handle , path , 0 ) ;
83
- return IndexEntry . BuildFromPtr ( repo , entryHandle ) ;
83
+ return IndexEntry . BuildFromPtr ( entryHandle ) ;
84
84
}
85
85
}
86
86
@@ -89,7 +89,7 @@ private IndexEntry this[int index]
89
89
get
90
90
{
91
91
IndexEntrySafeHandle entryHandle = Proxy . git_index_get_byindex ( handle , ( UIntPtr ) index ) ;
92
- return IndexEntry . BuildFromPtr ( repo , entryHandle ) ;
92
+ return IndexEntry . BuildFromPtr ( entryHandle ) ;
93
93
}
94
94
}
95
95
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public class IndexEntry : IEquatable<IndexEntry>
35
35
/// </summary>
36
36
public virtual ObjectId Id { get ; private set ; }
37
37
38
- internal static IndexEntry BuildFromPtr ( Repository repo , IndexEntrySafeHandle handle )
38
+ internal static IndexEntry BuildFromPtr ( IndexEntrySafeHandle handle )
39
39
{
40
40
if ( handle == null || handle . IsZero )
41
41
{
You can’t perform that action at this time.
0 commit comments