diff options
| author | Jeff Carr <[email protected]> | 2024-12-11 18:50:14 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-11 18:50:14 -0600 |
| commit | 353290ecb1ba1f84e55cbcc23233055a26f7208f (patch) | |
| tree | 2869a7a3797fb1c6444e8eb8152583a00d8fe6f1 /main.go | |
| parent | aff3268ca6a7b6034dfbf9a9cf7ee01005a6a97f (diff) | |
attempt to make a patchset protobuf
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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 |
