summaryrefslogtreecommitdiff
path: root/repo.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-18 10:34:58 -0600
committerJeff Carr <[email protected]>2025-01-18 10:34:58 -0600
commit0c30a9da2f9a30a9f41c755879ea5be266180ce0 (patch)
tree6cea2ef505f0cb92db890fd6a10f55f22f860c05 /repo.proto
parent80f602c4d91fa84cfbafd3787cf255d2832ed588 (diff)
parse .git/configv0.0.57
Diffstat (limited to 'repo.proto')
-rw-r--r--repo.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/repo.proto b/repo.proto
index 80583b9..a21b899 100644
--- a/repo.proto
+++ b/repo.proto
@@ -35,6 +35,7 @@ message Repo { // `autogenpb:marshal` `autogenpb:2nomutex`
repeated string dirtyList = 22; // store the list from git status --porcelain
string state = 23; // status or state. useful for building tooling
GitTag currentTag = 24; // used to examine repo branches
+ GitConfig gitConfig = 25; // protobuf of the current .git/config
}
message Repos { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:2nomutex`
@@ -54,6 +55,7 @@ message GitTimes { // `autogenpb:2nomutex`
google.protobuf.Timestamp mtimeFetch = 7; // mtime for ./git/FETCH_HEAD // last time 'git fetch' or 'git pull' was run on current branch?
google.protobuf.Timestamp lastGoDep = 8; // mtime for last go.sum scan
google.protobuf.Timestamp newestCommit = 9; // when the newest commit was
+ google.protobuf.Timestamp mtimeConfig = 10; // mtime for the .git/config file
}
// this is probably better. think about moving to this instead