summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")