summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-16 20:36:31 -0600
committerJeff Carr <[email protected]>2024-02-16 20:36:31 -0600
commitc7aaea4ae117b95a894b775bf8ef2e661db6f0ea (patch)
tree2958448261f3cb98cc2cceca0a39288173bb3be3 /structs.go
parent0b4f4d76866ccc500112cfe553240c47961258e2 (diff)
continue to redo the branch handling
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index be8feb8..2d95df1 100644
--- a/structs.go
+++ b/structs.go
@@ -12,6 +12,9 @@ type RepoStatus struct {
changed bool
changes string
+ // updates each time CheckDirty() is run
+ dirty bool
+
tags map[string]string
window *gadgets.BasicWindow
@@ -32,7 +35,7 @@ type RepoStatus struct {
currentVersion *gadgets.OneLiner
lasttag *gadgets.OneLiner
- masterBranchVersion *gadgets.OneLiner
+ mainBranchVersion *gadgets.OneLiner
develBranchVersion *gadgets.OneLiner
userBranchVersion *gadgets.OneLiner