From 02ebeadd866266ec72e093025e7801a3c268590f Mon Sep 17 00:00:00 2001 From: Miguel Molina Date: Thu, 20 Sep 2018 15:49:08 +0200 Subject: [PATCH] gitbase: remove warnings on symbolic references Signed-off-by: Miguel Molina --- references.go | 5 ----- squash_iterator.go | 8 -------- 2 files changed, 13 deletions(-) diff --git a/references.go b/references.go index 20a15702a..a0c86f7bd 100644 --- a/references.go +++ b/references.go @@ -6,7 +6,6 @@ import ( "io" "strings" - "github.com/sirupsen/logrus" "gopkg.in/src-d/go-mysql-server.v0/sql" "gopkg.in/src-d/go-git.v4/plumbing" @@ -294,10 +293,6 @@ func (i *refRowIter) next() (sql.Row, error) { } if o.Type() != plumbing.HashReference { - logrus.WithFields(logrus.Fields{ - "type": o.Type(), - "ref": o.Name(), - }).Debug("ignoring reference, it's not a hash reference") continue } diff --git a/squash_iterator.go b/squash_iterator.go index ff24c138b..32d7b2900 100644 --- a/squash_iterator.go +++ b/squash_iterator.go @@ -475,10 +475,6 @@ func (i *squashRefIter) Advance() error { } if ref.Type() != plumbing.HashReference { - logrus.WithFields(logrus.Fields{ - "type": ref.Type(), - "ref": ref.Name(), - }).Debug("ignoring reference, it's not a hash reference") continue } @@ -864,10 +860,6 @@ func (i *squashRemoteRefsIter) Advance() error { } if ref.Type() != plumbing.HashReference { - logrus.WithFields(logrus.Fields{ - "type": ref.Type(), - "ref": ref.Name(), - }).Debug("ignoring reference, it's not a hash reference") continue }