rebase: correct the return values for CurrentOperationIndex #396
Loading…
Reference in New Issue
No description provided.
Delete Branch "cmn/rebase-no-operation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We were incorectly reporting
C.GIT_REBASE_NO_OPERATION
as an error code whenit is none. We should instead return it as the value. The compiler doesn't seem
to actually look at the sizes so instead we must recreate the value ourselves
with
^uint(0)
.The error return is kept for API compatibility but should go away eventually.
This supersedes #385