diff options
| author | Jeff Carr <[email protected]> | 2024-12-25 23:17:24 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-25 23:17:24 -0600 |
| commit | bdaa40c51fe98ff167d2c05a0b21600c95185e67 (patch) | |
| tree | 7855cd54d052978074cff2ef933c9a7f8cd1ecb5 /main.go | |
| parent | 4ec714a678efea22b93833db4d85ac637c5c47c8 (diff) | |
try to push patchsetsv0.22.28
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 54 |
1 files changed, 26 insertions, 28 deletions
@@ -84,38 +84,36 @@ func main() { // now, do something to all of them (or just print out a table of them) var done bool = false - if argv.Do != nil { - if argv.Do.Dirty { - doCheckDirty() - okExit("") - done = true - } + if argv.Dirty { + doCheckDirty() + okExit("") + done = true + } - if argv.Do.Scan { - doScan() - done = true - } + if argv.Scan { + doScan() + done = true + } - if argv.Do.GitPull { - doGitPull() - done = true - } + if argv.GitPull { + doGitPull() + done = true + } - if argv.Do.GitReset { - doGitReset() - done = true - } + if argv.GitReset { + doGitReset() + done = true + } - if argv.Do.List { - // print out the repos - doCobol() - done = true - } - if argv.Do.PatchSet != "" { - sendDevelDiff(argv.Do.PatchSet) - // sendMasterDiff() - okExit("patches") - } + if argv.List { + // print out the repos + doCobol() + done = true + } + if argv.PatchSet != "" { + sendDevelDiff(argv.PatchSet) + // sendMasterDiff() + okExit("patches") } if argv.ListPatchSet { |
