summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-07 05:59:12 -0600
committerJeff Carr <[email protected]>2025-01-07 05:59:12 -0600
commit669c4e082cb6aebc053bfbfa60d5239c633a80dd (patch)
tree34a0a11811c28df578de508ac253174e2a44e2d2
parent904a5e8568b1e1640008a219dd1418a04c53bd7f (diff)
try to debug gui stuff
-rw-r--r--update.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/update.go b/update.go
index 1d5b28e..ff6a253 100644
--- a/update.go
+++ b/update.go
@@ -20,6 +20,11 @@ func (rs *RepoStatus) gitBranchAll() {
}
}
+func (rs *RepoStatus) UpdateNew() {
+ log.Info("gui update", rs.pb.GetFullPath())
+ rs.updateNew()
+}
+
func (rs *RepoStatus) updateNew() {
if !rs.Ready() {
log.Log(WARN, "can't update yet. ready is false")