Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2021-01-20 13:10:57 +0300
committerToon Claes <toon@gitlab.com>2021-02-17 18:12:20 +0300
commit8f979d5ed091a28419842ad62bb9137a73296c4e (patch)
treef2ac721f500adbb9b4da5252caa0f3169dd4fb13 /internal/git2go
parent19406ce79ed9b99c6097cc0bbfd2d5cc50750d30 (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