We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84651f7 commit 5d3e87cCopy full SHA for 5d3e87c
stdlib/LibGit2/src/rebase.jl
@@ -83,7 +83,7 @@ function commit(rb::GitRebase, sig::GitSignature)
83
oid_ptr, rb.ptr, C_NULL, sig.ptr, C_NULL, C_NULL)
84
catch err
85
# TODO: return current HEAD instead
86
- err.code === Error.EAPPLIED && return nothing
+ err isa GitError && err.code === Error.EAPPLIED && return nothing
87
rethrow()
88
end
89
return oid_ptr[]
0 commit comments