diff --git a/go/gitalypb/ref.pb.go b/go/gitalypb/ref.pb.go index 90e1b293d5fac403919c1c0c7f138ef789876ac8..2151cd177829bf4cf346419b5babcadacdb29710 100644 --- a/go/gitalypb/ref.pb.go +++ b/go/gitalypb/ref.pb.go @@ -47,7 +47,7 @@ func (x FindLocalBranchesRequest_SortBy) String() string { return proto.EnumName(FindLocalBranchesRequest_SortBy_name, int32(x)) } func (FindLocalBranchesRequest_SortBy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{10, 0} + return fileDescriptor_ref_71ec338a5461d812, []int{10, 0} } type CreateBranchResponse_Status int32 @@ -76,7 +76,7 @@ func (x CreateBranchResponse_Status) String() string { return proto.EnumName(CreateBranchResponse_Status_name, int32(x)) } func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{21, 0} + return fileDescriptor_ref_71ec338a5461d812, []int{21, 0} } type ListNewBlobsRequest struct { @@ -94,7 +94,7 @@ func (m *ListNewBlobsRequest) Reset() { *m = ListNewBlobsRequest{} } func (m *ListNewBlobsRequest) String() string { return proto.CompactTextString(m) } func (*ListNewBlobsRequest) ProtoMessage() {} func (*ListNewBlobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{0} + return fileDescriptor_ref_71ec338a5461d812, []int{0} } func (m *ListNewBlobsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNewBlobsRequest.Unmarshal(m, b) @@ -146,7 +146,7 @@ func (m *ListNewBlobsResponse) Reset() { *m = ListNewBlobsResponse{} } func (m *ListNewBlobsResponse) String() string { return proto.CompactTextString(m) } func (*ListNewBlobsResponse) ProtoMessage() {} func (*ListNewBlobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{1} + return fileDescriptor_ref_71ec338a5461d812, []int{1} } func (m *ListNewBlobsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNewBlobsResponse.Unmarshal(m, b) @@ -184,7 +184,7 @@ func (m *FindDefaultBranchNameRequest) Reset() { *m = FindDefaultBranchN func (m *FindDefaultBranchNameRequest) String() string { return proto.CompactTextString(m) } func (*FindDefaultBranchNameRequest) ProtoMessage() {} func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{2} + return fileDescriptor_ref_71ec338a5461d812, []int{2} } func (m *FindDefaultBranchNameRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindDefaultBranchNameRequest.Unmarshal(m, b) @@ -222,7 +222,7 @@ func (m *FindDefaultBranchNameResponse) Reset() { *m = FindDefaultBranch func (m *FindDefaultBranchNameResponse) String() string { return proto.CompactTextString(m) } func (*FindDefaultBranchNameResponse) ProtoMessage() {} func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{3} + return fileDescriptor_ref_71ec338a5461d812, []int{3} } func (m *FindDefaultBranchNameResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindDefaultBranchNameResponse.Unmarshal(m, b) @@ -260,7 +260,7 @@ func (m *FindAllBranchNamesRequest) Reset() { *m = FindAllBranchNamesReq func (m *FindAllBranchNamesRequest) String() string { return proto.CompactTextString(m) } func (*FindAllBranchNamesRequest) ProtoMessage() {} func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{4} + return fileDescriptor_ref_71ec338a5461d812, []int{4} } func (m *FindAllBranchNamesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAllBranchNamesRequest.Unmarshal(m, b) @@ -298,7 +298,7 @@ func (m *FindAllBranchNamesResponse) Reset() { *m = FindAllBranchNamesRe func (m *FindAllBranchNamesResponse) String() string { return proto.CompactTextString(m) } func (*FindAllBranchNamesResponse) ProtoMessage() {} func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{5} + return fileDescriptor_ref_71ec338a5461d812, []int{5} } func (m *FindAllBranchNamesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAllBranchNamesResponse.Unmarshal(m, b) @@ -336,7 +336,7 @@ func (m *FindAllTagNamesRequest) Reset() { *m = FindAllTagNamesRequest{} func (m *FindAllTagNamesRequest) String() string { return proto.CompactTextString(m) } func (*FindAllTagNamesRequest) ProtoMessage() {} func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{6} + return fileDescriptor_ref_71ec338a5461d812, []int{6} } func (m *FindAllTagNamesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAllTagNamesRequest.Unmarshal(m, b) @@ -374,7 +374,7 @@ func (m *FindAllTagNamesResponse) Reset() { *m = FindAllTagNamesResponse func (m *FindAllTagNamesResponse) String() string { return proto.CompactTextString(m) } func (*FindAllTagNamesResponse) ProtoMessage() {} func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{7} + return fileDescriptor_ref_71ec338a5461d812, []int{7} } func (m *FindAllTagNamesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAllTagNamesResponse.Unmarshal(m, b) @@ -416,7 +416,7 @@ func (m *FindRefNameRequest) Reset() { *m = FindRefNameRequest{} } func (m *FindRefNameRequest) String() string { return proto.CompactTextString(m) } func (*FindRefNameRequest) ProtoMessage() {} func (*FindRefNameRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{8} + return fileDescriptor_ref_71ec338a5461d812, []int{8} } func (m *FindRefNameRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindRefNameRequest.Unmarshal(m, b) @@ -469,7 +469,7 @@ func (m *FindRefNameResponse) Reset() { *m = FindRefNameResponse{} } func (m *FindRefNameResponse) String() string { return proto.CompactTextString(m) } func (*FindRefNameResponse) ProtoMessage() {} func (*FindRefNameResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{9} + return fileDescriptor_ref_71ec338a5461d812, []int{9} } func (m *FindRefNameResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindRefNameResponse.Unmarshal(m, b) @@ -508,7 +508,7 @@ func (m *FindLocalBranchesRequest) Reset() { *m = FindLocalBranchesReque func (m *FindLocalBranchesRequest) String() string { return proto.CompactTextString(m) } func (*FindLocalBranchesRequest) ProtoMessage() {} func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{10} + return fileDescriptor_ref_71ec338a5461d812, []int{10} } func (m *FindLocalBranchesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindLocalBranchesRequest.Unmarshal(m, b) @@ -553,7 +553,7 @@ func (m *FindLocalBranchesResponse) Reset() { *m = FindLocalBranchesResp func (m *FindLocalBranchesResponse) String() string { return proto.CompactTextString(m) } func (*FindLocalBranchesResponse) ProtoMessage() {} func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{11} + return fileDescriptor_ref_71ec338a5461d812, []int{11} } func (m *FindLocalBranchesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindLocalBranchesResponse.Unmarshal(m, b) @@ -595,7 +595,7 @@ func (m *FindLocalBranchResponse) Reset() { *m = FindLocalBranchResponse func (m *FindLocalBranchResponse) String() string { return proto.CompactTextString(m) } func (*FindLocalBranchResponse) ProtoMessage() {} func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{12} + return fileDescriptor_ref_71ec338a5461d812, []int{12} } func (m *FindLocalBranchResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindLocalBranchResponse.Unmarshal(m, b) @@ -663,7 +663,7 @@ func (m *FindLocalBranchCommitAuthor) Reset() { *m = FindLocalBranchComm func (m *FindLocalBranchCommitAuthor) String() string { return proto.CompactTextString(m) } func (*FindLocalBranchCommitAuthor) ProtoMessage() {} func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{13} + return fileDescriptor_ref_71ec338a5461d812, []int{13} } func (m *FindLocalBranchCommitAuthor) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindLocalBranchCommitAuthor.Unmarshal(m, b) @@ -720,7 +720,7 @@ func (m *FindAllBranchesRequest) Reset() { *m = FindAllBranchesRequest{} func (m *FindAllBranchesRequest) String() string { return proto.CompactTextString(m) } func (*FindAllBranchesRequest) ProtoMessage() {} func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{14} + return fileDescriptor_ref_71ec338a5461d812, []int{14} } func (m *FindAllBranchesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAllBranchesRequest.Unmarshal(m, b) @@ -772,7 +772,7 @@ func (m *FindAllBranchesResponse) Reset() { *m = FindAllBranchesResponse func (m *FindAllBranchesResponse) String() string { return proto.CompactTextString(m) } func (*FindAllBranchesResponse) ProtoMessage() {} func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{15} + return fileDescriptor_ref_71ec338a5461d812, []int{15} } func (m *FindAllBranchesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAllBranchesResponse.Unmarshal(m, b) @@ -811,7 +811,7 @@ func (m *FindAllBranchesResponse_Branch) Reset() { *m = FindAllBranchesR func (m *FindAllBranchesResponse_Branch) String() string { return proto.CompactTextString(m) } func (*FindAllBranchesResponse_Branch) ProtoMessage() {} func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{15, 0} + return fileDescriptor_ref_71ec338a5461d812, []int{15, 0} } func (m *FindAllBranchesResponse_Branch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAllBranchesResponse_Branch.Unmarshal(m, b) @@ -856,7 +856,7 @@ func (m *FindAllTagsRequest) Reset() { *m = FindAllTagsRequest{} } func (m *FindAllTagsRequest) String() string { return proto.CompactTextString(m) } func (*FindAllTagsRequest) ProtoMessage() {} func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{16} + return fileDescriptor_ref_71ec338a5461d812, []int{16} } func (m *FindAllTagsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAllTagsRequest.Unmarshal(m, b) @@ -894,7 +894,7 @@ func (m *FindAllTagsResponse) Reset() { *m = FindAllTagsResponse{} } func (m *FindAllTagsResponse) String() string { return proto.CompactTextString(m) } func (*FindAllTagsResponse) ProtoMessage() {} func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{17} + return fileDescriptor_ref_71ec338a5461d812, []int{17} } func (m *FindAllTagsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAllTagsResponse.Unmarshal(m, b) @@ -934,7 +934,7 @@ func (m *RefExistsRequest) Reset() { *m = RefExistsRequest{} } func (m *RefExistsRequest) String() string { return proto.CompactTextString(m) } func (*RefExistsRequest) ProtoMessage() {} func (*RefExistsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{18} + return fileDescriptor_ref_71ec338a5461d812, []int{18} } func (m *RefExistsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RefExistsRequest.Unmarshal(m, b) @@ -979,7 +979,7 @@ func (m *RefExistsResponse) Reset() { *m = RefExistsResponse{} } func (m *RefExistsResponse) String() string { return proto.CompactTextString(m) } func (*RefExistsResponse) ProtoMessage() {} func (*RefExistsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{19} + return fileDescriptor_ref_71ec338a5461d812, []int{19} } func (m *RefExistsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RefExistsResponse.Unmarshal(m, b) @@ -1019,7 +1019,7 @@ func (m *CreateBranchRequest) Reset() { *m = CreateBranchRequest{} } func (m *CreateBranchRequest) String() string { return proto.CompactTextString(m) } func (*CreateBranchRequest) ProtoMessage() {} func (*CreateBranchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{20} + return fileDescriptor_ref_71ec338a5461d812, []int{20} } func (m *CreateBranchRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateBranchRequest.Unmarshal(m, b) @@ -1072,7 +1072,7 @@ func (m *CreateBranchResponse) Reset() { *m = CreateBranchResponse{} } func (m *CreateBranchResponse) String() string { return proto.CompactTextString(m) } func (*CreateBranchResponse) ProtoMessage() {} func (*CreateBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{21} + return fileDescriptor_ref_71ec338a5461d812, []int{21} } func (m *CreateBranchResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateBranchResponse.Unmarshal(m, b) @@ -1118,7 +1118,7 @@ func (m *DeleteBranchRequest) Reset() { *m = DeleteBranchRequest{} } func (m *DeleteBranchRequest) String() string { return proto.CompactTextString(m) } func (*DeleteBranchRequest) ProtoMessage() {} func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{22} + return fileDescriptor_ref_71ec338a5461d812, []int{22} } func (m *DeleteBranchRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteBranchRequest.Unmarshal(m, b) @@ -1163,7 +1163,7 @@ func (m *DeleteBranchResponse) Reset() { *m = DeleteBranchResponse{} } func (m *DeleteBranchResponse) String() string { return proto.CompactTextString(m) } func (*DeleteBranchResponse) ProtoMessage() {} func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{23} + return fileDescriptor_ref_71ec338a5461d812, []int{23} } func (m *DeleteBranchResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteBranchResponse.Unmarshal(m, b) @@ -1196,7 +1196,7 @@ func (m *FindBranchRequest) Reset() { *m = FindBranchRequest{} } func (m *FindBranchRequest) String() string { return proto.CompactTextString(m) } func (*FindBranchRequest) ProtoMessage() {} func (*FindBranchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{24} + return fileDescriptor_ref_71ec338a5461d812, []int{24} } func (m *FindBranchRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindBranchRequest.Unmarshal(m, b) @@ -1241,7 +1241,7 @@ func (m *FindBranchResponse) Reset() { *m = FindBranchResponse{} } func (m *FindBranchResponse) String() string { return proto.CompactTextString(m) } func (*FindBranchResponse) ProtoMessage() {} func (*FindBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{25} + return fileDescriptor_ref_71ec338a5461d812, []int{25} } func (m *FindBranchResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindBranchResponse.Unmarshal(m, b) @@ -1268,6 +1268,90 @@ func (m *FindBranchResponse) GetBranch() *Branch { return nil } +type FindRefRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + RefPath []byte `protobuf:"bytes,2,opt,name=ref_path,json=refPath,proto3" json:"ref_path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindRefRequest) Reset() { *m = FindRefRequest{} } +func (m *FindRefRequest) String() string { return proto.CompactTextString(m) } +func (*FindRefRequest) ProtoMessage() {} +func (*FindRefRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ref_71ec338a5461d812, []int{26} +} +func (m *FindRefRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindRefRequest.Unmarshal(m, b) +} +func (m *FindRefRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindRefRequest.Marshal(b, m, deterministic) +} +func (dst *FindRefRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindRefRequest.Merge(dst, src) +} +func (m *FindRefRequest) XXX_Size() int { + return xxx_messageInfo_FindRefRequest.Size(m) +} +func (m *FindRefRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindRefRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindRefRequest proto.InternalMessageInfo + +func (m *FindRefRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindRefRequest) GetRefPath() []byte { + if m != nil { + return m.RefPath + } + return nil +} + +type FindRefResponse struct { + Ref *Ref `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindRefResponse) Reset() { *m = FindRefResponse{} } +func (m *FindRefResponse) String() string { return proto.CompactTextString(m) } +func (*FindRefResponse) ProtoMessage() {} +func (*FindRefResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ref_71ec338a5461d812, []int{27} +} +func (m *FindRefResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindRefResponse.Unmarshal(m, b) +} +func (m *FindRefResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindRefResponse.Marshal(b, m, deterministic) +} +func (dst *FindRefResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindRefResponse.Merge(dst, src) +} +func (m *FindRefResponse) XXX_Size() int { + return xxx_messageInfo_FindRefResponse.Size(m) +} +func (m *FindRefResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindRefResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindRefResponse proto.InternalMessageInfo + +func (m *FindRefResponse) GetRef() *Ref { + if m != nil { + return m.Ref + } + return nil +} + type DeleteRefsRequest struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // The following two fields are mutually exclusive @@ -1282,7 +1366,7 @@ func (m *DeleteRefsRequest) Reset() { *m = DeleteRefsRequest{} } func (m *DeleteRefsRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRefsRequest) ProtoMessage() {} func (*DeleteRefsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{26} + return fileDescriptor_ref_71ec338a5461d812, []int{28} } func (m *DeleteRefsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteRefsRequest.Unmarshal(m, b) @@ -1334,7 +1418,7 @@ func (m *DeleteRefsResponse) Reset() { *m = DeleteRefsResponse{} } func (m *DeleteRefsResponse) String() string { return proto.CompactTextString(m) } func (*DeleteRefsResponse) ProtoMessage() {} func (*DeleteRefsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{27} + return fileDescriptor_ref_71ec338a5461d812, []int{29} } func (m *DeleteRefsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteRefsResponse.Unmarshal(m, b) @@ -1378,7 +1462,7 @@ func (m *ListBranchNamesContainingCommitRequest) Reset() { func (m *ListBranchNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) } func (*ListBranchNamesContainingCommitRequest) ProtoMessage() {} func (*ListBranchNamesContainingCommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{28} + return fileDescriptor_ref_71ec338a5461d812, []int{30} } func (m *ListBranchNamesContainingCommitRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBranchNamesContainingCommitRequest.Unmarshal(m, b) @@ -1432,7 +1516,7 @@ func (m *ListBranchNamesContainingCommitResponse) Reset() { func (m *ListBranchNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) } func (*ListBranchNamesContainingCommitResponse) ProtoMessage() {} func (*ListBranchNamesContainingCommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{29} + return fileDescriptor_ref_71ec338a5461d812, []int{31} } func (m *ListBranchNamesContainingCommitResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBranchNamesContainingCommitResponse.Unmarshal(m, b) @@ -1474,7 +1558,7 @@ func (m *ListTagNamesContainingCommitRequest) Reset() { *m = ListTagName func (m *ListTagNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) } func (*ListTagNamesContainingCommitRequest) ProtoMessage() {} func (*ListTagNamesContainingCommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{30} + return fileDescriptor_ref_71ec338a5461d812, []int{32} } func (m *ListTagNamesContainingCommitRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTagNamesContainingCommitRequest.Unmarshal(m, b) @@ -1526,7 +1610,7 @@ func (m *ListTagNamesContainingCommitResponse) Reset() { *m = ListTagNam func (m *ListTagNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) } func (*ListTagNamesContainingCommitResponse) ProtoMessage() {} func (*ListTagNamesContainingCommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{31} + return fileDescriptor_ref_71ec338a5461d812, []int{33} } func (m *ListTagNamesContainingCommitResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTagNamesContainingCommitResponse.Unmarshal(m, b) @@ -1565,7 +1649,7 @@ func (m *GetTagMessagesRequest) Reset() { *m = GetTagMessagesRequest{} } func (m *GetTagMessagesRequest) String() string { return proto.CompactTextString(m) } func (*GetTagMessagesRequest) ProtoMessage() {} func (*GetTagMessagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{32} + return fileDescriptor_ref_71ec338a5461d812, []int{34} } func (m *GetTagMessagesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTagMessagesRequest.Unmarshal(m, b) @@ -1612,7 +1696,7 @@ func (m *GetTagMessagesResponse) Reset() { *m = GetTagMessagesResponse{} func (m *GetTagMessagesResponse) String() string { return proto.CompactTextString(m) } func (*GetTagMessagesResponse) ProtoMessage() {} func (*GetTagMessagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{33} + return fileDescriptor_ref_71ec338a5461d812, []int{35} } func (m *GetTagMessagesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTagMessagesResponse.Unmarshal(m, b) @@ -1658,7 +1742,7 @@ func (m *ListNewCommitsRequest) Reset() { *m = ListNewCommitsRequest{} } func (m *ListNewCommitsRequest) String() string { return proto.CompactTextString(m) } func (*ListNewCommitsRequest) ProtoMessage() {} func (*ListNewCommitsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{34} + return fileDescriptor_ref_71ec338a5461d812, []int{36} } func (m *ListNewCommitsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNewCommitsRequest.Unmarshal(m, b) @@ -1703,7 +1787,7 @@ func (m *ListNewCommitsResponse) Reset() { *m = ListNewCommitsResponse{} func (m *ListNewCommitsResponse) String() string { return proto.CompactTextString(m) } func (*ListNewCommitsResponse) ProtoMessage() {} func (*ListNewCommitsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{35} + return fileDescriptor_ref_71ec338a5461d812, []int{37} } func (m *ListNewCommitsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNewCommitsResponse.Unmarshal(m, b) @@ -1742,7 +1826,7 @@ func (m *FindAllRemoteBranchesRequest) Reset() { *m = FindAllRemoteBranc func (m *FindAllRemoteBranchesRequest) String() string { return proto.CompactTextString(m) } func (*FindAllRemoteBranchesRequest) ProtoMessage() {} func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{36} + return fileDescriptor_ref_71ec338a5461d812, []int{38} } func (m *FindAllRemoteBranchesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAllRemoteBranchesRequest.Unmarshal(m, b) @@ -1787,7 +1871,7 @@ func (m *FindAllRemoteBranchesResponse) Reset() { *m = FindAllRemoteBran func (m *FindAllRemoteBranchesResponse) String() string { return proto.CompactTextString(m) } func (*FindAllRemoteBranchesResponse) ProtoMessage() {} func (*FindAllRemoteBranchesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{37} + return fileDescriptor_ref_71ec338a5461d812, []int{39} } func (m *FindAllRemoteBranchesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindAllRemoteBranchesResponse.Unmarshal(m, b) @@ -1826,7 +1910,7 @@ func (m *PackRefsRequest) Reset() { *m = PackRefsRequest{} } func (m *PackRefsRequest) String() string { return proto.CompactTextString(m) } func (*PackRefsRequest) ProtoMessage() {} func (*PackRefsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{38} + return fileDescriptor_ref_71ec338a5461d812, []int{40} } func (m *PackRefsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PackRefsRequest.Unmarshal(m, b) @@ -1870,7 +1954,7 @@ func (m *PackRefsResponse) Reset() { *m = PackRefsResponse{} } func (m *PackRefsResponse) String() string { return proto.CompactTextString(m) } func (*PackRefsResponse) ProtoMessage() {} func (*PackRefsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ref_3f3886b9aef026ed, []int{39} + return fileDescriptor_ref_71ec338a5461d812, []int{41} } func (m *PackRefsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PackRefsResponse.Unmarshal(m, b) @@ -1918,6 +2002,8 @@ func init() { proto.RegisterType((*DeleteBranchResponse)(nil), "gitaly.DeleteBranchResponse") proto.RegisterType((*FindBranchRequest)(nil), "gitaly.FindBranchRequest") proto.RegisterType((*FindBranchResponse)(nil), "gitaly.FindBranchResponse") + proto.RegisterType((*FindRefRequest)(nil), "gitaly.FindRefRequest") + proto.RegisterType((*FindRefResponse)(nil), "gitaly.FindRefResponse") proto.RegisterType((*DeleteRefsRequest)(nil), "gitaly.DeleteRefsRequest") proto.RegisterType((*DeleteRefsResponse)(nil), "gitaly.DeleteRefsResponse") proto.RegisterType((*ListBranchNamesContainingCommitRequest)(nil), "gitaly.ListBranchNamesContainingCommitRequest") @@ -1962,6 +2048,7 @@ type RefServiceClient interface { CreateBranch(ctx context.Context, in *CreateBranchRequest, opts ...grpc.CallOption) (*CreateBranchResponse, error) DeleteBranch(ctx context.Context, in *DeleteBranchRequest, opts ...grpc.CallOption) (*DeleteBranchResponse, error) FindBranch(ctx context.Context, in *FindBranchRequest, opts ...grpc.CallOption) (*FindBranchResponse, error) + FindRef(ctx context.Context, in *FindRefRequest, opts ...grpc.CallOption) (*FindRefResponse, error) DeleteRefs(ctx context.Context, in *DeleteRefsRequest, opts ...grpc.CallOption) (*DeleteRefsResponse, error) ListBranchNamesContainingCommit(ctx context.Context, in *ListBranchNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListBranchNamesContainingCommitClient, error) ListTagNamesContainingCommit(ctx context.Context, in *ListTagNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListTagNamesContainingCommitClient, error) @@ -2226,6 +2313,15 @@ func (c *refServiceClient) FindBranch(ctx context.Context, in *FindBranchRequest return out, nil } +func (c *refServiceClient) FindRef(ctx context.Context, in *FindRefRequest, opts ...grpc.CallOption) (*FindRefResponse, error) { + out := new(FindRefResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefService/FindRef", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *refServiceClient) DeleteRefs(ctx context.Context, in *DeleteRefsRequest, opts ...grpc.CallOption) (*DeleteRefsResponse, error) { out := new(DeleteRefsResponse) err := c.cc.Invoke(ctx, "/gitaly.RefService/DeleteRefs", in, out, opts...) @@ -2420,6 +2516,7 @@ type RefServiceServer interface { CreateBranch(context.Context, *CreateBranchRequest) (*CreateBranchResponse, error) DeleteBranch(context.Context, *DeleteBranchRequest) (*DeleteBranchResponse, error) FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error) + FindRef(context.Context, *FindRefRequest) (*FindRefResponse, error) DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error) ListBranchNamesContainingCommit(*ListBranchNamesContainingCommitRequest, RefService_ListBranchNamesContainingCommitServer) error ListTagNamesContainingCommit(*ListTagNamesContainingCommitRequest, RefService_ListTagNamesContainingCommitServer) error @@ -2668,6 +2765,24 @@ func _RefService_FindBranch_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } +func _RefService_FindRef_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindRefRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefServiceServer).FindRef(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefService/FindRef", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefServiceServer).FindRef(ctx, req.(*FindRefRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _RefService_DeleteRefs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteRefsRequest) if err := dec(in); err != nil { @@ -2837,6 +2952,10 @@ var _RefService_serviceDesc = grpc.ServiceDesc{ MethodName: "FindBranch", Handler: _RefService_FindBranch_Handler, }, + { + MethodName: "FindRef", + Handler: _RefService_FindRef_Handler, + }, { MethodName: "DeleteRefs", Handler: _RefService_DeleteRefs_Handler, @@ -2906,111 +3025,115 @@ var _RefService_serviceDesc = grpc.ServiceDesc{ Metadata: "ref.proto", } -func init() { proto.RegisterFile("ref.proto", fileDescriptor_ref_3f3886b9aef026ed) } - -var fileDescriptor_ref_3f3886b9aef026ed = []byte{ - // 1641 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x5b, 0x73, 0xdb, 0xb8, - 0x15, 0x0e, 0x65, 0x5b, 0x96, 0x8e, 0x14, 0x99, 0x86, 0x6f, 0x32, 0x9d, 0xc4, 0x0e, 0x72, 0x73, - 0x9a, 0x44, 0x4e, 0x94, 0x69, 0x5f, 0xda, 0x99, 0x56, 0xb6, 0xd5, 0xc4, 0x8d, 0x23, 0x7b, 0x20, - 0xb5, 0x49, 0x7a, 0x19, 0x96, 0x92, 0x20, 0x9a, 0x2d, 0x25, 0xaa, 0x24, 0x14, 0xc7, 0x33, 0x6d, - 0x5f, 0xfa, 0xd4, 0x69, 0x66, 0xda, 0xa7, 0xe6, 0x1f, 0xec, 0x5f, 0xd9, 0x87, 0xfd, 0x47, 0x79, - 0xda, 0x21, 0x00, 0x8a, 0xa4, 0x44, 0xc9, 0x9e, 0xd5, 0x66, 0xf7, 0x49, 0x02, 0x70, 0xce, 0x77, - 0x2e, 0x38, 0x38, 0xf8, 0x40, 0xc8, 0xba, 0xb4, 0x53, 0xea, 0xbb, 0x0e, 0x73, 0x50, 0xda, 0xb4, - 0x98, 0x61, 0x5f, 0x68, 0xd0, 0xb4, 0x9d, 0xa6, 0x98, 0xd3, 0xf2, 0xde, 0x99, 0xe1, 0xd2, 0xb6, - 0x1c, 0x6d, 0x9b, 0x8e, 0x63, 0xda, 0x74, 0x8f, 0x8f, 0x9a, 0x83, 0xce, 0x1e, 0xb3, 0xba, 0xd4, - 0x63, 0x46, 0xb7, 0x2f, 0x04, 0xf0, 0xdf, 0x61, 0xe5, 0xd8, 0xf2, 0x58, 0x8d, 0x9e, 0xef, 0xdb, - 0x4e, 0xd3, 0x23, 0xf4, 0x6f, 0x03, 0xea, 0x31, 0x54, 0x06, 0x70, 0x69, 0xdf, 0xf1, 0x2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x17, 0x00, 0x00, +func init() { proto.RegisterFile("ref.proto", fileDescriptor_ref_71ec338a5461d812) } + +var fileDescriptor_ref_71ec338a5461d812 = []byte{ + // 1698 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x5b, 0x73, 0xdb, 0x40, + 0x15, 0xae, 0x9c, 0xc4, 0xb1, 0x8f, 0x5d, 0x47, 0xd9, 0xdc, 0x1c, 0xa5, 0x6d, 0xd2, 0xed, 0x2d, + 0xa5, 0xad, 0xd3, 0xba, 0x03, 0x2f, 0x30, 0x03, 0x4e, 0x62, 0xda, 0xd0, 0xd4, 0xc9, 0xac, 0x0d, + 0x6d, 0xb9, 0x8c, 0x90, 0xed, 0xb5, 0x2c, 0x90, 0x2d, 0x23, 0xad, 0x9b, 0x66, 0x06, 0x78, 0xe1, + 0x89, 0xa1, 0x33, 0xbc, 0xd1, 0x7f, 0xc0, 0x5f, 0xe1, 0x81, 0x57, 0x7e, 0x4d, 0x9f, 0x18, 0xed, + 0xae, 0x2c, 0xc9, 0x96, 0x9d, 0x0c, 0xa6, 0xf0, 0x64, 0xef, 0xee, 0x39, 0xdf, 0xb9, 0xec, 0xd9, + 0xb3, 0xdf, 0x0a, 0xb2, 0x2e, 0xed, 0x94, 0x06, 0xae, 0xc3, 0x1c, 0x94, 0x36, 0x2d, 0x66, 0xd8, + 0x97, 0x1a, 0x34, 0x6d, 0xa7, 0x29, 0xe6, 0xb4, 0xbc, 0xd7, 0x35, 0x5c, 0xda, 0x96, 0xa3, 0x5d, + 0xd3, 0x71, 0x4c, 0x9b, 0x1e, 0xf0, 0x51, 0x73, 0xd8, 0x39, 0x60, 0x56, 0x8f, 0x7a, 0xcc, 0xe8, + 0x0d, 0x84, 0x00, 0xfe, 0x3d, 0xac, 0x9d, 0x5a, 0x1e, 0xab, 0xd1, 0x8b, 0x43, 0xdb, 0x69, 0x7a, + 0x84, 0xfe, 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, 0x61, 0x91, 0x19, 0x66, 0x10, 0x69, 0x2e, 0x00, 0x69, 0x18, 0x26, + 0xe1, 0x0b, 0xf8, 0x3d, 0xa8, 0x84, 0x76, 0xaa, 0x9f, 0x2c, 0x8f, 0xcd, 0xb5, 0x79, 0x2a, 0x2c, + 0xb8, 0xb4, 0x23, 0xeb, 0xc9, 0xff, 0x8b, 0x1f, 0xc3, 0x6a, 0x04, 0x39, 0xec, 0xce, 0x1f, 0x0d, + 0x7b, 0x28, 0x12, 0x96, 0x21, 0x62, 0x80, 0xff, 0x08, 0x6b, 0x47, 0x2e, 0x35, 0x18, 0x0d, 0xce, + 0xf2, 0x7f, 0xee, 0x47, 0xb0, 0x21, 0xa9, 0xc8, 0x86, 0xec, 0x42, 0xce, 0x63, 0x86, 0xcb, 0xf4, + 0x81, 0x63, 0xf5, 0x83, 0xe3, 0x0d, 0x7c, 0xea, 0xdc, 0x9f, 0xc1, 0xff, 0x54, 0x60, 0x3d, 0xee, + 0xc0, 0xa8, 0x4b, 0xa5, 0x3d, 0x66, 0xb0, 0xa1, 0xc7, 0xad, 0x17, 0xc2, 0x03, 0x9a, 0x24, 0x5d, + 0xaa, 0x73, 0x51, 0x22, 0x55, 0xd0, 0x43, 0x48, 0x8b, 0x8a, 0x91, 0x75, 0x50, 0x08, 0x94, 0xa5, + 0x9a, 0x5c, 0xc5, 0x35, 0x48, 0x0b, 0x4d, 0x94, 0x86, 0xd4, 0xd9, 0x1b, 0xf5, 0x06, 0x2a, 0x00, + 0x54, 0x09, 0xd1, 0xab, 0xef, 0x4f, 0xea, 0x8d, 0xba, 0xaa, 0xf8, 0xcd, 0xd6, 0x1f, 0x9f, 0xd4, + 0x7e, 0x56, 0x39, 0x3d, 0x39, 0x56, 0x53, 0x68, 0x07, 0xb6, 0x22, 0x13, 0x7a, 0xbd, 0x51, 0x21, + 0x0d, 0xfd, 0xfc, 0xec, 0xa4, 0xd6, 0x50, 0x17, 0xf0, 0xaf, 0x60, 0xed, 0x98, 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0xf0, 0x04, 0x24, 0x7c, 0xfc, 0x0e, 0x4f, 0x40, 0xd2, 0xb7, 0xe9, + 0xd8, 0xb1, 0xcf, 0x04, 0x17, 0x24, 0x1a, 0x15, 0xe7, 0xd8, 0xa5, 0xac, 0x15, 0x27, 0x17, 0x26, + 0x2a, 0xed, 0xf0, 0xf9, 0xcf, 0x7d, 0x29, 0xdb, 0x68, 0x96, 0x5a, 0x4e, 0xef, 0x40, 0xfc, 0x7d, + 0xe6, 0xb8, 0xe6, 0x81, 0xd0, 0x7d, 0xc6, 0xbf, 0x02, 0x1d, 0x98, 0x8e, 0x1c, 0x0f, 0x9a, 0xcd, + 0x34, 0x9f, 0x7a, 0xf9, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcf, 0x8f, 0xc5, 0xc3, 0x0e, 0x18, + 0x00, 0x00, } diff --git a/go/gitalypb/shared.pb.go b/go/gitalypb/shared.pb.go index 8a74e5a6fd8813a6b01d1e1ccb23e6ef900d4bf3..f630d923c426460564dfebe03182b580473b7448 100644 --- a/go/gitalypb/shared.pb.go +++ b/go/gitalypb/shared.pb.go @@ -49,7 +49,7 @@ func (x ObjectType) String() string { return proto.EnumName(ObjectType_name, int32(x)) } func (ObjectType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_shared_13f4a00ce23e33b4, []int{0} + return fileDescriptor_shared_247f3b887c6f61fd, []int{0} } type OperationMsg_Operation int32 @@ -75,7 +75,7 @@ func (x OperationMsg_Operation) String() string { return proto.EnumName(OperationMsg_Operation_name, int32(x)) } func (OperationMsg_Operation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_shared_13f4a00ce23e33b4, []int{0, 0} + return fileDescriptor_shared_247f3b887c6f61fd, []int{0, 0} } type OperationMsg_Scope int32 @@ -98,7 +98,7 @@ func (x OperationMsg_Scope) String() string { return proto.EnumName(OperationMsg_Scope_name, int32(x)) } func (OperationMsg_Scope) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_shared_13f4a00ce23e33b4, []int{0, 1} + return fileDescriptor_shared_247f3b887c6f61fd, []int{0, 1} } type OperationMsg struct { @@ -130,7 +130,7 @@ func (m *OperationMsg) Reset() { *m = OperationMsg{} } func (m *OperationMsg) String() string { return proto.CompactTextString(m) } func (*OperationMsg) ProtoMessage() {} func (*OperationMsg) Descriptor() ([]byte, []int) { - return fileDescriptor_shared_13f4a00ce23e33b4, []int{0} + return fileDescriptor_shared_247f3b887c6f61fd, []int{0} } func (m *OperationMsg) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperationMsg.Unmarshal(m, b) @@ -199,7 +199,7 @@ func (m *Repository) Reset() { *m = Repository{} } func (m *Repository) String() string { return proto.CompactTextString(m) } func (*Repository) ProtoMessage() {} func (*Repository) Descriptor() ([]byte, []int) { - return fileDescriptor_shared_13f4a00ce23e33b4, []int{1} + return fileDescriptor_shared_247f3b887c6f61fd, []int{1} } func (m *Repository) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Repository.Unmarshal(m, b) @@ -282,7 +282,7 @@ func (m *GitCommit) Reset() { *m = GitCommit{} } func (m *GitCommit) String() string { return proto.CompactTextString(m) } func (*GitCommit) ProtoMessage() {} func (*GitCommit) Descriptor() ([]byte, []int) { - return fileDescriptor_shared_13f4a00ce23e33b4, []int{2} + return fileDescriptor_shared_247f3b887c6f61fd, []int{2} } func (m *GitCommit) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GitCommit.Unmarshal(m, b) @@ -364,7 +364,7 @@ func (m *CommitAuthor) Reset() { *m = CommitAuthor{} } func (m *CommitAuthor) String() string { return proto.CompactTextString(m) } func (*CommitAuthor) ProtoMessage() {} func (*CommitAuthor) Descriptor() ([]byte, []int) { - return fileDescriptor_shared_13f4a00ce23e33b4, []int{3} + return fileDescriptor_shared_247f3b887c6f61fd, []int{3} } func (m *CommitAuthor) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommitAuthor.Unmarshal(m, b) @@ -416,7 +416,7 @@ func (m *ExitStatus) Reset() { *m = ExitStatus{} } func (m *ExitStatus) String() string { return proto.CompactTextString(m) } func (*ExitStatus) ProtoMessage() {} func (*ExitStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_shared_13f4a00ce23e33b4, []int{4} + return fileDescriptor_shared_247f3b887c6f61fd, []int{4} } func (m *ExitStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExitStatus.Unmarshal(m, b) @@ -456,7 +456,7 @@ func (m *Branch) Reset() { *m = Branch{} } func (m *Branch) String() string { return proto.CompactTextString(m) } func (*Branch) ProtoMessage() {} func (*Branch) Descriptor() ([]byte, []int) { - return fileDescriptor_shared_13f4a00ce23e33b4, []int{5} + return fileDescriptor_shared_247f3b887c6f61fd, []int{5} } func (m *Branch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Branch.Unmarshal(m, b) @@ -490,6 +490,52 @@ func (m *Branch) GetTargetCommit() *GitCommit { return nil } +type Ref struct { + RefPath []byte `protobuf:"bytes,1,opt,name=ref_path,json=refPath,proto3" json:"ref_path,omitempty"` + TargetCommit *GitCommit `protobuf:"bytes,2,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Ref) Reset() { *m = Ref{} } +func (m *Ref) String() string { return proto.CompactTextString(m) } +func (*Ref) ProtoMessage() {} +func (*Ref) Descriptor() ([]byte, []int) { + return fileDescriptor_shared_247f3b887c6f61fd, []int{6} +} +func (m *Ref) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Ref.Unmarshal(m, b) +} +func (m *Ref) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Ref.Marshal(b, m, deterministic) +} +func (dst *Ref) XXX_Merge(src proto.Message) { + xxx_messageInfo_Ref.Merge(dst, src) +} +func (m *Ref) XXX_Size() int { + return xxx_messageInfo_Ref.Size(m) +} +func (m *Ref) XXX_DiscardUnknown() { + xxx_messageInfo_Ref.DiscardUnknown(m) +} + +var xxx_messageInfo_Ref proto.InternalMessageInfo + +func (m *Ref) GetRefPath() []byte { + if m != nil { + return m.RefPath + } + return nil +} + +func (m *Ref) GetTargetCommit() *GitCommit { + if m != nil { + return m.TargetCommit + } + return nil +} + type Tag struct { Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` @@ -509,7 +555,7 @@ func (m *Tag) Reset() { *m = Tag{} } func (m *Tag) String() string { return proto.CompactTextString(m) } func (*Tag) ProtoMessage() {} func (*Tag) Descriptor() ([]byte, []int) { - return fileDescriptor_shared_13f4a00ce23e33b4, []int{6} + return fileDescriptor_shared_247f3b887c6f61fd, []int{7} } func (m *Tag) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Tag.Unmarshal(m, b) @@ -585,7 +631,7 @@ func (m *User) Reset() { *m = User{} } func (m *User) String() string { return proto.CompactTextString(m) } func (*User) ProtoMessage() {} func (*User) Descriptor() ([]byte, []int) { - return fileDescriptor_shared_13f4a00ce23e33b4, []int{7} + return fileDescriptor_shared_247f3b887c6f61fd, []int{8} } func (m *User) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_User.Unmarshal(m, b) @@ -644,7 +690,7 @@ func (m *ObjectPool) Reset() { *m = ObjectPool{} } func (m *ObjectPool) String() string { return proto.CompactTextString(m) } func (*ObjectPool) ProtoMessage() {} func (*ObjectPool) Descriptor() ([]byte, []int) { - return fileDescriptor_shared_13f4a00ce23e33b4, []int{8} + return fileDescriptor_shared_247f3b887c6f61fd, []int{9} } func (m *ObjectPool) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ObjectPool.Unmarshal(m, b) @@ -687,6 +733,7 @@ func init() { proto.RegisterType((*CommitAuthor)(nil), "gitaly.CommitAuthor") proto.RegisterType((*ExitStatus)(nil), "gitaly.ExitStatus") proto.RegisterType((*Branch)(nil), "gitaly.Branch") + proto.RegisterType((*Ref)(nil), "gitaly.Ref") proto.RegisterType((*Tag)(nil), "gitaly.Tag") proto.RegisterType((*User)(nil), "gitaly.User") proto.RegisterType((*ObjectPool)(nil), "gitaly.ObjectPool") @@ -696,64 +743,66 @@ func init() { proto.RegisterExtension(E_OpType) } -func init() { proto.RegisterFile("shared.proto", fileDescriptor_shared_13f4a00ce23e33b4) } - -var fileDescriptor_shared_13f4a00ce23e33b4 = []byte{ - // 890 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdd, 0x6e, 0xe3, 0x44, - 0x14, 0x5e, 0x3b, 0xce, 0xdf, 0x89, 0x5b, 0xcc, 0x50, 0x84, 0x55, 0xb4, 0xbb, 0xc1, 0x2b, 0xa1, - 0x0a, 0xb1, 0xe9, 0xaa, 0x2b, 0xed, 0x05, 0xdc, 0x90, 0x94, 0x50, 0x75, 0xd9, 0xd4, 0xd5, 0xc4, - 0x05, 0xc1, 0x8d, 0x35, 0x89, 0xa7, 0x93, 0x41, 0x76, 0xc6, 0x1a, 0x4f, 0x2a, 0xba, 0x97, 0xdc, - 0xf3, 0x2a, 0x3c, 0x09, 0xef, 0xc1, 0x63, 0x80, 0x66, 0xc6, 0x4e, 0xb3, 0xdd, 0x82, 0xb8, 0x9b, - 0x73, 0xce, 0x77, 0xfe, 0xcf, 0x37, 0xe0, 0x57, 0x2b, 0x22, 0x69, 0x36, 0x2a, 0xa5, 0x50, 0x02, - 0x75, 0x18, 0x57, 0x24, 0xbf, 0x3d, 0x7c, 0xca, 0x84, 0x60, 0x39, 0x3d, 0x36, 0xda, 0xc5, 0xe6, - 0xfa, 0x58, 0xf1, 0x82, 0x56, 0x8a, 0x14, 0xa5, 0x05, 0x1e, 0x0e, 0xef, 0x03, 0x32, 0x5a, 0x2d, - 0x25, 0x2f, 0x95, 0x90, 0x16, 0x11, 0xfd, 0xee, 0x82, 0x1f, 0x97, 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8f, 0x99, 0xa8, 0xe5, 0x72, 0xb1, 0xe8, 0x18, 0xd5, 0xcb, 0x7f, 0x02, 0x00, 0x00, - 0xff, 0xff, 0xd3, 0xc4, 0x55, 0xa0, 0xb0, 0x06, 0x00, 0x00, +func init() { proto.RegisterFile("shared.proto", fileDescriptor_shared_247f3b887c6f61fd) } + +var fileDescriptor_shared_247f3b887c6f61fd = []byte{ + // 917 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0xae, 0x64, 0xf9, 0xef, 0x58, 0xc9, 0x34, 0x2e, 0xc3, 0xb4, 0x0c, 0x6d, 0x3d, 0x15, 0x18, + 0x82, 0x61, 0x75, 0x8a, 0x14, 0xe8, 0xc5, 0x76, 0xb3, 0x24, 0xf3, 0x82, 0x74, 0x75, 0x14, 0xd0, + 0xca, 0xfe, 0x6e, 0x04, 0xda, 0xa2, 0x69, 0x0e, 0x92, 0x29, 0x50, 0x74, 0xb0, 0xf4, 0x72, 0xf7, + 0x7b, 0x95, 0x3d, 0xc9, 0xde, 0x63, 0x8f, 0xb1, 0x81, 0xa4, 0xe4, 0xb8, 0x69, 0x36, 0x0c, 0xbd, + 0xe3, 0x39, 0xe7, 0xe3, 0xe1, 0x77, 0xc8, 0xef, 0x93, 0xc0, 0xaf, 0x96, 0x44, 0xd2, 0x6c, 0x54, + 0x4a, 0xa1, 0x04, 0xea, 0x30, 0xae, 0x48, 0x7e, 0xb3, 0xff, 0x98, 0x09, 0xc1, 0x72, 0x7a, 0x68, + 0xb2, 0xb3, 0xf5, 0xe2, 0x50, 0xf1, 0x82, 0x56, 0x8a, 0x14, 0xa5, 0x05, 0xee, 0x0f, 0xef, 0x02, + 0x32, 0x5a, 0xcd, 0x25, 0x2f, 0x95, 0x90, 0x16, 0x11, 0xfd, 0xee, 0x82, 0x1f, 0x97, 0x54, 0x12, +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0xee, 0x88, 0x52, 0xd3, 0x38, 0x79, 0xf6, 0xb3, 0x2e, 0xe7, 0x64, 0x36, 0x9a, + 0x8b, 0xe2, 0xd0, 0x2e, 0x9f, 0x0a, 0xc9, 0x0e, 0xed, 0xa6, 0xa7, 0xa6, 0xf9, 0x21, 0x13, 0x75, + 0x5c, 0xce, 0x66, 0x1d, 0x93, 0x7a, 0xfe, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc8, 0xae, 0x59, + 0x2e, 0x0a, 0x07, 0x00, 0x00, } diff --git a/ref.proto b/ref.proto index bd95a1618a869c0aa9ecda4a6b935c7b4bba0dc8..14a867a94e8979a1f533fbdb41b1ab590b066855 100644 --- a/ref.proto +++ b/ref.proto @@ -54,6 +54,9 @@ service RefService { rpc FindBranch(FindBranchRequest) returns (FindBranchResponse) { option (op_type).op = ACCESSOR; } + rpc FindRef(FindRefRequest) returns (FindRefResponse) { + option (op_type).op = ACCESSOR; + } rpc DeleteRefs(DeleteRefsRequest) returns (DeleteRefsResponse) { option (op_type) = { op: MUTATOR @@ -235,6 +238,15 @@ message FindBranchResponse { Branch branch = 1; } +message FindRefRequest { + Repository repository = 1; + bytes ref_path = 2; +} + +message FindRefResponse { + Ref ref = 1; +} + message DeleteRefsRequest{ Repository repository = 1; // The following two fields are mutually exclusive diff --git a/ruby/lib/gitaly/ref_pb.rb b/ruby/lib/gitaly/ref_pb.rb index 760d969e1edd89a61a3d75ba89d5cdc58732119c..ce932e7dddd4dc5160ed05fa36d10f4fddb019e0 100644 --- a/ruby/lib/gitaly/ref_pb.rb +++ b/ruby/lib/gitaly/ref_pb.rb @@ -118,6 +118,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do add_message "gitaly.FindBranchResponse" do optional :branch, :message, 1, "gitaly.Branch" end + add_message "gitaly.FindRefRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :ref_path, :bytes, 2 + end + add_message "gitaly.FindRefResponse" do + optional :ref, :message, 1, "gitaly.Ref" + end add_message "gitaly.DeleteRefsRequest" do optional :repository, :message, 1, "gitaly.Repository" repeated :except_with_prefix, :bytes, 2 @@ -202,6 +209,8 @@ module Gitaly DeleteBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteBranchResponse").msgclass FindBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindBranchRequest").msgclass FindBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindBranchResponse").msgclass + FindRefRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefRequest").msgclass + FindRefResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefResponse").msgclass DeleteRefsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteRefsRequest").msgclass DeleteRefsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteRefsResponse").msgclass ListBranchNamesContainingCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBranchNamesContainingCommitRequest").msgclass diff --git a/ruby/lib/gitaly/ref_services_pb.rb b/ruby/lib/gitaly/ref_services_pb.rb index 04ff21f8d63f21be1da9047bb152e8fe28cb803e..6981688298379a12c124710bbcb593b6afcda836 100644 --- a/ruby/lib/gitaly/ref_services_pb.rb +++ b/ruby/lib/gitaly/ref_services_pb.rb @@ -28,6 +28,7 @@ module Gitaly rpc :CreateBranch, CreateBranchRequest, CreateBranchResponse rpc :DeleteBranch, DeleteBranchRequest, DeleteBranchResponse rpc :FindBranch, FindBranchRequest, FindBranchResponse + rpc :FindRef, FindRefRequest, FindRefResponse rpc :DeleteRefs, DeleteRefsRequest, DeleteRefsResponse rpc :ListBranchNamesContainingCommit, ListBranchNamesContainingCommitRequest, stream(ListBranchNamesContainingCommitResponse) rpc :ListTagNamesContainingCommit, ListTagNamesContainingCommitRequest, stream(ListTagNamesContainingCommitResponse) diff --git a/ruby/lib/gitaly/shared_pb.rb b/ruby/lib/gitaly/shared_pb.rb index 8fa21f0bf9f5c48db5b8c7dfdcc71f5775224595..27f8c7a2d6cadf8c5451480a8bac9b8bac7c09fa 100644 --- a/ruby/lib/gitaly/shared_pb.rb +++ b/ruby/lib/gitaly/shared_pb.rb @@ -48,6 +48,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do optional :name, :bytes, 1 optional :target_commit, :message, 2, "gitaly.GitCommit" end + add_message "gitaly.Ref" do + optional :ref_path, :bytes, 1 + optional :target_commit, :message, 2, "gitaly.GitCommit" + end add_message "gitaly.Tag" do optional :name, :bytes, 1 optional :id, :string, 2 @@ -83,6 +87,7 @@ module Gitaly CommitAuthor = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitAuthor").msgclass ExitStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExitStatus").msgclass Branch = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Branch").msgclass + Ref = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Ref").msgclass Tag = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Tag").msgclass User = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.User").msgclass ObjectPool = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectPool").msgclass diff --git a/shared.proto b/shared.proto index 619b0dda9bb4e19ac50a3ac91125b4d839950ecd..e6041258228350de0a609c0fe34d8cace298386f 100644 --- a/shared.proto +++ b/shared.proto @@ -111,6 +111,11 @@ message Branch { GitCommit target_commit = 2; } +message Ref { + bytes ref_path = 1; + GitCommit target_commit = 2; +} + message Tag { bytes name = 1; string id = 2;