diff options
author | Toon Claes <toon@gitlab.com> | 2021-01-20 13:10:57 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2021-02-17 18:12:20 +0300 |
commit | 8f979d5ed091a28419842ad62bb9137a73296c4e (patch) | |
tree | f2ac721f500adbb9b4da5252caa0f3169dd4fb13 /internal/git2go | |
parent | 19406ce79ed9b99c6097cc0bbfd2d5cc50750d30 (diff) |
Introduce requestFetchingStartRevision interface
Before UserRevert can revert a commit, it might need to fetch the commit
from a different repository. This is done by the fetchStartRevision
method. This method used the UserRevertRequest to get all info for
fetching that revision.
UserCherryPick needs to do the same. Luckily both request RPCs have the
same fields to do so. This commit changes the input argument to be an
interface that's compatible with both request RPCs. This will allow
UserCherryPick to also use the existing fetchStartRevision method.
Diffstat (limited to 'internal/git2go')
0 files changed, 0 insertions, 0 deletions