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:
Diffstat (limited to 'proto/repository.proto')
-rw-r--r--proto/repository.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto/repository.proto b/proto/repository.proto
index 3e3e8c505..72a62b04b 100644
--- a/proto/repository.proto
+++ b/proto/repository.proto
@@ -749,6 +749,10 @@ message CreateForkRequest {
// to be rewritten by Praefect. This is because Gitaly will use the source repository to perform a
// gRPC call, which must use the original non-rewritten repository.
Repository source_repository = 2;
+ // Revision to create the fork from. If set, the resulting fork will only have a single branch
+ // that matches the upstream revision. This revision will be the default branch of the repository.
+ // This field should be set to the unqualified revision, not the full reference name.
+ bytes revision = 3;
}
// CreateForkResponse is a response for the CreateFork RPC.