From b412e50df015769d18b08293e7b1e3b87479ccd9 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 29 Jan 2025 10:02:08 -0600 Subject: save git commit msg and repo namespace --- patchset.proto | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'patchset.proto') diff --git a/patchset.proto b/patchset.proto index 6d42add..b21dbee 100644 --- a/patchset.proto +++ b/patchset.proto @@ -5,15 +5,17 @@ package forgepb; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp message Patch { - string filename = 1; // `autogenpb:unique` `autogenpb:sort` - bytes data = 2; // - string repoPath = 3; // path to the git repo - string branchName = 4; // - string branchHash = 5; // - google.protobuf.Timestamp ctime = 7; // the git commit timestamp of this patch - string commitHash = 8; // the git commit hash of this patch + string filename = 1; // `autogenpb:unique` `autogenpb:sort` + bytes data = 2; // + string repoPath = 3; // path to the git repo + string branchName = 4; // + string branchHash = 5; // + google.protobuf.Timestamp ctime = 7; // the git commit timestamp of this patch + string commitHash = 8; // the git commit hash of this patch string startHash = 9; // the start commit hash - repeated string Files = 10; // the filenames this patch changes + repeated string Files = 10; // the filenames this patch changes + string comment = 11; // the git commit message (in patch form) + string repoNamespace = 12; // the base repo git URL } message Patches { // `autogenpb:marshal` -- cgit v1.2.3