diff options
Diffstat (limited to 'branchesBox.go')
| -rw-r--r-- | branchesBox.go | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/branchesBox.go b/branchesBox.go index f692d2e..9aa78b9 100644 --- a/branchesBox.go +++ b/branchesBox.go @@ -38,30 +38,4 @@ func (rs *RepoStatus) makeBranchesBox() { log.Log(WARN, "Branches are not perfect") } }) - newgrid.NextRow() - - newgrid.NewButton("show .git/config", func() { - if rs.gitConfig == nil { - log.Log(WARN, "Nonexistant or damaged .git/config", rs.String()) - return - } - log.Log(WARN, ".git/config:", rs.realPath.String()) - - // The info: - for name, remote := range rs.gitConfig.remotes { - log.Log(WARN, " ", name, "url:", remote.url) - } - for name, branch := range rs.gitConfig.branches { - log.Log(WARN, " ", name, "remote:", branch.remote, "merge", branch.merge) - } - }) - newgrid.NextRow() - - newgrid.NewButton("CheckDirty()", func() { - if rs.CheckDirty() { - log.Log(WARN, "is dirty") - } else { - log.Log(WARN, "is not dirty") - } - }) } |
