summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-11-03 17:55:10 -0600
committerJeff Carr <[email protected]>2025-11-03 17:55:10 -0600
commitc085c43172656665d0bba9c5bcc1b8d57b50bba8 (patch)
tree669dae59f88e066bf2d23a9239e6d8d1409b7319
parent61fac349e9cfb6dd60af2eec219886fce2f4a216 (diff)
rev version to auto-delete all files. this is called winning
-rw-r--r--stat.proto9
1 files changed, 6 insertions, 3 deletions
diff --git a/stat.proto b/stat.proto
index 39a0e28..bb5dcfa 100644
--- a/stat.proto
+++ b/stat.proto
@@ -13,7 +13,6 @@ message GitRef {
REMOTE = 2;
TAG = 3;
}
-
string name = 1; //
string remote = 2; // blank unless REMOTE
RefType type = 3; // is set by git as the master branch
@@ -23,15 +22,19 @@ message Stat {
string patchId = 1; // `autogenpb:unique` `autogenpb:sort`
string hash = 2; // `autogenpb:unique` `autogenpb:sort`
google.protobuf.Timestamp ctime = 3; // `autogenpb:unique` `autogenpb:sort`
- repeated GitRef refs = 4; //
+ string name = 4; //
+ string remote = 5; // blank unless REMOTE
+ string subject = 6; // git tag subject
+ repeated GitRef refs = 7; //
}
// normally stored as .git/*.pb cache files
message Stats { // `autogenpb:marshal` `autogenpb:gui` `autogenpb:http`
string uuid = 1; // `autogenpb:uuid:ba236558-f8a1-4c47-a14a-8856a24d3f72`
- string version = 2; // `autogenpb:version:v0.0.2`
+ string version = 2; // `autogenpb:version:v0.0.3`
repeated Stat stats = 3;
string filename = 4; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
string head = 5; // the current origin hash
google.protobuf.Timestamp mtime = 6; // mtime for .git/
+ string name = 7; // the current origin hash
}