File tree 1 file changed +8
-1
lines changed 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1631,7 +1631,11 @@ public static GitRebaseOperation git_rebase_operation_byindex(
1631
1631
{
1632
1632
Debug . Assert ( index >= 0 ) ;
1633
1633
IntPtr ptr = NativeMethods . git_rebase_operation_byindex ( rebase , ( ( UIntPtr ) index ) ) ;
1634
- return ptr . MarshalAs < GitRebaseOperation > ( ) ;
1634
+ GitRebaseOperation operation = ptr . MarshalAs < GitRebaseOperation > ( ) ;
1635
+
1636
+ // Workaround until 92e87dd74 from libgit2 is consumed by LibGit2#
1637
+ operation . exec = IntPtr . Zero ;
1638
+ return operation ;
1635
1639
}
1636
1640
1637
1641
/// <summary>
@@ -1656,6 +1660,9 @@ public static GitRebaseOperation git_rebase_next(RebaseSafeHandle rebase,
1656
1660
1657
1661
// If successsful, then marshal native struct to managed struct.
1658
1662
operation = ptr . MarshalAs < GitRebaseOperation > ( ) ;
1663
+
1664
+ // Workaround until 92e87dd74 from libgit2 is consumed by LibGit2#
1665
+ operation . exec = IntPtr . Zero ;
1659
1666
}
1660
1667
1661
1668
return operation ;
You can’t perform that action at this time.
0 commit comments