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")