summaryrefslogtreecommitdiff
path: root/submitPatches.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-23 19:29:43 -0600
committerJeff Carr <[email protected]>2024-02-23 19:29:43 -0600
commit8af6410978900b92341f341db26bb80895cbe15b (patch)
treee925f7a5bf4213f2ebe4ebe55b1235fff004d517 /submitPatches.go
parent5f5f23643a127825d67946963313ee5301ee6505 (diff)
stub in a button for this
Diffstat (limited to 'submitPatches.go')
-rw-r--r--submitPatches.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/submitPatches.go b/submitPatches.go
index 5eeda72..9092efc 100644
--- a/submitPatches.go
+++ b/submitPatches.go
@@ -149,7 +149,7 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
s.submitB.Disable()
}
}
- s.submitB = s.grid.NewButton("Submit Patches", func() {
+ s.submitB = s.grid.NewButton("Create Patch Set", func() {
dirname := "submit-patchset.quilt"
patchdir := filepath.Join(me.userHomePwd.String(), dirname)
if shell.Exists(patchdir) {
@@ -163,6 +163,9 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
}
me.repos.View.MakePatchset(patchdir)
})
+ s.submitB = s.grid.NewButton("Submit quilt", func() {
+ log.Info("do a submit here")
+ })
// disable these until there are not dirty repos
s.reason.Disable()
s.submitB.Disable()