From b95b8bf55b6598d27a143e43d2353737e5bbc1b1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 10 Oct 2025 05:50:11 -0500 Subject: an edge case to handle when you are on a branch that doesn't exist --- doShow.go | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'doShow.go') diff --git a/doShow.go b/doShow.go index f114033..0b53cb3 100644 --- a/doShow.go +++ b/doShow.go @@ -3,8 +3,6 @@ package main -import "go.wit.com/log" - // An app to submit patches for the 30 GO GUI repos func doShow() (string, error) { @@ -15,23 +13,6 @@ func doShow() (string, error) { return s, err } - if argv.Show.Porcelain != nil { - s, err := getPorcelain() - for repo := range me.forge.Repos.IterByFullPath() { - curbranch := repo.GetCurrentBranchName() - if repo.IsLocalBranch(curbranch) { - continue - } - if repo.IsRemoteBranch(curbranch) { - continue - } - log.Info("curbranch is doesn't exist. this'll cause all sorts of problems", curbranch, repo.FullPath) - repo.CheckoutForce() - } - me.forge.Repos.Save() - return s, err - } - if argv.Show.Tag != nil { doTag() return "tags shown", nil -- cgit v1.2.3