can't merge all if some repos are dirty

This commit is contained in:
Jeff Carr 2025-01-05 12:13:32 -06:00
parent 34fc90e4bf
commit ffd510e1d8
1 changed files with 5 additions and 0 deletions

View File

@ -91,6 +91,11 @@ func (r *repoWindow) repoMenu() *gui.Node {
box2.NewButton("merge it all", func() {
r.Disable()
if IsAnythingDirty() {
log.Info("You can't apply patches when repos are dirty")
doCobol()
return
}
if !r.mergeAllUserToDevel() {
return
}