From 383edb2766e886846dc59cd62405a8032e183722 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 19 Jan 2025 07:24:18 -0600 Subject: start ignoring missing user branch --- doCheckout.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doCheckout.go b/doCheckout.go index 03904e8..4c30d5a 100644 --- a/doCheckout.go +++ b/doCheckout.go @@ -173,6 +173,10 @@ func rillCheckoutMaster(repo *gitpb.Repo) error { // repo is already on master return nil } + if repo.GetUserVersion() == "uerr" { + repo.CheckoutMaster() + return nil + } if repo.GetUserVersion() != repo.GetDevelVersion() { // don't switch branches if the user branch has uncommitted patches return nil -- cgit v1.2.3