rm old code

This commit is contained in:
Jeff Carr 2025-08-31 14:15:38 -05:00
parent 731a4d9da8
commit a84db9a788
1 changed files with 0 additions and 15 deletions

View File

@ -218,21 +218,6 @@ func rillCheckoutMaster(repo *gitpb.Repo) error {
// repo is already on master
return nil
}
if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
// skip other checks for readonly repos
repo.CheckoutMaster()
return nil
}
/*
if repo.GetUserVersion() != repo.GetDevelVersion() {
// don't switch branches if the user branch has uncommitted patches
return nil
}
if repo.GetDevelVersion() != repo.GetMasterVersion() {
// don't switch braches if the devel branch does not match master (needs merge)
return nil
}
*/
repo.CheckoutMaster()
return nil
}