summaryrefslogtreecommitdiff
path: root/gitTag.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-18 15:49:13 -0600
committerJeff Carr <[email protected]>2025-01-18 15:49:13 -0600
commit93e4eae19d13f709e2a50e5f7d484e066d526c3d (patch)
tree88d825ea4850614485a180f991d12d261f478bc7 /gitTag.proto
parent9094779044768fa04ca02b171eec1c8375edfe42 (diff)
move away from maps in protobuf?
Diffstat (limited to 'gitTag.proto')
-rw-r--r--gitTag.proto6
1 files changed, 4 insertions, 2 deletions
diff --git a/gitTag.proto b/gitTag.proto
index dbc28de..3e28cf0 100644
--- a/gitTag.proto
+++ b/gitTag.proto
@@ -10,8 +10,9 @@ message GitRemote { // `autogenpb:nomutex`
}
message GitBranch { // `autogenpb:nomutex`
- string remote = 1;
- string merge = 2;
+ string remote = 1; // the name of the remote repo
+ string merge = 2; // the merge path from the config file
+ string name = 3; // the branch name from the config file
}
// readGitConfig reads and parses the .git/config file
@@ -22,6 +23,7 @@ message GitConfig { // `autogenpb:nomutex`
map<string, string> submodules = 4;
map<string, string> hashes = 5;
map<string, string> versions = 6;
+ repeated GitBranch local = 7; // move this this and away from the map<> variables
}
message GitTag { // `autogenpb:nomutex`