summaryrefslogtreecommitdiff
path: root/find.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-12 00:10:42 -0500
committerJeff Carr <[email protected]>2025-10-12 00:10:42 -0500
commitbb87443f4319e919b83b350292eb8ca3008e58c9 (patch)
treed8ca102a8ce18005cc1344db40aeb4b75749ab43 /find.go
parent850642580bd5e4d425a66582c86c6730d328580c (diff)
okay
Diffstat (limited to 'find.go')
-rw-r--r--find.go9
1 files changed, 2 insertions, 7 deletions
diff --git a/find.go b/find.go
index 52a94c9..e036831 100644
--- a/find.go
+++ b/find.go
@@ -283,17 +283,12 @@ func cloneReposWithPatches() *gitpb.Repos {
// - repos with awaiting master branch verions
//
// return true if any are found
-func findWorkRepos() (string, error) {
+func findWorkRepos() *gitpb.Repos {
// always run dirty first
me.forge.CheckDirtyQuiet()
// if no option is given to patch, list out the
// repos that have patches ready in them
found := findReposWithPatches()
- found.SortNamespace()
- if found.Len() == 0 {
- return "you currently have no repos with patches", nil
- }
- footer := me.forge.PrintDefaultTB(found)
- return "repos with patches or unsaved changes: " + footer, nil
+ return found
}