diff options
| author | Jeff Carr <[email protected]> | 2025-01-18 10:34:58 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-18 10:34:58 -0600 |
| commit | 0c30a9da2f9a30a9f41c755879ea5be266180ce0 (patch) | |
| tree | 6cea2ef505f0cb92db890fd6a10f55f22f860c05 /gitTag.proto | |
| parent | 80f602c4d91fa84cfbafd3787cf255d2832ed588 (diff) | |
parse .git/configv0.0.57
Diffstat (limited to 'gitTag.proto')
| -rw-r--r-- | gitTag.proto | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gitTag.proto b/gitTag.proto index baae552..dbc28de 100644 --- a/gitTag.proto +++ b/gitTag.proto @@ -4,6 +4,25 @@ package gitpb; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp +message GitRemote { // `autogenpb:nomutex` + string url = 1; + string fetch = 2; +} + +message GitBranch { // `autogenpb:nomutex` + string remote = 1; + string merge = 2; +} + +// readGitConfig reads and parses the .git/config file +message GitConfig { // `autogenpb:nomutex` + map<string, string> core = 1; // map[origin] = "https:/git.wit.org/gui/gadgets" + map<string, GitRemote> remotes = 2; // map[origin] = "https:/git.wit.org/gui/gadgets" + map<string, GitBranch> branches = 3; // map[guimaster] = origin guimaster + map<string, string> submodules = 4; + map<string, string> hashes = 5; + map<string, string> versions = 6; +} message GitTag { // `autogenpb:nomutex` string refname = 1; // `autogenpb:unique` `autogenpb:sort` // tag name. treated as unique |
