summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-10 04:15:02 -0500
committerJeff Carr <[email protected]>2025-10-10 04:15:02 -0500
commit0cfcc140f9d272c1b5eb620e05eaa4362909e8db (patch)
treedce9affe4580bfee1aefedf9a390b8dbffaa119c /main.go
parent0996047c5e8757c5fd034b1aa07156dd6471c292 (diff)
make a file for these
Diffstat (limited to 'main.go')
-rw-r--r--main.go35
1 files changed, 0 insertions, 35 deletions
diff --git a/main.go b/main.go
index cb2423a..9541b95 100644
--- a/main.go
+++ b/main.go
@@ -186,38 +186,3 @@ func doDefaultBehavior() (string, error) {
footer := me.forge.PrintDefaultTB(found)
return footer, nil
}
-
-func doShow() (string, error) {
- if argv.Show.Dirty != nil {
- // s, err := doDirty()
- _, s, err := getDirty()
- me.forge.Repos.Save()
- return s, err
- }
-
- if argv.Show.Porcelain != nil {
- s, err := getPorcelain()
- me.forge.Repos.Save()
- return s, err
- }
-
- if argv.Show.Tag != nil {
- doTag()
- return "tags shown", nil
- }
-
- found := findRepos()
- if showUrls() {
- found.SortNamespace()
- footer := me.forge.PrintForgedTable(found)
- return "repos with patches or unsaved changes: " + footer, nil
- }
- var footer string
- // print out the repos
- if argv.All {
- footer = me.forge.PrintHumanTableFull(found)
- } else {
- footer = me.forge.PrintDefaultTB(found)
- }
- return footer, nil
-}