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/errors.proto')
-rw-r--r--proto/errors.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto/errors.proto b/proto/errors.proto
index b4078aae1..4a600adc5 100644
--- a/proto/errors.proto
+++ b/proto/errors.proto
@@ -67,6 +67,12 @@ message ReferenceExistsError {
string oid = 2;
}
+// ReferenceNotFoundError is an error retruned when a reference that ought to exist does not exist.
+message ReferenceNotFoundError {
+ // ReferenceName is the name of the reference that does not exist.
+ bytes reference_name = 1;
+}
+
// ReferenceUpdateError is an error returned when updating a reference has
// failed.
message ReferenceUpdateError {