wrong logic

This commit is contained in:
Jeff Carr 2025-02-21 17:17:05 -06:00
parent 2fc67512c8
commit a170250cb4
1 changed files with 4 additions and 2 deletions

View File

@ -43,10 +43,12 @@ func (f *Forge) MakeDevelPatchSet(name string) (*Patchset, error) {
for all.Scan() {
repo := all.Next()
if !repo.IsLocalBranch(repo.GetUserBranchName()) {
if ! repo.IsLocalBranch(repo.GetUserBranchName()) {
// log.Info("repo doesn't have user branch", repo.GetGoPath())
continue
}
if !repo.IsLocalBranch(repo.GetDevelBranchName()) {
if ! repo.IsLocalBranch(repo.GetDevelBranchName()) {
// log.Info("repo doesn't have devel branch", repo.GetGoPath())
continue
}