syntax = "proto3";

package gitlab.agent.gitaly;

option go_package = "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/gitaly";

// Modified copy of GitCommit from Gitaly's shared.proto.
message GitCommitForPolling {
  string id = 1;

  // Rest of the fields are not needed, so have been removed to avoid unmarshaling them.
}

// Modified copy of LastCommitForPathResponse from Gitaly's commit.proto.
message LastCommitForPathResponseForPolling {
  // commit is nil when the commit was not found
  GitCommitForPolling commit = 1;
}
