summaryrefslogtreecommitdiff
path: root/find.go
diff options
context:
space:
mode:
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
}