Skip to content

Commit c48630b

Browse files
committed
git_stash_drop should return 0 on success.
1 parent ec7a71f commit c48630b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp/Core/Proxy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2719,7 +2719,7 @@ public static void git_stash_drop(RepositorySafeHandle repo, int index)
27192719
using (ThreadAffinity())
27202720
{
27212721
int res = NativeMethods.git_stash_drop(repo, (UIntPtr) index);
2722-
Ensure.BooleanResult(res);
2722+
Ensure.ZeroResult(res);
27232723
}
27242724
}
27252725

0 commit comments

Comments
 (0)