diff options
| author | Jeff Carr <[email protected]> | 2025-01-30 01:47:14 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-30 01:47:14 -0600 |
| commit | 5d2daf75c049caf277d92d64549c3b9bb2da20a9 (patch) | |
| tree | 420782cd7dfa7623e3cb8f5d4b5fbca296e0bcbb /doCheckout.go | |
| parent | d493a55cfa5ac1d50c845643b46ee4c12a192dab (diff) | |
rename all these damn things from the past
Diffstat (limited to 'doCheckout.go')
| -rw-r--r-- | doCheckout.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doCheckout.go b/doCheckout.go index be3cffa..82d649e 100644 --- a/doCheckout.go +++ b/doCheckout.go @@ -102,6 +102,10 @@ func rillCheckoutUser(repo *gitpb.Repo) error { // never do dirty repos return nil } + if repo.GetCurrentBranchName() == repo.GetDevelBranchName() { + // repo is already on devel branch. have to move them there first for now + return rillCheckoutDevel(repo) + } if repo.GetCurrentBranchName() == repo.GetUserBranchName() { // repo is already on user branch return nil |
