diff options
| author | Jeff Carr <[email protected]> | 2024-11-13 18:24:58 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-13 18:24:58 -0600 |
| commit | 5fcdd19170fc1c792a4e93505bd554cca27433cc (patch) | |
| tree | 4d972a28e81bb7288244c793c52f3b221d38a8ce /hideFunction.go | |
| parent | 2007be922c7024e30a1bc718b66a72f48b7728d0 (diff) | |
rm more old code
Diffstat (limited to 'hideFunction.go')
| -rw-r--r-- | hideFunction.go | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/hideFunction.go b/hideFunction.go index fcbbacf..65d04bd 100644 --- a/hideFunction.go +++ b/hideFunction.go @@ -8,25 +8,12 @@ import ( // like tcl/tk, use ENV variables to set display preferences func hideFunction(r *repolist.RepoRow) { - /* - if r.GoPath() == "go.wit.com/dev/alexflint/arg" { - log.Info("found autoHideReleased() =", me.autoHideReleased.Checked()) - log.Info("found alexflint/arg IsReleased() =", r.Status.IsReleased()) - } - */ - // always show dirty repos if r.Status.IsDirty() { r.Show() return } - // always show repos that have not been merged ? - // if r.GoState() == "merge to devel" { - // r.Show() - // return - // } - // hide read-only repos if os.Getenv("AUTOTYPIST_READONLY") == "hide" { if r.Status.ReadOnly() { @@ -48,34 +35,8 @@ func hideFunction(r *repolist.RepoRow) { } } - /* - if me.autoHideReleased.Checked() { - if r.Status.IsReleased() { - r.Hide() - return - } - } - */ - // show everything else. often this will be "unconforming" repos // if you what those repos ignored, add these to the config file // as read-only=true r.Show() } - -/* -func showHideRepos(repo *repolist.RepoRow) { - if repo.GoPath() == "go.wit.com/dev/alexflint/arg" { - log.Info("found autoHideReleased() =", me.autoHideReleased.Checked()) - log.Info("found alexflint/arg IsReleased() =", repo.Status.IsReleased()) - } - - if me.autoHideReleased.Checked() { - if repo.Status.IsReleased() { - repo.Hide() - return - } - } - repo.Show() -} -*/ |
