operations: Implement UserRebaseConfirmable in pure git
Add a pure git implemented UserRebaseConfirmable behind a feature flag.
And a new Rebase
method for localrepo.Repo
is added as a rudimentary rebase functionality, which can be used as a drop-in replacement for git2go in UserRebaeToRef
and UserRebaseConfirmable
.
Test refactors for UserRebaseConfirmable
to support SHA256 would be done in another MR to avoid huge changes that are hard to review.
Closes: #4579 (closed)
Edited by Xing Xin