Skip to content

Commit

Permalink
gitbase: remove warnings on symbolic references
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
  • Loading branch information
erizocosmico committed Sep 20, 2018
1 parent e080a71 commit 02ebead
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
5 changes: 0 additions & 5 deletions references.go
Expand Up @@ -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"
Expand Down Expand Up @@ -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
}

Expand Down
8 changes: 0 additions & 8 deletions squash_iterator.go
Expand Up @@ -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
}

Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 02ebead

Please sign in to comment.