Skip to content

Commit

Permalink
Add message documentation for GitCommitInformation (#2458)
Browse files Browse the repository at this point in the history
Adds documentation to the `GitCommitInformation` message.
  • Loading branch information
doriable authored Sep 21, 2023
1 parent ebec930 commit 4f380fa
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 34 deletions.
64 changes: 32 additions & 32 deletions private/gen/proto/go/buf/alpha/registry/v1alpha1/git_metadata.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions proto/buf/alpha/registry/v1alpha1/git_metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,16 @@ message GitIdentity {
google.protobuf.Timestamp time = 3;
}

// GitCommitInformation is the information associated with a Git commit.
// This always includes the hash.
// The author and/or committer user identities are included when available.
message GitCommitInformation {
// Hash is the SHA1 hash of the git commit.
string hash = 1;
// Author is metadata associated with the author of the git commit.
// This may not always be available, so it is not always populated.
optional GitIdentity author = 2;
GitIdentity author = 2;
// Committer is the metadata associated with the committer of the git commit.
// This may not always be available, so it is not always populated.
optional GitIdentity committer = 3;
GitIdentity committer = 3;
}

0 comments on commit 4f380fa

Please sign in to comment.