From 93e4eae19d13f709e2a50e5f7d484e066d526c3d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Jan 2025 15:49:13 -0600 Subject: move away from maps in protobuf? --- gitTag.proto | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gitTag.proto') 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 submodules = 4; map hashes = 5; map versions = 6; + repeated GitBranch local = 7; // move this this and away from the map<> variables } message GitTag { // `autogenpb:nomutex` -- cgit v1.2.3