File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,24 @@ internal enum GitErrorCode
25
25
/// </summary>
26
26
Buffer = - 6 ,
27
27
28
+ /// <summary>
29
+ /// Callback error.
30
+ /// </summary>
31
+ User = - 7 ,
32
+
33
+ /// <summary>
34
+ /// Operation cannot be performed against a bare repository.
35
+ /// </summary>
36
+ BareRepo = - 8 ,
37
+
28
38
/// <summary>
29
39
/// Skip and passthrough the given ODB backend.
30
40
/// </summary>
31
41
PassThrough = - 30 ,
32
42
33
43
/// <summary>
34
- /// The revision walker is empty; there are no more commits left to iterate.
44
+ /// There are no more entries left to iterate.
35
45
/// </summary>
36
- RevWalkOver = - 31 ,
46
+ IterOver = - 31 ,
37
47
}
38
48
}
Original file line number Diff line number Diff line change @@ -1269,7 +1269,7 @@ public static ObjectId git_revwalk_next(RevWalkerSafeHandle walker)
1269
1269
GitOid ret ;
1270
1270
int res = NativeMethods . git_revwalk_next ( out ret , walker ) ;
1271
1271
1272
- if ( res == ( int ) GitErrorCode . RevWalkOver )
1272
+ if ( res == ( int ) GitErrorCode . IterOver )
1273
1273
{
1274
1274
return null ;
1275
1275
}
You can’t perform that action at this time.
0 commit comments