branch: simplify error handling for git_branch_move()
The cleanup needs to happen anyway, so set the error code and jump there instead of copying the code.
Showing
Please
register
or
sign in
to comment
The cleanup needs to happen anyway, so set the error code and jump there instead of copying the code.