From 0c30a9da2f9a30a9f41c755879ea5be266180ce0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Jan 2025 10:34:58 -0600 Subject: parse .git/config --- repo.proto | 2 ++ 1 file changed, 2 insertions(+) (limited to 'repo.proto') 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 -- cgit v1.2.3