summaryrefslogtreecommitdiff
path: root/windowPatches.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-05 05:48:02 -0600
committerJeff Carr <[email protected]>2025-01-05 05:48:02 -0600
commit2c7e15ccfacd065029b5de4360288d72815bc907 (patch)
tree8db1d43ed8b134092e9c4cdd526d5ac284c2079d /windowPatches.go
parent79ec3ce469623e70bb8ee29218e0bb1aaae8c39a (diff)
check to make sure everything is on the devel branch
Diffstat (limited to 'windowPatches.go')
-rw-r--r--windowPatches.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/windowPatches.go b/windowPatches.go
index 443103a..6f06637 100644
--- a/windowPatches.go
+++ b/windowPatches.go
@@ -192,6 +192,10 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
if err != nil {
return
}
+ if !IsEverythingOnDevel() {
+ log.Info("You can only apply patches to the devel branch")
+ return
+ }
if IsAnythingDirty() {
log.Info("You can't apply patches when repos are dirty")
doCobol()