summaryrefslogtreecommitdiff
path: root/windowPatches.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-29 21:36:39 -0600
committerJeff Carr <[email protected]>2024-12-29 21:36:39 -0600
commit45c32bc7fc00fd43b1b54d36f96671368323d238 (patch)
treee33efb99a3dc5b775b59733ea9198b6ca1d9f8d9 /windowPatches.go
parent16a6c8b11ae51c693011e7d107adb15e99d4fe54 (diff)
add git author and emailv0.22.32
Diffstat (limited to 'windowPatches.go')
-rw-r--r--windowPatches.go20
1 files changed, 5 insertions, 15 deletions
diff --git a/windowPatches.go b/windowPatches.go
index 4685561..f0e5d6d 100644
--- a/windowPatches.go
+++ b/windowPatches.go
@@ -157,21 +157,11 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
}
}
s.submitB = s.grid.NewButton("Submit", func() {
- sendDevelDiff(s.reason.String())
- /*
- dirname := "submit-patchset.quilt"
- patchdir := filepath.Join(me.userHomePwd.String(), dirname)
- if shell.Exists(patchdir) {
- log.Info("patchset dir already exists", patchdir)
- shell.PathRun(me.userHomePwd.String(), []string{"rm", "-rf", dirname})
- }
- os.MkdirAll(patchdir, os.ModeDir)
- if !shell.Exists(patchdir) {
- log.Info("something went wrong making", patchdir)
- return
- }
- me.repos.View.MakePatchset(patchdir)
- */
+ if err := sendDevelDiff(s.reason.String()); err != nil {
+ log.Info("sending patches failed", err)
+ } else {
+ log.Info("sent patch set ok")
+ }
})
s.grid.NewButton("Show Patchsets", func() {
listPatches()