summaryrefslogtreecommitdiff
path: root/defaultBehavior.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-10 08:57:09 -0500
committerJeff Carr <[email protected]>2025-10-10 08:57:09 -0500
commita5f34181c935af5a98353f34e137b9bfe562d121 (patch)
tree2513ad0591312711616473267ff1e2f27eb0cd76 /defaultBehavior.go
parent85d29ad6835b83f5bd52eb6be316569aeefae71b (diff)
debug default behavior
Diffstat (limited to 'defaultBehavior.go')
-rw-r--r--defaultBehavior.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/defaultBehavior.go b/defaultBehavior.go
index b42ca34..c9bbeeb 100644
--- a/defaultBehavior.go
+++ b/defaultBehavior.go
@@ -17,11 +17,13 @@ func defaultBehaviorMaster() error {
// if no option is given to patch, list out the
// repos that have patches ready in them
- found := findReposWithPatches()
+ found := cloneReposWithPatches()
if found.Len() == 0 {
log.Info("you currently have no repos with patches")
return nil
}
+ footer := found.PrintDefaultTB()
+ log.Info("default master table", footer)
// warn about dirty repos not in master branches
for repo := range found.IterAll() {
if repo.CheckDirty() {
@@ -32,8 +34,6 @@ func defaultBehaviorMaster() error {
// return log.Errorf("%s repo is dirty", repo.FullPath)
}
}
- footer := me.forge.PrintDefaultTB(found)
- log.Info("default master table", footer)
if reallybad {
return errors.New("\nYOU ARE MAKING EDITS ON NON USER BRANCHES\n")
}