summaryrefslogtreecommitdiff
path: root/patchset.proto.new
diff options
context:
space:
mode:
Diffstat (limited to 'patchset.proto.new')
-rw-r--r--patchset.proto.new42
1 files changed, 22 insertions, 20 deletions
diff --git a/patchset.proto.new b/patchset.proto.new
index 96c6e39..0e8d6f2 100644
--- a/patchset.proto.new
+++ b/patchset.proto.new
@@ -1,29 +1,31 @@
+// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+
syntax = "proto3";
package forgepb;
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
-/*
-message Blob {
- string hunkLine = 1;
- bytes data = 2;
-}
-
-message File {
- string filename = 1;
- string hashLine = 2;
- repeated Blob Blobs = 3;
-}
-
-message Patch {
- repeated File Files = 1;
- string repoNamespace = 2;
- string gH = 3;
- string gaI = 4;
- string gcI = 5;
-}
-*/
+// I don't need this kind of specicivity (can't spell)
+// but this is what the patch files contain and how git sees them
+// message Blob {
+// string hunkLine = 1;
+// bytes data = 2;
+// }
+//
+// message File {
+// string filename = 1;
+// string hashLine = 2;
+// repeated Blob Blobs = 3;
+// }
+//
+// message Patch {
+// repeated File Files = 1;
+// string repoNamespace = 2;
+// string gH = 3;
+// string gaI = 4;
+// string gcI = 5;
+// }
// git log -1 --format="%H %aI %cI %an %ae %cn %ce"
message Patch {