summaryrefslogtreecommitdiffstats
path: root/pkg/commands/loading_remotes.go
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 22:07:14 +1100
commitb5385f2560d10fe74af34d9b09c7ebbfe0a46424 (patch)
tree177ccca881d3ee8e401925f4b9be1ab265fbefaf /pkg/commands/loading_remotes.go
parent92e43d9e7776cd2e1796bf280756c6ffa7c8dbe2 (diff)
remove redundant logging
Diffstat (limited to 'pkg/commands/loading_remotes.go')
-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