diff options
| author | Jeff Carr <[email protected]> | 2025-09-04 18:32:01 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-04 18:32:01 -0500 |
| commit | 78e883a1066904b89658cd48cba4facb8dd18eac (patch) | |
| tree | bb96848018e90204cda3f87fa5803843158fca03 /doPatch.go | |
| parent | 19ce7eef563c3b72e0bf3947bb130e5e96b0ebbd (diff) | |
more work on patches
Diffstat (limited to 'doPatch.go')
| -rw-r--r-- | doPatch.go | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -56,18 +56,27 @@ func doPatch() error { return nil } + if argv.Patch.Repos != nil { + dumpDirtyRepos() + } + + // if nothing, show patches & dirty repos + me.forge.Patchsets.PrintTable() + dumpDirtyRepos() + return nil +} + +func dumpDirtyRepos() { // always run dirty first - me.forge.CheckDirty() + me.forge.CheckDirtyQuiet() // if no option is given to patch, list out the // repos that have patches ready in them found := findReposWithPatches() if found.Len() == 0 { - log.Info("you currently have no patches in your user branches") - return nil + log.Info("you currently have no repos with patches") } me.forge.PrintHumanTable(found) - return nil } // returns bad if patches can not be applied |
