summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-11-16 16:28:37 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-11-21 21:15:05 +1100
commit7296a6bff49bbe52b21c8e65592b88fcebd96d35 (patch)
tree177ccca881d3ee8e401925f4b9be1ab265fbefaf
parent5aed1c0499fe9b719ca50320a8443ba5b46980fc (diff)
remove redundant logging
-rw-r--r--pkg/commands/loading_remotes.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/commands/loading_remotes.go b/pkg/commands/loading_remotes.go
index a90319f47..d9903a5da 100644
--- a/pkg/commands/loading_remotes.go
+++ b/pkg/commands/loading_remotes.go
@@ -13,7 +13,7 @@ func (c *GitCommand) GetBranchesFromDir(dirPath string) ([]*Branch, error) {
if err != nil {
// it's possible that go-git is referencing a remote we don't have locally
// in which case we'll just swallow this error
- c.Log.Error(err)
+ c.Log.Warn(err)
return nil
}
@@ -50,7 +50,6 @@ func (c *GitCommand) GetRemotes() ([]*Remote, error) {
remotes := make([]*Remote, len(goGitRemotes))
for i, goGitRemote := range goGitRemotes {
name := goGitRemote.Config().Name
- c.Log.Warn(name)
// can't seem to easily get the branches of the remotes from go-git so we'll
// traverse the directory recursively