summaryrefslogtreecommitdiff
path: root/update.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-14 02:35:47 -0600
committerJeff Carr <[email protected]>2024-02-14 02:35:47 -0600
commit73d711ad2b2ebb311fadf9ab3739589df890993a (patch)
tree1febfc8449a863920b536e79d7e33e1d35d8150a /update.go
parentd7e391fed0843aa56ead128737c2770704846bac (diff)
trying to improve older code
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'update.go')
-rw-r--r--update.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/update.go b/update.go
index 4ba269d..35bee63 100644
--- a/update.go
+++ b/update.go
@@ -131,6 +131,7 @@ func (rs *RepoStatus) EnableSelectTag() {
}
}
+// This doesn't switch branches
func (rs *RepoStatus) UpdateCurrent() {
if !rs.Ready() {
log.Log(WARN, "can't update yet. ready is false")