summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go15
1 files changed, 14 insertions, 1 deletions
diff --git a/main.go b/main.go
index 622ddfe..79eba12 100644
--- a/main.go
+++ b/main.go
@@ -66,8 +66,21 @@ func main() {
// do the gui at the very end
if argv.DoGui {
+ pset, err := me.forge.MakePatchSet()
+ if err != nil {
+ badExit(err)
+ }
+ all := pset.SortByFilename()
+ for all.Scan() {
+ p := all.Next()
+ log.Info("read in patch:", p.Filename)
+ }
+ err = me.forge.SendPatchSet(pset)
+ if err != nil {
+ badExit(err)
+ }
+ okExit("patches")
doGui()
- os.Exit(0)
}
if !done {
// if nothing was selected, print out a table of them on STDOUT